|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectij.ImagePlus
ij.CompositeImage
public class CompositeImage
| 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 java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public CompositeImage(ImagePlus imp)
public CompositeImage(ImagePlus imp,
int mode)
| Method Detail |
|---|
public java.awt.Image getImage()
ImagePlus
getImage in class ImagePluspublic void updateChannelAndDraw()
ImagePlus
updateChannelAndDraw in class ImagePluspublic void updateAllChannelsAndDraw()
public ImageProcessor getChannelProcessor()
ImagePlus
getChannelProcessor in class ImagePluspublic void resetDisplayRanges()
public void updateAndDraw()
ImagePlus
updateAndDraw in class ImagePluspublic void updateImage()
ImagePlus
updateImage 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()
getLuts in class ImagePluspublic 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 ImagePluspublic double getDisplayRangeMin()
getDisplayRangeMin in class ImagePluspublic double getDisplayRangeMax()
getDisplayRangeMax in class ImagePluspublic void resetDisplayRange()
resetDisplayRange in class ImagePluspublic boolean hasCustomLuts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||