|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.image.filter.Filter | +--net.aerith.misao.image.filter.SubtractionFilter
The SubtractionFilter
is an image processing filter to
subtract an image from the base image. The result is stored in the
new image.
Field Summary | |
protected MonoImage |
base_image
The base image. |
protected MapFunction |
map_function
The map function to convert (x,y) on the specified image to (x,y) on the base image. |
Fields inherited from class net.aerith.misao.image.filter.Filter |
monitor_set |
Constructor Summary | |
SubtractionFilter(MonoImage base_image)
Constructs a filter. |
Method Summary | |
MonoImage |
operate(MonoImage image)
Operates the image processing filter and creates the new image buffer. |
void |
setMapFunction(MapFunction map_function)
Sets the map function. |
Methods inherited from class net.aerith.misao.image.filter.Filter |
addMonitor,
setMonitor |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected MonoImage base_image
protected MapFunction map_function
Constructor Detail |
public SubtractionFilter(MonoImage base_image)
base_image
- the base image.Method Detail |
public void setMapFunction(MapFunction map_function)
map_function
- the map function to convert (x,y) on the
specified image to (x,y) on the base image.public MonoImage operate(MonoImage image)
image
- the original image to process.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |