|
||||||||||
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 | |
---|---|
(package private) java.awt.Image |
awtImage
|
(package private) int[] |
awtImagePixels
|
(package private) ImageProcessor[] |
cip
|
(package private) java.awt.Color[] |
colors
|
(package private) static int |
count
|
(package private) int |
currentChannel
|
(package private) java.awt.image.ColorModel |
imageColorModel
|
(package private) java.awt.image.MemoryImageSource |
imageSource
|
(package private) boolean |
newPixels
|
(package private) int[][] |
pixels
|
(package private) boolean |
singleChannel
|
Fields inherited from class ij.ImagePlus |
---|
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, currentSlice, GRAY16, GRAY32, GRAY8, height, img, ip, locked, OPENED, pixelHeight, pixelWidth, roi, sCalibrated, unit, units, UPDATED, waitStart, 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, SKEWNESS, SLICE, STD_DEV |
Constructor Summary | |
---|---|
CompositeImage(ImagePlus imp,
int channels)
|
Method Summary | |
---|---|
static java.awt.image.IndexColorModel |
createModelFromColor(java.awt.Color color)
|
java.awt.Color |
getChannelColor()
|
ImageProcessor |
getChannelProcessor()
Returns a reference to the current ImageProcessor. |
java.awt.Image |
getImage()
Returns the current AWT image. |
double |
getMax(int channel)
|
double |
getMin(int channel)
|
ImageProcessor |
getProcessor(int channel)
|
(package private) ImageStack |
getRGBStack(ImagePlus imp)
|
(package private) void |
setup(int channels,
ImageStack stack2)
|
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 |
---|
int[] awtImagePixels
boolean newPixels
java.awt.image.MemoryImageSource imageSource
java.awt.image.ColorModel imageColorModel
java.awt.Image awtImage
int[][] pixels
ImageProcessor[] cip
java.awt.Color[] colors
int currentChannel
static int count
boolean singleChannel
Constructor Detail |
---|
public CompositeImage(ImagePlus imp, int channels)
Method Detail |
---|
public java.awt.Image getImage()
ImagePlus
getImage
in class ImagePlus
public void updateChannelAndDraw()
ImagePlus
updateChannelAndDraw
in class ImagePlus
public ImageProcessor getChannelProcessor()
ImagePlus
getChannelProcessor
in class ImagePlus
void setup(int channels, ImageStack stack2)
public void updateImage()
ImagePlus
updateImage
in class ImagePlus
ImageStack getRGBStack(ImagePlus imp)
public static java.awt.image.IndexColorModel createModelFromColor(java.awt.Color color)
public java.awt.Color getChannelColor()
public ImageProcessor getProcessor(int channel)
public double getMin(int channel)
public double getMax(int channel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |