|
|||||||||
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.RescaleFilter
The RescaleFilter
is an image processing filter to
rescale the image into the specified size and creates a new image
buffer. If the size is not specified, the new image is the same as
the original size. The result is stored in the new image.
Field Summary | |
protected Size |
size
The new size to rescale. |
Fields inherited from class net.aerith.misao.image.filter.Filter |
monitor_set |
Constructor Summary | |
RescaleFilter()
Constructs a filter. |
|
RescaleFilter(Size new_size)
Constructs a filter with new size. |
Method Summary | |
MonoImage |
operate(MonoImage image)
Operates the image processing filter and creates the new image buffer. |
void |
setSize(Size new_size)
Sets the new size to rescale. |
Methods inherited from class net.aerith.misao.image.filter.Filter |
addMonitor,
setMonitor |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected Size size
Constructor Detail |
public RescaleFilter()
public RescaleFilter(Size new_size)
new_size
- the new size to rescale.Method Detail |
public void setSize(Size new_size)
new_size
- the new size to rescale.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 |