public class PrairieMetadata.Frame extends Object
<Frame>
, beneath a <Sequence>
.Constructor and Description |
---|
PrairieMetadata.Frame(Element frameElement)
Creates a new frame by parsing the given
<Frame> element. |
Modifier and Type | Method and Description |
---|---|
double |
getAbsoluteTime()
Gets the
absoluteTime associated with this Frame . |
PrairieMetadata.PFile |
getFile(int channel)
Gets the
File with the given channel . |
PrairieMetadata.PFile |
getFirstFile()
Gets the first
File of the Sequence . |
Double |
getGain(int c)
Gets the
c th gain for this Frame . |
String |
getImagingDevice()
Gets the imaging device associated with this
Frame . |
String |
getImmersion()
Extracts the immersion from the objective lens string.
|
int |
getIndex()
Gets the
index associated with this Frame . |
Integer |
getLinesPerFrame()
Gets the lines per frame for this
Frame . |
Integer |
getMagnification()
Extracts the magnification from the objective lens string.
|
Double |
getMicronsPerPixelX()
Gets the microns per pixel along X for this
Frame . |
Double |
getMicronsPerPixelY()
Gets the microns per pixel along Y for this
Frame . |
String |
getObjectiveLens()
Gets the objective lens string for this
Frame . |
Double |
getObjectiveLensNA()
Gets the numerical aperture of the lens for this
Frame . |
String |
getObjectiveManufacturer()
Extracts the objective manufacturer from the objective lens string.
|
Double |
getOffset(int c)
Gets the
c th offset for this Frame . |
Double |
getOpticalZoom()
Gets the optical zoom associatetd with this
Frame . |
Integer |
getPixelsPerLine()
Gets the pixels per line for this
Frame . |
Double |
getPositionX()
Gets the X stage position associated with this
Frame . |
Double |
getPositionY()
Gets the Y stage position associated with this
Frame . |
Double |
getPositionZ()
Gets the Z stage position associated with this
Frame . |
double |
getRelativeTime()
Gets the
relativeTime associated with this Frame . |
String |
getValue(String key)
Gets the
value of the given Key , beneath this
Frame . |
Map<String,String> |
getValues()
Gets a read-only map of
Frame key/value pairs. |
void |
parse(Element frameElement)
Parses metadata from the given
Frame element. |
public PrairieMetadata.Frame(Element frameElement)
<Frame>
element.public void parse(Element frameElement)
Frame
element.public double getRelativeTime()
relativeTime
associated with this Frame
.public double getAbsoluteTime()
absoluteTime
associated with this Frame
.public int getIndex()
index
associated with this Frame
.public PrairieMetadata.PFile getFirstFile()
File
of the Sequence
.public PrairieMetadata.PFile getFile(int channel)
File
with the given channel
.public String getObjectiveLens()
Frame
.public String getObjectiveManufacturer()
public Integer getMagnification()
public String getImmersion()
public Double getObjectiveLensNA()
Frame
.public Integer getPixelsPerLine()
Frame
.public Integer getLinesPerFrame()
Frame
.public Double getPositionX()
Frame
.public Double getPositionY()
Frame
.public Double getPositionZ()
Frame
.public Double getOpticalZoom()
Frame
.public Double getMicronsPerPixelX()
Frame
.public Double getMicronsPerPixelY()
Frame
.public Double getOffset(int c)
c
th offset for this Frame
.c
- The 0-based(!) channel index for which to obtain the offset.public Double getGain(int c)
c
th gain for this Frame
.c
- The 0-based(!) channel index for which to obtain the gain.public String getImagingDevice()
Frame
.Copyright © 2014 Open Microscopy Environment