ImageLine, and you can access each row as
a ImageLine backed by the matrix row, see
getImageLineAtMatrixRow(int)
| Modifier and Type | Field and Description |
|---|---|
| public final int | |
| public final int | |
| public final int | |
| public final ImageInfo | |
| public final int | |
| public final int | |
| public final int | |
| public final boolean | |
| public final ImageLine. | |
| public final int[][] | |
| public final byte[][] |
| Access | Constructor and Description |
|---|---|
| public | ImageLines(final ImageInfo imgInfo, final ImageLine.
Allocates a matrix to store |
| Modifier and Type | Method and Description |
|---|---|
| public ImageLine | Returns: A new ImageLine, backed by the matrix, with the correct ('real') rownumberMatrix row, from 0 to nRows This is not necessarily the image
row, see mrow)imageRowToMatrixRow(int) and
matrixRowToImageRow(int)Returns a ImageLine is backed by the matrix, no allocation done |
| public int | imageRowToMatrixRow(final int imrow)
Warning this always returns a valid matrix row (clamping on 0 : nrows-1, and rounding down) Eg: rowOffset=4,rowStep=2 imageRowToMatrixRow(17) returns 6 , imageRowToMatrixRow(1) returns 0 |
| public int | |
| public int | Returns: Image row number. Invalid only if mrow is invalidMatrix row number mrow)Converts from matrix row number (0 : nRows-1) to image row number |
| bitDepth | back to summary |
|---|---|
| public final int bitDepth | |
| channels | back to summary |
|---|---|
| public final int channels | |
| elementsPerRow | back to summary |
|---|---|
| public final int elementsPerRow | |
| imgInfo | back to summary |
|---|---|
| public final ImageInfo imgInfo | |
| nRows | back to summary |
|---|---|
| public final int nRows | |
| rowOffset | back to summary |
|---|---|
| public final int rowOffset | |
| rowStep | back to summary |
|---|---|
| public final int rowStep | |
| samplesUnpacked | back to summary |
|---|---|
| public final boolean samplesUnpacked | |
| sampleType | back to summary |
|---|---|
| public final ImageLine. | |
| scanlines | back to summary |
|---|---|
| public final int[][] scanlines | |
| scanlinesb | back to summary |
|---|---|
| public final byte[][] scanlinesb | |
| ImageLines | back to summary |
|---|---|
| public ImageLines(final ImageInfo imgInfo, final ImageLine. Allocates a matrix to store | |
| getImageLineAtMatrixRow | back to summary |
|---|---|
| public ImageLine getImageLineAtMatrixRow(final int mrow) Returns a ImageLine is backed by the matrix, no allocation done
| |
| imageRowToMatrixRow | back to summary |
|---|---|
| public int imageRowToMatrixRow(final int imrow) Warning this always returns a valid matrix row (clamping on 0 : nrows-1, and rounding down) Eg: rowOffset=4,rowStep=2 imageRowToMatrixRow(17) returns 6 , imageRowToMatrixRow(1) returns 0 | |
| imageRowToMatrixRowStrict | back to summary |
|---|---|
| public int imageRowToMatrixRowStrict(int imrow) Same as imageRowToMatrixRow, but returns negative if invalid | |
| matrixRowToImageRow | back to summary |
|---|---|
| public int matrixRowToImageRow(final int mrow) Converts from matrix row number (0 : nRows-1) to image row number
| |