public interface Metadata
This class uses a Builder pattern. Please see https://micro-manager.org/wiki/Using_Builders for more information.
Modifier and Type | Interface and Description |
---|---|
static interface |
Metadata.Builder
Builder for Metadata.
|
static interface |
Metadata.MetadataBuilder
Deprecated.
Use
Metadata.Builder instead |
Modifier and Type | Method and Description |
---|---|
Metadata.MetadataBuilder |
copy()
Deprecated.
Use the appropriate of the following:
copyBuilderPreservingUUID() , copyBuilderWithNewUUID() ,
copyBuilderRemovingUUID() . This method is equivalent to
copyBuilderPreservingUUID . |
Metadata.Builder |
copyBuilderPreservingUUID()
Return a builder with the same content, preserving the image UUID.
|
Metadata.Builder |
copyBuilderRemovingUUID()
Return a builder with the same content but removing the image UUID.
|
Metadata.Builder |
copyBuilderWithNewUUID()
Return a builder with the same content, assigning a new image UUID.
|
java.lang.Integer |
getBinning()
The binning mode of the camera for this image.
|
java.lang.Integer |
getBitDepth()
The number of bits used to represent each pixel (e.g.
|
java.lang.String |
getCamera()
The name of the camera for this image.
|
java.lang.Double |
getElapsedTimeMs()
Deprecated.
- use Double
getElapsedTimeMs(double) instead |
double |
getElapsedTimeMs(double defaultValue)
Time in milliseconds since the start of the given data acquisition
at which the image was received by Micro-Manager.
|
java.lang.Double |
getExposureMs()
How long of an exposure was used to collect this image.
|
java.lang.String |
getFileName()
The name of the file from which the image was loaded, if applicable.
|
java.lang.Long |
getImageNumber()
The sequence number of this image, for sequence acquisitions.
|
java.lang.Double |
getPixelAspect()
The aspect ratio of the pixels in this image, as a Y/X ratio (e.g.
|
java.awt.geom.AffineTransform |
getPixelSizeAffine()
Geometric relation between stage movement (in microns) and pixels.
|
java.lang.Double |
getPixelSizeUm()
How much of the sample, in microns, a single pixel of the camera sees.
|
java.lang.String |
getPositionName()
Deprecated.
Use
getPositionName(java.lang.String) instead |
java.lang.String |
getPositionName(java.lang.String defaultPosName)
Any name attached to the stage position at which this image was
acquired.
|
java.lang.String |
getReceivedTime()
The time at which the Java layer of Micro-Manager receives the image from
the Core, expressed as a date-time string.
|
java.awt.Rectangle |
getROI()
The ROI of the camera when acquiring this image.
|
PropertyMap |
getScopeData()
Any information provided by Micro-Manager or its device adapters that
is relevant to this image.
|
PropertyMap |
getUserData()
Arbitrary additional metadata added by third-party code.
|
java.util.UUID |
getUUID()
A unique identifier for this specific image.
|
java.lang.Double |
getXPositionUm()
The X stage position of the sample for this image.
|
java.lang.Double |
getYPositionUm()
The Y stage position of the sample for this image.
|
java.lang.Double |
getZPositionUm()
The Z stage position of the sample for this image.
|
boolean |
hasElapsedTimeMs()
Whether or not this image has metadata indicating the time elapsed
since the start of the acquisition.
|
boolean |
hasPositionName() |
Metadata.Builder copyBuilderPreservingUUID()
Metadata.Builder copyBuilderWithNewUUID()
Metadata.Builder copyBuilderRemovingUUID()
@Deprecated Metadata.MetadataBuilder copy()
copyBuilderPreservingUUID()
, copyBuilderWithNewUUID()
,
copyBuilderRemovingUUID()
. This method is equivalent to
copyBuilderPreservingUUID
.boolean hasElapsedTimeMs()
@Deprecated java.lang.Double getElapsedTimeMs()
getElapsedTimeMs(double)
insteaddouble getElapsedTimeMs(double defaultValue)
defaultValue
- - value returned of the image metadata did not contain
information about the elapsed timejava.lang.Double getExposureMs()
java.lang.Double getPixelAspect()
java.lang.Double getPixelSizeUm()
java.awt.geom.AffineTransform getPixelSizeAffine()
java.lang.Double getXPositionUm()
java.lang.Double getYPositionUm()
java.lang.Double getZPositionUm()
java.lang.Integer getBinning()
java.lang.Integer getBitDepth()
java.lang.Long getImageNumber()
PropertyMap getScopeData()
PropertyMap getUserData()
java.awt.Rectangle getROI()
java.lang.String getCamera()
@Deprecated java.lang.String getPositionName()
getPositionName(java.lang.String)
insteadjava.lang.String getPositionName(java.lang.String defaultPosName)
defaultPosName
- Will be returned if no name is provided by the metadataboolean hasPositionName()
java.lang.String getReceivedTime()
java.util.UUID getUUID()
java.lang.String getFileName()