net.sourceforge.javaocr.filter
Class AbstractSinglePixelFilter
java.lang.Object
net.sourceforge.javaocr.filter.AbstractSinglePixelFilter
- All Implemented Interfaces:
- ImageFilter
- Direct Known Subclasses:
- HistogramFilter, LookupTableFilter, RangeFilter, RGBAToGrayscale, ThresholdFilter
public abstract class AbstractSinglePixelFilter
- extends Object
- implements ImageFilter
abstract base class for filters operating on single pixels
|
Method Summary |
void |
process(Image image)
perform image processing possibly overwriting the image with the result |
protected abstract void |
processPixel(Image image)
process single image pixel subclass shall retrieve current pixel value with image.next()
and store it with image.put() after processing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSinglePixelFilter
public AbstractSinglePixelFilter()
process
public void process(Image image)
- Description copied from interface:
ImageFilter
- perform image processing possibly overwriting the image with the result
- Specified by:
process in interface ImageFilter
processPixel
protected abstract void processPixel(Image image)
- process single image pixel subclass shall retrieve current pixel value with image.next()
and store it with image.put() after processing
- Parameters:
image -
Copyright © -2012. All Rights Reserved.