Package loci.formats.in
Class MetamorphHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
loci.common.xml.BaseHandler
loci.formats.in.MetamorphHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class MetamorphHandler
extends loci.common.xml.BaseHandler
MetamorphTiffReader is the file format reader for TIFF files produced by
Metamorph software version 7.5 and above.
- Author:
- Melissa Linkert melissa at glencoesoftware.com, Thomas Caswell tcaswell at uchicago.edu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate booleanprivate Doubleprivate Stringprivate doubleprivate doubleprivate static final org.slf4j.Loggerprivate Hashtableprivate doubleprivate doubleprivate ome.units.quantity.Lengthprivate ome.units.quantity.Lengthprivate doubleprivate Stringprivate doubleprivate double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidCheck if the value needs to be saved.getDate()getGain()doubledoubledoubledoubledoubleome.units.quantity.Lengthome.units.quantity.LengthdoubledoublegetZoom()booleanprivate DoubleRemove '+' before parsing doubles.voidstartElement(String uri, String localName, String qName, Attributes attributes) Methods inherited from class loci.common.xml.BaseHandler
resolveEntityMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
metadata
-
timestamps
-
imageName
-
date
-
wavelengths
-
zPositions
-
pixelSizeX
private double pixelSizeX -
pixelSizeY
private double pixelSizeY -
temperature
private double temperature -
lensNA
private double lensNA -
lensRI
private double lensRI -
binning
-
readOutRate
private double readOutRate -
zoom
private double zoom -
positionX
private ome.units.quantity.Length positionX -
positionY
private ome.units.quantity.Length positionY -
exposures
-
channelName
-
channelNames
-
stageLabel
-
gain
-
dualCamera
private boolean dualCamera
-
-
Constructor Details
-
MetamorphHandler
public MetamorphHandler() -
MetamorphHandler
-
-
Method Details
-
getGain
-
getChannelName
-
getChannelNames
-
getStageLabel
-
getTimestamps
-
getWavelengths
-
getZPositions
-
getDate
-
getImageName
-
getPixelSizeX
public double getPixelSizeX() -
getPixelSizeY
public double getPixelSizeY() -
getTemperature
public double getTemperature() -
getBinning
-
getReadOutRate
public double getReadOutRate() -
getZoom
public double getZoom() -
getStagePositionX
public ome.units.quantity.Length getStagePositionX() -
getStagePositionY
public ome.units.quantity.Length getStagePositionY() -
getLensNA
public double getLensNA() -
getLensRI
public double getLensRI() -
getExposures
-
hasDualCamera
public boolean hasDualCamera() -
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
checkKey
Check if the value needs to be saved. -
parseDouble
Remove '+' before parsing doubles. Scientific notation values may be stored as -1e+006 or similar.
-