public interface GraphicsImageDisplay extends BasicImageDisplay
Modifier and Type | Method and Description |
---|---|
void |
blankImage(double ra,
double dec)
Display a blank image with the given center coordinates.
|
void |
clear()
Clear the image display, freeing up any resources currently used by the image
so that they can be garbage collected.
|
CanvasGraphics |
getCanvasGraphics()
Return an object to be used for drawing persistent graphics over the image
|
FITSImage |
getFitsImage()
If the current image is in FITS format, return the FITSImage object managing it,
otherwise return null.
|
double |
getPixelValue(Point2D.Double p,
int band)
Return the value of the pixel in the given band at the given user coordinates
|
double[] |
getPixelValues(Rectangle region,
int band)
Return an array containing the values of the pixels in the given band in the given
user coordinates region.
|
boolean |
isClear()
Return true if the image has been cleared.
|
addImageGraphicsHandler, getCanvas, getCoordinateConverter, getDisplayImage, getImage, getImageHeight, getImageProcessor, getImageWidth, getInterpolation, getOrigin, getScale, getScaleHints, getVisibleArea, getWCS, isAutoCenterImage, isImmediateMode, isInitialized, isPrescaled, isWCS, removeImageGraphicsHandler, scaleToFit, setAutoCenterImage, setImage, setImageProcessor, setImmediateMode, setInterpolation, setOrigin, setPrescaled, setScale, setScaleHints, setWCS, updateImage
CanvasGraphics getCanvasGraphics()
void clear()
boolean isClear()
void blankImage(double ra, double dec)
ra
- RA center coordinate in deg J2000dec
- Dec center coordinate in deg J2000FITSImage getFitsImage()
double getPixelValue(Point2D.Double p, int band)
getPixelValue
in interface BasicImageDisplay
double[] getPixelValues(Rectangle region, int band)
region
- describes the region of the image to get in user coordinatesband
- the band of the image to getCopyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.