net.sourceforge.javaocr.filter
Class RangeFilter
java.lang.Object
net.sourceforge.javaocr.filter.AbstractSinglePixelFilter
net.sourceforge.javaocr.filter.RangeFilter
- All Implemented Interfaces:
- ImageFilter
public class RangeFilter
- extends AbstractSinglePixelFilter
gather min and max values from supplied pixels
- Author:
- Konstantin Pribluda
|
Field Summary |
(package private) int |
max
|
(package private) int |
min
|
|
Method Summary |
int |
getMax()
|
int |
getMin()
|
protected 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 |
min
int min
max
int max
RangeFilter
public RangeFilter()
getMax
public int getMax()
getMin
public int getMin()
processPixel
protected void processPixel(Image image)
- Description copied from class:
AbstractSinglePixelFilter
- process single image pixel subclass shall retrieve current pixel value with image.next()
and store it with image.put() after processing
- Specified by:
processPixel in class AbstractSinglePixelFilter
Copyright © -2012. All Rights Reserved.