net.aerith.misao.image.filter
Class EqualizeFilter

java.lang.Object
  |
  +--net.aerith.misao.image.filter.Filter
        |
        +--net.aerith.misao.image.filter.EqualizeFilter

public class EqualizeFilter
extends Filter

The EqualizeFilter is an image processing filter to equalize the image. The result is stored in the original image.


Field Summary
protected  int filter_size
          The area size to calculate median value.
 
Fields inherited from class net.aerith.misao.image.filter.Filter
monitor_set
 
Constructor Summary
EqualizeFilter()
          Constructs a filter.
EqualizeFilter(int initial_filter_size)
          Constructs a filter with initial filter size.
 
Method Summary
 MonoImage operate(MonoImage image)
          Operates the image processing filter and stores the result into the original image buffer.
 void setFilterSize(int new_filter_size)
          Sets the filter size.
 
Methods inherited from class net.aerith.misao.image.filter.Filter
addMonitor, setMonitor
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

filter_size

protected int filter_size
The area size to calculate median value.
Constructor Detail

EqualizeFilter

public EqualizeFilter()
Constructs a filter.

EqualizeFilter

public EqualizeFilter(int initial_filter_size)
Constructs a filter with initial filter size.
Parameters:
initial_filter_size - the initial value of filter size.
Method Detail

setFilterSize

public void setFilterSize(int new_filter_size)
Sets the filter size.
Parameters:
new_filter_size - the new value of filter size.

operate

public MonoImage operate(MonoImage image)
Operates the image processing filter and stores the result into the original image buffer.
Overrides:
operate in class Filter
Parameters:
image - the original image to process.
Returns:
the original image buffer.