seriesCount | R Documentation |
Get the number of image series contained in an object.
seriesCount(x)
## S4 method for signature 'ANY'
seriesCount(x)
## S4 method for signature 'matrix'
seriesCount(x)
## S4 method for signature 'array'
seriesCount(x)
## S4 method for signature 'ImageMetadata'
seriesCount(x)
## S4 method for signature 'AnnotatedImageList'
seriesCount(x)
## S4 method for signature 'ImageMetadataList'
seriesCount(x)
x |
an images object. |
Image series are encoded by AnnotatedImageList or ImageMetadataList objects. Therefore, only these objects can possibly yield image series count higher than 1 while for all the rest of image objects this number is expected to be 1.
The number of image series the object contains, see Details.
Andrzej OleÅ› <andrzej.oles@gmail.com>, 2014-2023
f = mockFile(sizeX = 256, sizeY = 256, series = 2)
img = read.image(f)
seriesCount(img)
meta <- metadata(img)
seriesCount(meta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.