public final class DatastreamParser extends Parser
parsingOffset, stream
Constructor and Description |
---|
DatastreamParser(Parser parentParser,
RandomAccessInputStream stream) |
Modifier and Type | Method and Description |
---|---|
private void |
checkGDISignaturePresence() |
void |
close() |
void |
parse() |
private void |
parseImageHeader() |
private void |
parsePrimaryImagePlaneHeader() |
private void |
verifyImageHeaderConformance() |
private void |
verifyPrimaryImagePlaneHeaderConformance() |
getParentParser, parse
private int reservedB
private boolean hardTilingFlag
private boolean tilingFlag
private boolean frequencyModeCodestreamFlag
private int spatialXfrmSubordinate
private boolean indexTablePresentFlag
private int overlapMode
private boolean shortHeaderFlag
private boolean longWordFlag
private boolean windowingFlag
private boolean trimFlexbitsFlag
private int reservedD
private boolean redBlueNotSwappedFlag
private boolean premultipliedAlphaFlag
private boolean alphaImagePlaneFlag
private OutputColorFormat outputClrFmt
private BitDepth outputBitdepth
private int widthMinus1
private int heightMinus1
private int numVerTilesMinus1
private int numHorTilesMinus1
private short[] tileWidthInMB
private short[] tileHeightInMB
private int topMargin
private int leftMargin
private int bottomMargin
private int rightMargin
private InternalColorFormat internalClrFmt
private boolean scaledFlag
private FrequencyBand bandsPresent
private int chromaCenteringX
private int chromaCenteringY
private int numComponentsMinus1
private int numComponentsExtendedMinus16
private int numComponents
private int shiftBits
private int lenMantissa
private int expBias
private boolean lpImagePlaneUniformFlag
private boolean hpImagePlaneUniformFlag
public DatastreamParser(Parser parentParser, RandomAccessInputStream stream) throws JXRException
JXRException
public void parse() throws JXRException
parse
in class Parser
JXRException
private void checkGDISignaturePresence() throws IOException, JXRException
IOException
JXRException
private void parseImageHeader() throws IOException
IOException
private void verifyImageHeaderConformance() throws JXRException
JXRException
private void parsePrimaryImagePlaneHeader() throws IOException
IOException
private void verifyPrimaryImagePlaneHeaderConformance() throws JXRException
JXRException
public void close() throws IOException
close
in class Parser
IOException
Copyright © 2015 Open Microscopy Environment