public class HDXImageProcessor extends ImageProcessor
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).
_reverseY, DEFAULT_X_PERIOD, DEFAULT_Y_PERIOD
Constructor and Description |
---|
HDXImageProcessor()
Default constructor.
|
HDXImageProcessor(javax.media.jai.PlanarImage sourceImage,
Rectangle2D.Double region)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public HDXImageProcessor()
public HDXImageProcessor(javax.media.jai.PlanarImage sourceImage, Rectangle2D.Double region)
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).public void setSourceImage(javax.media.jai.PlanarImage sourceImage, Rectangle2D.Double region)
setSourceImage
in class ImageProcessor
region
- the region of interest in the image (usually the
visible area) in the coordinates of the source image.Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.