public class PGM_Reader extends ImagePlus implements PlugIn
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, currentSlice, dimensionsSet, GRAY16, GRAY32, GRAY8, img, ip, locked, nChannels, nFrames, nSlices, OPENED, roi, setIJMenuBar, UPDATED, win
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
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, NaN_EMPTY_CELLS, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV
Constructor and Description |
---|
PGM_Reader() |
Modifier and Type | Method and Description |
---|---|
ImageProcessor |
open16bitAsciiImage(java.io.StreamTokenizer tok,
int width,
int height) |
ImageProcessor |
open16bitRawImage(java.io.InputStream is,
int width,
int height) |
void |
openAsciiImage(java.io.StreamTokenizer tok,
int size,
byte[] pixels) |
ImageStack |
openFile(java.lang.String path) |
void |
openHeader(java.io.StreamTokenizer tok) |
void |
openRawImage(java.io.InputStream is,
int size,
byte[] pixels) |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded.
|
addImageListener, clone, close, convertIndexToPosition, copy, copy, copyAttributes, copyScale, createEmptyStack, createHyperStack, createImagePlus, createLut, createNewRoi, deleteRoi, draw, draw, duplicate, flatten, flattenStack, flush, getBitDepth, getBufferedImage, getBytesPerPixel, getC, getCalibration, getCanvas, getChannel, getChannelProcessor, getClipboard, getCompositeMode, getCurrentSlice, getDefault16bitRange, getDimensions, getDimensions, getDisplayMode, getDisplayRangeMax, getDisplayRangeMin, getFileInfo, getFrame, getGlobalCalibration, getHeight, getHideOverlay, getID, getImage, getImageStack, getImageStackSize, getInfoProperty, getLocalCalibration, getLocationAsString, getLuts, getMask, getNChannels, getNDimensions, getNFrames, getNSlices, getNumericProperty, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPixel, getProcessor, getProp, getProperties, getProperty, getRoi, getShortTitle, getSlice, getStack, getStackIndex, getStackSize, getStartTime, getStatistics, getStatistics, getStatistics, getStatistics, getStringProperty, getT, getTitle, getType, getWidth, getWindow, getZ, hide, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isInvertedLut, isLocked, isProcessor, isThreshold, isVisible, killRoi, killStack, lock, lockSilently, mouseMoved, notifyListeners, paste, removeImageListener, repaintWindow, resetClipboard, resetDisplayRange, resetStack, restoreRoi, revert, saveRoi, setActivated, setActiveChannels, setAntialiasRendering, setC, setCalibration, setColor, setDefault16bitRange, setDimensions, setDisplayMode, setDisplayRange, setDisplayRange, setFileInfo, setGlobalCalibration, setHideOverlay, setIgnoreFlush, setIgnoreGlobalCalibration, setIJMenuBar, setIJMenuBar, setImage, setImage, setLut, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPosition, setPosition, setPositionWithoutUpdate, setProcessor, setProcessor, setProperty, setRoi, setRoi, setRoi, setRoi, setSlice, setSliceWithoutUpdate, setStack, setStack, setStack, setT, setTitle, setType, setWindow, setZ, show, show, startTiming, toString, trimProcessor, unlock, updateAndDraw, updateAndRepaintWindow, updateChannelAndDraw, updateImage, updatePosition, updateStatusbarValue
public void run(java.lang.String arg)
PlugIn
public ImageStack openFile(java.lang.String path) throws java.io.IOException
java.io.IOException
public void openHeader(java.io.StreamTokenizer tok) throws java.io.IOException
java.io.IOException
public void openAsciiImage(java.io.StreamTokenizer tok, int size, byte[] pixels) throws java.io.IOException
java.io.IOException
public void openRawImage(java.io.InputStream is, int size, byte[] pixels) throws java.io.IOException
java.io.IOException
public ImageProcessor open16bitRawImage(java.io.InputStream is, int width, int height) throws java.io.IOException
java.io.IOException
public ImageProcessor open16bitAsciiImage(java.io.StreamTokenizer tok, int width, int height) throws java.io.IOException
java.io.IOException