@JsonObject(value="ImageDatasetMetadata")
public class ImageDatasetMetadata
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ImageDatasetMetadata(IImageDatasetIdentifier dataset,
java.util.List<ImageChannel> channels,
int tilesRows,
int tilesCols,
int width,
int height,
int thumbnailWidth,
int thumbnailHeight) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getChannelCodes()
Returns channel codes.
|
java.util.List<java.lang.String> |
getChannelLabels()
Deprecated.
use
getChannels() instead. |
java.util.List<java.lang.String> |
getChannelNames()
Deprecated.
use
getChannels() instead. |
java.util.List<ImageChannel> |
getChannels()
Returns the list of channels for this dataset.
|
int |
getHeight()
Height of the images in this dataset.
|
IImageDatasetIdentifier |
getImageDataset()
Identifier of this image dataset.
|
int |
getNumberOfChannels()
Number of channels (wavelengths) in which images have been acquired for this dataset.
|
int |
getNumberOfTiles()
Number of image tiles (or "fields") available for each well.
|
int |
getThumbnailHeight()
The height of the thumbnail images, or 0 if no thumbnails are available for this data set.
|
int |
getThumbnailWidth()
The width of the thumbnail images, or 0 if no thumbnails are available for this data set.
|
int |
getTilesCols()
Number of columns of image tiles (or "fields") available for each well.
|
int |
getTilesRows()
Number of rows of image tiles (or "fields") available for each well.
|
int |
getWidth()
Width of the images in this dataset.
|
boolean |
hasThumbnails()
true , if this data set has thumbnails, false otherwise. |
java.lang.String |
toString() |
public ImageDatasetMetadata(IImageDatasetIdentifier dataset, java.util.List<ImageChannel> channels, int tilesRows, int tilesCols, int width, int height, int thumbnailWidth, int thumbnailHeight)
public IImageDatasetIdentifier getImageDataset()
public int getNumberOfChannels()
public java.util.List<ImageChannel> getChannels()
@Deprecated public java.util.List<java.lang.String> getChannelNames()
getChannels()
instead.public java.util.List<java.lang.String> getChannelCodes()
Note: If channel codes are unspecified channel names are returned. This will be the case if a serialized instance of a previous of this class will be deserialized.
@Deprecated public java.util.List<java.lang.String> getChannelLabels()
getChannels()
instead.Note: If channel labels are unspecified channel names are returned. This will be the case if a serialized instance of a previous of this class will be deserialized.
public int getTilesRows()
Note: Will be 0 if the server does not support API version 1.6
public int getTilesCols()
Note: Will be 0 if the server does not support API version 1.6
public int getNumberOfTiles()
public int getWidth()
public int getHeight()
public int getThumbnailWidth()
public int getThumbnailHeight()
public boolean hasThumbnails()
true
, if this data set has thumbnails, false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object