Interface IImageGenerationAlgorithm
-
- All Known Implementing Classes:
EmptyImageCreationAlgorithm
,MaximumIntensityProjectionGenerationAlgorithm
public interface IImageGenerationAlgorithm
Algorithm for creating a representative thumbnails.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.awt.image.BufferedImage>
generateImages(ImageDataSetInformation information, java.util.List<IDataSet> thumbnailDatasets, ch.systemsx.cisd.openbis.dss.etl.IImageProvider imageProvider)
Creates thumbnails for the specified data set info.java.lang.String
getDataSetTypeCode()
Returns the code of the data set to be registered containing these representative thumbnails.java.lang.String
getImageFileName(int index)
Returns the thumbnail file name for the specified index.void
setContent(IHierarchicalContent content)
Sets content which is the source of images.
-
-
-
Method Detail
-
generateImages
java.util.List<java.awt.image.BufferedImage> generateImages(ImageDataSetInformation information, java.util.List<IDataSet> thumbnailDatasets, ch.systemsx.cisd.openbis.dss.etl.IImageProvider imageProvider)
Creates thumbnails for the specified data set info.
-
getDataSetTypeCode
java.lang.String getDataSetTypeCode()
Returns the code of the data set to be registered containing these representative thumbnails.
-
getImageFileName
java.lang.String getImageFileName(int index)
Returns the thumbnail file name for the specified index. The index specifies the corresponding image returned bygenerateImages(ImageDataSetInformation, List, IImageProvider)
. Note, all file names generated by this method have to be different.
-
setContent
void setContent(IHierarchicalContent content)
Sets content which is the source of images. If this isn't setImageDataSetInformation.getIncomingDirectory()
is used.
-
-