All Packages Class Hierarchy This Package Previous Next Index
Class ij.process.ByteProcessor
java.lang.Object
|
+----ij.process.ImageProcessor
|
+----ij.process.ByteProcessor
- public class ByteProcessor
- extends ImageProcessor
Processes 8-bit images. Based on the ImageProcessor class from "KickAss Java
Programming" by Tonny Espeset (http://www.sn.no/~espeset)
-
ByteProcessor(Image)
-
-
ByteProcessor(Image, ProgressBar)
-
-
ByteProcessor(int, int, byte[])
-
-
autoThreshold()
- Iterative thresholding technique, described originally by Ridler & Calvard in
"PIcture Thresholding Using an Iterative Selection Method", IEEE transactions
on Systems, Man and Cybernetics, August, 1978.
-
createImage()
-
-
crop()
-
-
findEdges()
-
-
flipHorizontal()
-
-
flipVertical()
-
-
getHistogram()
-
-
getHistogram(int[])
-
-
getPixel(int, int)
-
-
getPixels()
-
-
insert(ImageProcessor, int, int)
- Inserts the image contained in ip at (xloc, yloc).
-
insert(ImageProcessor, int, int, boolean)
-
-
medianFilter()
-
-
noise(double)
-
-
putPixel(int, int)
-
-
reset()
- Reset the image from snapshot.
-
reset(int[])
- Restore pixels that are within roi but not part of mask.
-
rotate(double)
-
-
scale(double, double, boolean)
-
-
sharpen()
-
-
smooth()
-
-
snapshot()
- Make a snapshot of the current image.
-
threshold(int)
-
ByteProcessor
public ByteProcessor(Image img)
ByteProcessor
public ByteProcessor(Image img,
ProgressBar bar)
ByteProcessor
public ByteProcessor(int width,
int height,
byte pixels[])
createImage
public Image createImage()
- Overrides:
- createImage in class ImageProcessor
crop
public Image crop()
- Overrides:
- crop in class ImageProcessor
snapshot
public void snapshot()
- Make a snapshot of the current image.
- Overrides:
- snapshot in class ImageProcessor
reset
public void reset()
- Reset the image from snapshot.
- Overrides:
- reset in class ImageProcessor
reset
public void reset(int mask[])
- Restore pixels that are within roi but not part of mask.
- Overrides:
- reset in class ImageProcessor
getPixel
public float getPixel(int x,
int y)
- Overrides:
- getPixel in class ImageProcessor
putPixel
public void putPixel(int x,
int y)
- Overrides:
- putPixel in class ImageProcessor
getPixels
public Object getPixels()
- Overrides:
- getPixels in class ImageProcessor
insert
public void insert(ImageProcessor ip,
int xloc,
int yloc)
- Inserts the image contained in ip at (xloc, yloc).
- Overrides:
- insert in class ImageProcessor
insert
public void insert(ImageProcessor ip,
int xloc,
int yloc,
boolean invert)
smooth
public void smooth()
- Overrides:
- smooth in class ImageProcessor
sharpen
public void sharpen()
- Overrides:
- sharpen in class ImageProcessor
findEdges
public void findEdges()
- Overrides:
- findEdges in class ImageProcessor
noise
public void noise(double range)
- Overrides:
- noise in class ImageProcessor
scale
public void scale(double xScale,
double yScale,
boolean resizeImage)
- Overrides:
- scale in class ImageProcessor
rotate
public void rotate(double angle)
- Overrides:
- rotate in class ImageProcessor
flipVertical
public void flipVertical()
- Overrides:
- flipVertical in class ImageProcessor
flipHorizontal
public void flipHorizontal()
- Overrides:
- flipHorizontal in class ImageProcessor
getHistogram
public int[] getHistogram()
- Overrides:
- getHistogram in class ImageProcessor
getHistogram
public int[] getHistogram(int mask[])
threshold
public void threshold(int level)
autoThreshold
public void autoThreshold()
- Iterative thresholding technique, described originally by Ridler & Calvard in
"PIcture Thresholding Using an Iterative Selection Method", IEEE transactions
on Systems, Man and Cybernetics, August, 1978.
- Overrides:
- autoThreshold in class ImageProcessor
medianFilter
public void medianFilter()
- Overrides:
- medianFilter in class ImageProcessor
All Packages Class Hierarchy This Package Previous Next Index