Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/CompositeImage.html
Дата изменения: Thu Dec 2 23:03:11 2010
Дата индексирования: Mon Oct 1 21:26:31 2012
Кодировка:

Поисковые слова: millennium
CompositeImage (ImageJ API)

ij
Class CompositeImage

java.lang.Object
  extended by ij.ImagePlus
      extended by ij.CompositeImage
All Implemented Interfaces:
Measurements, java.awt.image.ImageObserver

public class CompositeImage
extends ImagePlus


Field Summary
static int COLOR
           
static int COMPOSITE
           
static int GRAYSCALE
           
static int MAX_CHANNELS
           
static int TRANSPARENT
           
 
Fields inherited from class ij.ImagePlus
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, GRAY16, GRAY32, GRAY8, height, img, ip, locked, OPENED, roi, UPDATED, width, win
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Fields inherited from interface ij.measure.Measurements
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 Summary
CompositeImage(ImagePlus imp)
           
CompositeImage(ImagePlus imp, int mode)
           
 
Method Summary
 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 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.
 
Methods inherited from class ij.ImagePlus
addImageListener, clone, close, copy, copyScale, createEmptyStack, createHyperStack, createImagePlus, createLut, createNewRoi, draw, draw, flatten, flush, getBitDepth, getBufferedImage, getBytesPerPixel, getCalibration, getCanvas, getChannel, getClipboard, getCurrentSlice, getDimensions, getFileInfo, getFrame, getGlobalCalibration, getHeight, getID, getImageStack, getImageStackSize, getLocalCalibration, getLocationAsString, getMask, getNChannels, getNDimensions, getNFrames, getNSlices, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPixel, getProcessor, getProperties, getProperty, getRoi, getShortTitle, getSlice, getStack, getStackIndex, getStackSize, getStartTime, getStatistics, getStatistics, getStatistics, getStatistics, getTitle, getType, getWidth, getWindow, hide, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isInvertedLut, isLocked, isProcessor, isVisible, killRoi, killStack, lock, lockSilently, mouseMoved, notifyListeners, paste, removeImageListener, repaintWindow, resetClipboard, resetStack, restoreRoi, revert, saveRoi, setActivated, setCalibration, setColor, setDimensions, setDisplayRange, setFileInfo, setGlobalCalibration, setIgnoreFlush, setImage, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPosition, setPosition, setPositionWithoutUpdate, setProcessor, setProcessor, setProperty, setRoi, setRoi, setRoi, setRoi, setSlice, setSliceWithoutUpdate, setStack, setStack, setStack, setTitle, setType, setWindow, show, show, startTiming, toString, trimProcessor, unlock, updateAndRepaintWindow, updatePosition, updateStatusbarValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPOSITE

public static final int COMPOSITE
See Also:
Constant Field Values

COLOR

public static final int COLOR
See Also:
Constant Field Values

GRAYSCALE

public static final int GRAYSCALE
See Also:
Constant Field Values

TRANSPARENT

public static final int TRANSPARENT
See Also:
Constant Field Values

MAX_CHANNELS

public static final int MAX_CHANNELS
See Also:
Constant Field Values
Constructor Detail

CompositeImage

public CompositeImage(ImagePlus imp)

CompositeImage

public CompositeImage(ImagePlus imp,
                      int mode)
Method Detail

getImage

public java.awt.Image getImage()
Description copied from class: ImagePlus
Returns this image as a AWT image.

Overrides:
getImage in class ImagePlus

updateChannelAndDraw

public void updateChannelAndDraw()
Description copied from class: ImagePlus
Updates 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:
updateChannelAndDraw in class ImagePlus

updateAllChannelsAndDraw

public void updateAllChannelsAndDraw()

getChannelProcessor

public ImageProcessor getChannelProcessor()
Description copied from class: ImagePlus
Returns a reference to the current ImageProcessor. The CompositeImage class overrides this method so it returns the processor associated with the current channel.

Overrides:
getChannelProcessor in class ImagePlus

resetDisplayRanges

public void resetDisplayRanges()

updateAndDraw

public void updateAndDraw()
Description copied from class: ImagePlus
Updates 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:
updateAndDraw in class ImagePlus

updateImage

public void updateImage()
Description copied from class: ImagePlus
ImageCanvas.paint() calls this method when the ImageProcessor has generated new image.

Overrides:
updateImage in class ImagePlus

createLutFromColor

public LUT createLutFromColor(java.awt.Color color)

getChannelColor

public java.awt.Color getChannelColor()

getProcessor

public ImageProcessor getProcessor(int channel)

getActiveChannels

public boolean[] getActiveChannels()

setMode

public void setMode(int mode)

getMode

public int getMode()

getModeAsString

public java.lang.String getModeAsString()

getChannelLut

public LUT getChannelLut(int channel)

getChannelLut

public LUT getChannelLut()

getLuts

public LUT[] getLuts()
Overrides:
getLuts in class ImagePlus

setLuts

public void setLuts(LUT[] luts)

copyLuts

public void copyLuts(ImagePlus imp)
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()

setChannelLut

public void setChannelLut(LUT table)

setChannelLut

public void setChannelLut(LUT table,
                          int channel)

setChannelColorModel

public void setChannelColorModel(java.awt.image.IndexColorModel cm)

setDisplayRange

public void setDisplayRange(double min,
                            double max)
Description copied from class: ImagePlus
Sets the display range of the current channel. With non-composite images it is identical to ip.setMinAndMax(min, max).

Overrides:
setDisplayRange in class ImagePlus

getDisplayRangeMin

public double getDisplayRangeMin()
Overrides:
getDisplayRangeMin in class ImagePlus

getDisplayRangeMax

public double getDisplayRangeMax()
Overrides:
getDisplayRangeMax in class ImagePlus

resetDisplayRange

public void resetDisplayRange()
Overrides:
resetDisplayRange in class ImagePlus

hasCustomLuts

public boolean hasCustomLuts()