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, winABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHADD_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, NaN_EMPTY_CELLS, 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()
Returns an array containing the lookup tables used by this image,
one per channel, or an empty array if this is an RGB image.
|
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, 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, getDisplayMode, getFileInfo, getFrame, getGlobalCalibration, getHeight, getHideOverlay, getID, getImageStack, getImageStackSize, getInfoProperty, getLocalCalibration, getLocationAsString, getMask, getNChannels, getNDimensions, getNFrames, getNSlices, getNumericProperty, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPixel, getProcessor, getProp, getProperties, getProperty, getRoi, getShortTitle, getSlice, getStack, getStackIndex, getStackSize, getStartTime, getStatistics, getStatistics, getStatistics, getStatistics, getStringProperty, getT, getTitle, getType, getWidth, getWindow, getZ, hide, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isInvertedLut, isLocked, isProcessor, isThreshold, isVisible, killRoi, killStack, lock, lockSilently, mouseMoved, notifyListeners, paste, removeImageListener, repaintWindow, resetClipboard, resetStack, restoreRoi, revert, saveRoi, setActivated, setActiveChannels, setAntialiasRendering, setC, setCalibration, setColor, setDefault16bitRange, setDimensions, setDisplayMode, setDisplayRange, setFileInfo, setGlobalCalibration, setHideOverlay, setIgnoreFlush, setIgnoreGlobalCalibration, setImage, setImage, setLut, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPosition, setPosition, setPositionWithoutUpdate, setProcessor, setProcessor, setProperty, setRoi, setRoi, setRoi, setRoi, setSlice, setSliceWithoutUpdate, setStack, setStack, setStack, setT, setTitle, setType, setWindow, setZ, show, show, startTiming, toString, trimProcessor, unlock, updateAndRepaintWindow, updatePosition, updateStatusbarValuepublic 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()
ImagePluspublic void updateChannelAndDraw()
ImagePlusupdateChannelAndDraw in class ImagePluspublic void updateAllChannelsAndDraw()
public ImageProcessor getChannelProcessor()
ImagePlusgetChannelProcessor in class ImagePluspublic void resetDisplayRanges()
public void updateAndDraw()
ImagePlusupdateAndDraw in class ImagePluspublic void updateImage()
ImagePlusupdateImage in class ImagePluspublic 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 LUT[] getLuts()
ImagePlusgetLuts in class ImagePlusImagePlus.getNChannels(),
ImagePlus.isComposite(),
ImagePlus.getCompositeMode()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)
ImagePlussetDisplayRange in class ImagePluspublic double getDisplayRangeMin()
getDisplayRangeMin in class ImagePluspublic double getDisplayRangeMax()
getDisplayRangeMax in class ImagePluspublic void resetDisplayRange()
resetDisplayRange in class ImagePluspublic boolean hasCustomLuts()
public void setChannelsUpdated()