java.lang.Object
ij.ImagePlus
ij.CompositeImage
- All Implemented Interfaces:
Measurements,ImageObserver,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDisplay modes (note: TRANSPARENT mode has not yet been implemented)static final Color[]static final intDisplay modes (note: TRANSPARENT mode has not yet been implemented)static final intDisplay modes (note: TRANSPARENT mode has not yet been implemented)static final intstatic final intDisplay modes (note: TRANSPARENT mode has not yet been implemented)Fields inherited from class ij.ImagePlus
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, dimensionsSet, flattenTitle, GRAY16, GRAY32, GRAY8, height, img, ip, locked, nChannels, nFrames, nSlices, OPENED, roi, SAVED, setIJMenuBar, UPDATED, width, winFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface ij.measure.Measurements
ADD_TO_OVERLAY, ALL_STATS, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this image and sets the ImageProcessor to null.voidvoidCopies the LUTs and display mode of 'imp' to this image.createLutFromColor(Color color) boolean[]Returns the color used to display the image subtitle and "Binvalid input: '&C'" histogram.getChannelLut(int channel) Returns a reference to the current ImageProcessor.doubleReturns the display range maximum of the current channel.doubleReturns the display range minimum of the current channel.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.intgetMode()getProcessor(int channel) booleanvoidreset()voidvoidvoidvoidsetChannelLut(LUT table) voidsetChannelLut(LUT table, int channel) voidDeprecatedvoidsetDisplayRange(double min, double max) Sets the display range of the current channel.voidvoidsetMode(int mode) voidvoidUpdates this image from the pixel data in its associated ImageProcessor, then displays it.voidUpdates this image from the pixel data in its associated ImageProcessor, then displays it.voidImageCanvas.paint() calls this method when the ImageProcessor has generated a new image.Methods inherited from class ij.ImagePlus
addImageListener, clone, convertIndexToPosition, convertToImageProcessor, copy, copy, copyAttributes, copyScale, copyToSystem, createEmptyStack, createHyperStack, createImagePlus, createLut, createNewRoi, createRoiMask, createThresholdMask, crop, crop, crop, crop, cropAndSave, cut, deleteRoi, draw, draw, duplicate, flatten, flattenStack, flush, getAllStatistics, getBitDepth, getBufferedImage, getBytesPerPixel, getC, getCalibration, getCanvas, getChannel, getClipboard, getCompositeMode, getCurrentSlice, getDefault16bitRange, getDimensions, getDimensions, getDisplayMode, getFileInfo, getFrame, getGlobalCalibration, getHeight, getHideOverlay, getID, getImageProperties, getImageStack, getImageStackSize, getInfoProperty, getListeners, getLocalCalibration, getLocationAsString, getMask, getNChannels, getNDimensions, getNFrames, getNSlices, getNumericProp, getNumericProperty, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPixel, getPlot, getProcessor, getProp, getProperties, getPropertiesAsArray, getProperty, getPropsInfo, getRawStatistics, getRoi, getShortTitle, getSizeInBytes, getSlice, getStack, getStackIndex, getStackSize, getStartTime, getStaticGlobalCalibration, getStatistics, getStatistics, getStatistics, getStatistics, getStringProperty, getT, getTitle, getType, getWidth, getWindow, getZ, hasImageStack, hide, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isInvertedLut, isLocked, isLockedByAnotherThread, isProcessor, isRGB, isStack, isThreshold, isVisible, killRoi, killStack, lock, lockSilently, logImageListeners, mouseMoved, notifyListeners, okToDeleteRoi, paste, paste, paste, plotHistogram, plotHistogram, removeImageListener, removeScale, repaintWindow, resetClipboard, resetRoi, resetStack, resize, resize, restoreRoi, revert, saveRoi, setActivated, setActiveChannels, setAntialiasRendering, setAutoThreshold, setBorderColor, setC, setCalibration, setColor, setDeactivated, setDefault16bitRange, setDefaultDisplayRange, setDimensions, setDisplayMode, setDisplayRange, setFileInfo, setGlobalCalibration, setHideOverlay, setIgnoreFlush, setIgnoreGlobalCalibration, setIJMenuBar, setIJMenuBar, setImage, setImage, setLut, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPlot, setPosition, setPosition, setPositionWithoutUpdate, setProcessor, setProcessor, setProp, setProp, setProperties, setProperty, setRoi, setRoi, setRoi, setRoi, setSlice, setSliceWithoutUpdate, setStack, setStack, setStack, setT, setTemporary, setTitle, setType, setTypeToColor256, setWindow, setZ, show, show, startTiming, tempOverlay, toggleOverlay, toString, trimProcessor, unlock, updateAndRepaintWindow, updatePosition, updateStatusbarValue, updateVirtualSlice, waitTillActivated, windowActivated
-
Field Details
-
COMPOSITE
public static final int COMPOSITEDisplay modes (note: TRANSPARENT mode has not yet been implemented)- See Also:
-
COLOR
public static final int COLORDisplay modes (note: TRANSPARENT mode has not yet been implemented)- See Also:
-
GRAYSCALE
public static final int GRAYSCALEDisplay modes (note: TRANSPARENT mode has not yet been implemented)- See Also:
-
TRANSPARENT
public static final int TRANSPARENTDisplay modes (note: TRANSPARENT mode has not yet been implemented)- See Also:
-
MAX_CHANNELS
public static final int MAX_CHANNELS- See Also:
-
colors
-
-
Constructor Details
-
CompositeImage
-
CompositeImage
-
-
Method Details
-
getImage
Description copied from class:ImagePlusReturns this image as a AWT image. -
updateChannelAndDraw
public void updateChannelAndDraw()Description copied from class:ImagePlusUpdates this image from the pixel data in its associated ImageProcessor, then displays it. The CompositeImage class overrides this method to only update the current channel.- Overrides:
updateChannelAndDrawin classImagePlus
-
updateAllChannelsAndDraw
public void updateAllChannelsAndDraw() -
getChannelProcessor
Description copied from class:ImagePlusReturns a reference to the current ImageProcessor. The CompositeImage class overrides this method to return the processor associated with the current channel.- Overrides:
getChannelProcessorin classImagePlus
-
resetDisplayRanges
public void resetDisplayRanges() -
updateAndDraw
public void updateAndDraw()Description copied from class:ImagePlusUpdates this image from the pixel data in its associated ImageProcessor, then displays it. Does nothing if there is no window associated with this image (i.e. show() has not been called).- Overrides:
updateAndDrawin classImagePlus
-
updateImage
public void updateImage()Description copied from class:ImagePlusImageCanvas.paint() calls this method when the ImageProcessor has generated a new image.- Overrides:
updateImagein classImagePlus
-
createLutFromColor
-
getChannelColor
Returns the color used to display the image subtitle and "Binvalid input: '&C'" histogram. -
getProcessor
-
getActiveChannels
public boolean[] getActiveChannels() -
setMode
public void setMode(int mode) -
getMode
public int getMode() -
getModeAsString
-
getChannelLut
-
getChannelLut
-
getLuts
Description copied from class:ImagePlusReturns an array containing the lookup tables used by this image, one per channel, or an empty array if this is an RGB image. -
setLuts
-
copyLuts
Copies the LUTs and display mode of 'imp' to this image. Does nothing if 'imp' is not a CompositeImage or 'imp' and this image do not have the same number of channels. -
reset
public void reset() -
completeReset
public void completeReset() -
setChannelLut
-
setChannelLut
-
setChannelColorModel
-
setDisplayRange
public void setDisplayRange(double min, double max) Description copied from class:ImagePlusSets the display range of the current channel. With non-composite images it is identical to ip.setMinAndMax(min, max). Call updateAndDraw() to update the display.- Overrides:
setDisplayRangein classImagePlus
-
getDisplayRangeMin
public double getDisplayRangeMin()Description copied from class:ImagePlusReturns the display range minimum of the current channel.- Overrides:
getDisplayRangeMinin classImagePlus- See Also:
-
getDisplayRangeMax
public double getDisplayRangeMax()Description copied from class:ImagePlusReturns the display range maximum of the current channel.- Overrides:
getDisplayRangeMaxin classImagePlus- See Also:
-
resetDisplayRange
public void resetDisplayRange()- Overrides:
resetDisplayRangein classImagePlus
-
hasCustomLuts
public boolean hasCustomLuts() -
close
public void close()Description copied from class:ImagePlusCloses this image and sets the ImageProcessor to null. To avoid the "Save changes?" dialog, first set the public 'changes' variable to false. -
setChannelsUpdated
public void setChannelsUpdated()Deprecated
-