| Modifier and Type | Field and Description |
|---|---|
| protected int[] | |
| protected ByteBuffer | |
| protected int | |
| protected int | |
| protected int | |
| protected int | |
| protected int | |
| protected double | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | RoughScaler(int
The source image width sourceWidth, int The source image height sourceHeight, int The number of components per pixel in the images numBands, int The destination image width destWidth, int The destination image height destHeight)Instantiates a new |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | Returns: The destination buffer.Implements com. Retrieves the destination buffer. |
| public boolean | Returns: Whether the destination image is complete.One scanline of source data. scanline, int The offset into the buffer. off)Implements com. Push one scanline of source pixels into the scaling engine. |
| colPositions | back to summary |
|---|---|
| protected int[] colPositions | |
| destBuf | back to summary |
|---|---|
| protected ByteBuffer destBuf | |
| destHeight | back to summary |
|---|---|
| protected int destHeight | |
| destLine | back to summary |
|---|---|
| protected int destLine | |
| destWidth | back to summary |
|---|---|
| protected int destWidth | |
| nextSourceLine | back to summary |
|---|---|
| protected int nextSourceLine | |
| numBands | back to summary |
|---|---|
| protected int numBands | |
| scaleY | back to summary |
|---|---|
| protected double scaleY | |
| sourceLine | back to summary |
|---|---|
| protected int sourceLine | |
| RoughScaler | back to summary |
|---|---|
| public RoughScaler(int sourceWidth, int sourceHeight, int numBands, int destWidth, int destHeight) Instantiates a new
| |
| getDestination | back to summary |
|---|---|
| public ByteBuffer getDestination() Implements com. Retrieves the destination buffer.
| |
| putSourceScanline | back to summary |
|---|---|
| public boolean putSourceScanline(byte[] scanline, int off) Implements com. Push one scanline of source pixels into the scaling engine. A nearest neighbor interpolation algorithm is used.
| |