| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long | dataHeaderOffset
Segment data structure (only necessary if MMR is used) |
| private long | |
| private long | |
| private short[] | |
| private short[] | |
| private int | grayMax
Largest gray-scale value, 7.4.4.1.4 Value: one less than the number of patterns defined in this pattern dictionary |
| private short | hdpHeight
Height of the patterns in the pattern dictionary, 7.4.4.1.3 |
| private short | hdpWidth
Width of the patterns in the pattern dictionary, 7.4.4.1.2 |
| private byte | |
| private boolean | isMMREncoded
Pattern dictionary flags, 7.4.4.1.1 |
| private ArrayList | patterns
Decoded bitmaps, stored to be used by segments, that refer to it |
| private SubInputStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public ArrayList | Returns: An array ofBitmaps as result of the decoding procedure.Implements org. This method decodes a pattern dictionary segment and returns an array of |
| protected int | |
| protected short | |
| protected short | |
| protected byte | |
| public void | init(SegmentHeader
- The segments' header (to make referred-to segments available in data part). header, SubInputStream - Wrapped sis)ImageInputStream into SubInputStream.Implements org. Parse the stream and read information of header. |
| protected boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| dataHeaderLength | back to summary |
|---|---|
| private long dataHeaderLength | |
| dataHeaderOffset | back to summary |
|---|---|
| private long dataHeaderOffset Segment data structure (only necessary if MMR is used) | |
| dataLength | back to summary |
|---|---|
| private long dataLength | |
| dataOffset | back to summary |
|---|---|
| private long dataOffset | |
| gbAtX | back to summary |
|---|---|
| private short[] gbAtX | |
| gbAtY | back to summary |
|---|---|
| private short[] gbAtY | |
| grayMax | back to summary |
|---|---|
| private int grayMax Largest gray-scale value, 7.4.4.1.4 Value: one less than the number of patterns defined in this pattern dictionary | |
| hdpHeight | back to summary |
|---|---|
| private short hdpHeight Height of the patterns in the pattern dictionary, 7.4.4.1.3 | |
| hdpWidth | back to summary |
|---|---|
| private short hdpWidth Width of the patterns in the pattern dictionary, 7.4.4.1.2 | |
| hdTemplate | back to summary |
|---|---|
| private byte hdTemplate | |
| isMMREncoded | back to summary |
|---|---|
| private boolean isMMREncoded Pattern dictionary flags, 7.4.4.1.1 | |
| patterns | back to summary |
|---|---|
| private ArrayList<Bitmap> patterns Decoded bitmaps, stored to be used by segments, that refer to it | |
| subInputStream | back to summary |
|---|---|
| private SubInputStream subInputStream | |
| PatternDictionary | back to summary |
|---|---|
| public PatternDictionary() | |
| checkInput | back to summary |
|---|---|
| private void checkInput() throws InvalidHeaderValueException | |
| computeSegmentDataStructure | back to summary |
|---|---|
| private void computeSegmentDataStructure() throws IOException | |
| extractPatterns | back to summary |
|---|---|
| private void extractPatterns(Bitmap collectiveBitmap) | |
| getDictionary | back to summary |
|---|---|
| public ArrayList Implements org. This method decodes a pattern dictionary segment and returns an array of
| |
| getGrayMax | back to summary |
|---|---|
| protected int getGrayMax() | |
| getHdpHeight | back to summary |
|---|---|
| protected short getHdpHeight() | |
| getHdpWidth | back to summary |
|---|---|
| protected short getHdpWidth() | |
| getHdTemplate | back to summary |
|---|---|
| protected byte getHdTemplate() | |
| init | back to summary |
|---|---|
| public void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IOException Implements org. Doc from org. Parse the stream and read information of header.
| |
| isMMREncoded | back to summary |
|---|---|
| protected boolean isMMREncoded() | |
| parseHeader | back to summary |
|---|---|
| private void parseHeader() throws IOException, InvalidHeaderValueException | |
| readGrayMax | back to summary |
|---|---|
| private void readGrayMax() throws IOException | |
| readIsMMREncoded | back to summary |
|---|---|
| private void readIsMMREncoded() throws IOException | |
| readPatternWidthAndHeight | back to summary |
|---|---|
| private void readPatternWidthAndHeight() throws IOException | |
| readTemplate | back to summary |
|---|---|
| private void readTemplate() throws IOException | |
| setGbAtPixels | back to summary |
|---|---|
| private void setGbAtPixels() | |