public class CompositeImage extends ImagePlus
Modifier and Type | Field and Description |
---|---|
static int |
COLOR
Display modes (note: TRANSPARENT mode has not yet been implemented)
|
static int |
COMPOSITE
Display modes (note: TRANSPARENT mode has not yet been implemented)
|
static int |
GRAYSCALE
Display modes (note: TRANSPARENT mode has not yet been implemented)
|
static int |
MAX_CHANNELS |
static int |
TRANSPARENT
Display modes (note: TRANSPARENT mode has not yet been implemented)
|
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, dimensionsSet, GRAY16, GRAY32, GRAY8, height, img, ip, locked, nChannels, nFrames, nSlices, OPENED, roi, UPDATED, width, win
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
ADD_TO_OVERLAY, AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV
Constructor and Description |
---|
CompositeImage(ImagePlus imp) |
CompositeImage(ImagePlus imp,
int mode) |
Modifier and Type | Method and Description |
---|---|
void |
copyLuts(ImagePlus imp)
Copies the LUTs and display mode of 'imp' to this image.
|
LUT |
createLutFromColor(java.awt.Color color) |
boolean[] |
getActiveChannels() |
java.awt.Color |
getChannelColor() |
LUT |
getChannelLut() |
LUT |
getChannelLut(int channel) |
ImageProcessor |
getChannelProcessor()
Returns a reference to the current ImageProcessor.
|
double |
getDisplayRangeMax() |
double |
getDisplayRangeMin() |
java.awt.Image |
getImage()
Returns this image as a AWT image.
|
LUT[] |
getLuts() |
int |
getMode() |
java.lang.String |
getModeAsString() |
ImageProcessor |
getProcessor(int channel) |
boolean |
hasCustomLuts() |
void |
reset() |
void |
resetDisplayRange() |
void |
resetDisplayRanges() |
void |
setChannelColorModel(java.awt.image.IndexColorModel cm) |
void |
setChannelLut(LUT table) |
void |
setChannelLut(LUT table,
int channel) |
void |
setChannelsUpdated()
Deprecated
|
void |
setDisplayRange(double min,
double max)
Sets the display range of the current channel.
|
void |
setLuts(LUT[] luts) |
void |
setMode(int mode) |
void |
updateAllChannelsAndDraw() |
void |
updateAndDraw()
Updates this image from the pixel data in its
associated ImageProcessor, then displays it.
|
void |
updateChannelAndDraw()
Updates this image from the pixel data in its
associated ImageProcessor, then displays it.
|
void |
updateImage()
ImageCanvas.paint() calls this method when the
ImageProcessor has generated new image.
|
addImageListener, clone, close, close, convertIndexToPosition, copy, copy, copyAttributes, copyScale, createEmptyStack, createHyperStack, createImagePlus, createLut, createNewRoi, deleteRoi, draw, draw, duplicate, flatten, flattenStack, flush, getBitDepth, getBufferedImage, getBytesPerPixel, getC, getCalibration, getCanvas, getChannel, getClipboard, getCompositeMode, getCurrentSlice, getDefault16bitRange, getDimensions, getDimensions, getFileInfo, getFrame, getGlobalCalibration, getHeight, getHideOverlay, getID, getImageStack, getImageStackSize, getInfoProperty, getLocalCalibration, getLocationAsString, getMask, getNChannels, getNDimensions, getNFrames, getNSlices, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPixel, getProcessor, getProp, getProperties, getProperty, getRoi, getShortTitle, getSlice, getStack, getStackIndex, getStackSize, getStartTime, getStatistics, getStatistics, getStatistics, getStatistics, getT, getTitle, getType, getWidth, getWindow, getZ, hide, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isInvertedLut, isLocked, isProcessor, isVisible, killRoi, killStack, lock, lockSilently, mouseMoved, notifyListeners, paste, removeImageListener, repaintWindow, resetClipboard, resetStack, restoreRoi, revert, saveRoi, setActivated, setAntialiasRendering, setC, setCalibration, setColor, setDefault16bitRange, setDimensions, setDisplayRange, setFileInfo, setGlobalCalibration, setHideOverlay, setIgnoreFlush, setImage, setImage, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPosition, setPosition, setPositionWithoutUpdate, setProcessor, setProcessor, setProperty, setRoi, setRoi, setRoi, setRoi, setSize, setSize, setSlice, setSliceWithoutUpdate, setStack, setStack, setStack, setT, setTitle, setType, setWindow, setZ, show, show, startTiming, toString, trimProcessor, unlock, updateAndRepaintWindow, updatePosition, updateStatusbarValue
public static final int COMPOSITE
public static final int COLOR
public static final int GRAYSCALE
public static final int TRANSPARENT
public static final int MAX_CHANNELS
public CompositeImage(ImagePlus imp)
public CompositeImage(ImagePlus imp, int mode)
public java.awt.Image getImage()
ImagePlus
public void updateChannelAndDraw()
ImagePlus
updateChannelAndDraw
in class ImagePlus
public void updateAllChannelsAndDraw()
public ImageProcessor getChannelProcessor()
ImagePlus
getChannelProcessor
in class ImagePlus
public void resetDisplayRanges()
public void updateAndDraw()
ImagePlus
updateAndDraw
in class ImagePlus
public void updateImage()
ImagePlus
updateImage
in class ImagePlus
public LUT createLutFromColor(java.awt.Color color)
public java.awt.Color getChannelColor()
public ImageProcessor getProcessor(int channel)
public boolean[] getActiveChannels()
public void setMode(int mode)
public int getMode()
public java.lang.String getModeAsString()
public LUT getChannelLut(int channel)
public LUT getChannelLut()
public void setLuts(LUT[] luts)
public void copyLuts(ImagePlus imp)
public void reset()
public void setChannelLut(LUT table)
public void setChannelLut(LUT table, int channel)
public void setChannelColorModel(java.awt.image.IndexColorModel cm)
public void setDisplayRange(double min, double max)
ImagePlus
setDisplayRange
in class ImagePlus
public double getDisplayRangeMin()
getDisplayRangeMin
in class ImagePlus
public double getDisplayRangeMax()
getDisplayRangeMax
in class ImagePlus
public void resetDisplayRange()
resetDisplayRange
in class ImagePlus
public boolean hasCustomLuts()
public void setChannelsUpdated()