public class GeneratedImage extends Object implements Serializable, ImagePixelData
| Constructor and Description |
|---|
GeneratedImage(int[][] data,
double maxValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Get the height of the Image.
|
double |
getMaxValue()
Get the maximum value of the contained data.
|
int |
getPixelData(int x,
int y)
Get the data sample for pixel (x,y).
|
int |
getWidth()
Get the width of the Image.
|
public int getWidth()
ImagePixelDatagetWidth in interface ImagePixelDatapublic int getHeight()
ImagePixelDatagetHeight in interface ImagePixelDatapublic int getPixelData(int x,
int y)
ImagePixelDatagetPixelData in interface ImagePixelDatax - the x coordinate of the pixel.y - the y coordinate of the pixel.public double getMaxValue()
getMaxValue in interface ImagePixelDataCopyright © 2017 LSST. All rights reserved.