net.aerith.misao.image.filter
Class Filter

java.lang.Object
  |
  +--net.aerith.misao.image.filter.Filter
Direct Known Subclasses:
BackgroundEstimationFilter, BloomingCancelFilter, DarkSubtractionFilter, EqualizeFilter, FillIllegalRowAndColumnFilter, FlattenBackgroundFilter, FlatteningFilter, InverseWhiteAndBlackFilter, MapFilter, MedianFilter, MeridianImageTransformFilter, RemoveLatticePatternFilter, RescaleFilter, RescaleSbigFilter, ResizeFilter, ReverseFilter, RotateAtRightAnglesFilter, SmoothFilter, StreakCancelFilter, SubtractionFilter

public abstract class Filter
extends java.lang.Object

The Filter is an interface of image processing filter.

There are two types of filters.

One is to store the result into the original image buffer. In this case, the operate method returns the original image.

Another one is to create a new image buffer. In this case, the original image remains unchanged.


Field Summary
protected  MonitorSet monitor_set
          The set of monitors.
 
Constructor Summary
Filter()
           
 
Method Summary
 void addMonitor(Monitor monitor)
          Adds a monitor.
abstract  MonoImage operate(MonoImage image)
          Operates the image processing filter.
 void setMonitor(Monitor monitor)
          Sets a monitor.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

monitor_set

protected MonitorSet monitor_set
The set of monitors.
Constructor Detail

Filter

public Filter()
Method Detail

setMonitor

public void setMonitor(Monitor monitor)
Sets a monitor.
Parameters:
monitor - the monitor.

addMonitor

public void addMonitor(Monitor monitor)
Adds a monitor.
Parameters:
monitor - the monitor.

operate

public abstract MonoImage operate(MonoImage image)
Operates the image processing filter.
Returns:
the filtered image.