public class PackedPixelImage extends AbstractDigitalImage
bands, height, width
Constructor and Description |
---|
PackedPixelImage(int width,
int height,
int bands) |
Modifier and Type | Method and Description |
---|---|
int[] |
getPixel(int col,
int row) |
int |
getSample(int col,
int row,
int band) |
static void |
main(java.lang.String[] args) |
void |
setPixel(int col,
int row,
int[] pixel) |
void |
setSample(int col,
int row,
int band,
int s) |
getBands, getHeight, getWidth
public int getSample(int col, int row, int band)
public void setSample(int col, int row, int band, int s)
public int[] getPixel(int col, int row)
public void setPixel(int col, int row, int[] pixel)
public static void main(java.lang.String[] args)