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)


Constructor Index

 o ByteProcessor(Image)
 o ByteProcessor(Image, ProgressBar)
 o ByteProcessor(int, int, byte[])

Method Index

 o 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.
 o createImage()
 o crop()
 o findEdges()
 o flipHorizontal()
 o flipVertical()
 o getHistogram()
 o getHistogram(int[])
 o getPixel(int, int)
 o getPixels()
 o insert(ImageProcessor, int, int)
Inserts the image contained in ip at (xloc, yloc).
 o insert(ImageProcessor, int, int, boolean)
 o medianFilter()
 o noise(double)
 o putPixel(int, int)
 o reset()
Reset the image from snapshot.
 o reset(int[])
Restore pixels that are within roi but not part of mask.
 o rotate(double)
 o scale(double, double, boolean)
 o sharpen()
 o smooth()
 o snapshot()
Make a snapshot of the current image.
 o threshold(int)

Constructors

 o ByteProcessor
 public ByteProcessor(Image img)
 o ByteProcessor
 public ByteProcessor(Image img,
                      ProgressBar bar)
 o ByteProcessor
 public ByteProcessor(int width,
                      int height,
                      byte pixels[])

Methods

 o createImage
 public Image createImage()
Overrides:
createImage in class ImageProcessor
 o crop
 public Image crop()
Overrides:
crop in class ImageProcessor
 o snapshot
 public void snapshot()
Make a snapshot of the current image.

Overrides:
snapshot in class ImageProcessor
 o reset
 public void reset()
Reset the image from snapshot.

Overrides:
reset in class ImageProcessor
 o reset
 public void reset(int mask[])
Restore pixels that are within roi but not part of mask.

Overrides:
reset in class ImageProcessor
 o getPixel
 public float getPixel(int x,
                       int y)
Overrides:
getPixel in class ImageProcessor
 o putPixel
 public void putPixel(int x,
                      int y)
Overrides:
putPixel in class ImageProcessor
 o getPixels
 public Object getPixels()
Overrides:
getPixels in class ImageProcessor
 o insert
 public void insert(ImageProcessor ip,
                    int xloc,
                    int yloc)
Inserts the image contained in ip at (xloc, yloc).

Overrides:
insert in class ImageProcessor
 o insert
 public void insert(ImageProcessor ip,
                    int xloc,
                    int yloc,
                    boolean invert)
 o smooth
 public void smooth()
Overrides:
smooth in class ImageProcessor
 o sharpen
 public void sharpen()
Overrides:
sharpen in class ImageProcessor
 o findEdges
 public void findEdges()
Overrides:
findEdges in class ImageProcessor
 o noise
 public void noise(double range)
Overrides:
noise in class ImageProcessor
 o scale
 public void scale(double xScale,
                   double yScale,
                   boolean resizeImage)
Overrides:
scale in class ImageProcessor
 o rotate
 public void rotate(double angle)
Overrides:
rotate in class ImageProcessor
 o flipVertical
 public void flipVertical()
Overrides:
flipVertical in class ImageProcessor
 o flipHorizontal
 public void flipHorizontal()
Overrides:
flipHorizontal in class ImageProcessor
 o getHistogram
 public int[] getHistogram()
Overrides:
getHistogram in class ImageProcessor
 o getHistogram
 public int[] getHistogram(int mask[])
 o threshold
 public void threshold(int level)
 o 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
 o medianFilter
 public void medianFilter()
Overrides:
medianFilter in class ImageProcessor

All Packages  Class Hierarchy  This Package  Previous  Next  Index