|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectij.ImagePlus
ij.plugin.LutLoader
public class LutLoader
Opens NIH Image look-up tables (LUTs), 768 byte binary LUTs (256 reds, 256 greens and 256 blues), LUTs in text format, or generates the LUT specified by the string argument passed to the run() method.
| Field Summary |
|---|
| Fields inherited from class ij.ImagePlus |
|---|
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, currentSlice, dimensionsSet, GRAY16, GRAY32, GRAY8, height, img, ip, locked, nChannels, nFrames, nSlices, 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 |
|---|
ADD_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, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV |
| Constructor Summary | |
|---|---|
LutLoader()
|
|
| Method Summary | |
|---|---|
static ByteProcessor |
createImage(IndexColorModel cm)
Creates a 256x32 image from an IndexColorModel. |
static IndexColorModel |
open(InputStream stream)
Opens an ImageJ LUT using an InputStream and returns it as an IndexColorModel. |
static IndexColorModel |
open(String path)
Opens the specified ImageJ LUT and returns it as an IndexColorModel. |
static LUT |
openLut(String path)
Opens a LUT and returns it as a LUT object. |
void |
run(String arg)
If 'arg'="", displays a file open dialog and opens the specified LUT. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LutLoader()
| Method Detail |
|---|
public void run(String arg)
run in interface PlugInpublic static LUT openLut(String path)
public static IndexColorModel open(String path)
throws IOException
IOException
public static IndexColorModel open(InputStream stream)
throws IOException
IOExceptionpublic static ByteProcessor createImage(IndexColorModel cm)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||