Package adams.data.io.input
Interface ImageSegmentationAnnotationReader
-
- All Superinterfaces:
Destroyable
,FileFormatHandler
,OptionHandler
- All Known Subinterfaces:
ImageSegmentationAnnotationReaderWithLayerNames
- All Known Implementing Classes:
AbstractCustomPNGAnnotationImageSegmentationReader
,AbstractImageSegmentationAnnotationReader
,AbstractPNGAnnotationImageSegmentationReader
,BlueChannelImageSegmentationReader
,GrayscaleImageSegmentationReader
,IndexedPNGImageSegmentationReader
,IndividualImageSegmentationLayerReader
public interface ImageSegmentationAnnotationReader extends OptionHandler, FileFormatHandler
Interface for readers for image segmentation annotations.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageSegmentationAnnotationWriter
getCorrespondingWriter()
Returns, if available, the corresponding writer.ImageSegmentationContainer
read(PlaceholderFile file)
Reads the image segmentation annotations.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.io.FileFormatHandler
getDefaultFormatExtension, getFormatDescription, getFormatExtensions
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
getCorrespondingWriter
ImageSegmentationAnnotationWriter getCorrespondingWriter()
Returns, if available, the corresponding writer.- Returns:
- the writer, null if none available
-
read
ImageSegmentationContainer read(PlaceholderFile file)
Reads the image segmentation annotations.- Parameters:
file
- the file to read from- Returns:
- the annotations
-
-