uk.ac.starlink.jaiutil
Class HDXImageProcessor
java.lang.Object
jsky.image.ImageProcessor
uk.ac.starlink.jaiutil.HDXImageProcessor
public class HDXImageProcessor
- extends ImageProcessor
Extends the JSky ImageProcessor class so that HDXImages are
processed the same as FITSImages, i.e. are flipped top to bottom by
default and have their bad pixel flags set correctly.
Use an instance of this class instead of ImageProcessor when you
are expecting to deal with HDXImages (see the various constructors
for DivaGraphicsImageDisplay
and
ImageDisplay
for how to get this used).
- Version:
- $Id$
- Author:
- Peter W. Draper
Method Summary |
void |
setSourceImage(javax.media.jai.PlanarImage sourceImage,
Rectangle2D.Double region)
Set the source image and the region of interest and perform any
requested image processing to make the display image. |
Methods inherited from class jsky.image.ImageProcessor |
addChangeListener, autoSetCutLevels, autoSetCutLevels, calculateImageStatistics, copySettings, fireChange, getAngle, getBlank, getColorLookupTable, getColorLookupTableName, getDisplayImage, getFlipX, getFlipY, getHighCut, getHistogram, getIntensityLookupTableName, getInterpolation, getLowCut, getMaxValue, getMinValue, getName, getRescaledSourceImage, getReverseY, getScaleAlgorithm, getScaleLookupTable, getSourceImage, isInvertedYAxis, isUpdatePending, isUserSetCutLevels, removeChangeListener, rescaleImage, resetColormap, rotate, rotateColormap, saveColormap, scaleColormap, setAngle, setBlank, setColorLookupTable, setCutLevels, setCutLevels, setDefaultColormap, setFlipX, setFlipY, setHighCut, setIntensityLookupTable, setInterpolation, setInvertedYAxis, setLowCut, setName, setRegionOfInterest, setReverseY, setScaleAlgorithm, setSourceImage, setTrans, setUpdatePending, setUserSetCutLevels, shiftColormap, toggleFlipX, toggleFlipY, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HDXImageProcessor
public HDXImageProcessor()
- Default constructor.
Call setSourceImage(PlanarImage, Rectangle2D.Double) to set the
image to process and the region of interest.
HDXImageProcessor
public HDXImageProcessor(javax.media.jai.PlanarImage sourceImage,
Rectangle2D.Double region)
- Constructor.
- Parameters:
sourceImage
- The source image to process.region
- the region of interest in the image (usually the
visible area) in the coordinates of the source
image (values will be clipped).
setSourceImage
public void setSourceImage(javax.media.jai.PlanarImage sourceImage,
Rectangle2D.Double region)
- Set the source image and the region of interest and perform any
requested image processing to make the display image.
- Overrides:
setSourceImage
in class ImageProcessor
- Parameters:
region
- the region of interest in the image (usually the
visible area) in the coordinates of the source image.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.