|
|||||||||
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.FillIllegalRowAndColumnFilter
The FillIllegalRowAndColumnFilter
is an image
processing filter to fill the illegal rows and columns with the
median pixel value. In the case of some astronomical images, some
pixels from the edges have illegal value, which are too white or
too black. They will cause threshold estimation failure or too many
noises detection, which leads to fail the star detection or
matching process. So in general, every image must be corrected
previously by this filter before star detection. The result is
stored in the original image.
Field Summary | |
protected boolean |
decrease_enabled
True when possible to decrease pixel value. |
protected boolean |
modified_decreased
True when the image is modified, pixel value is decreased. |
protected boolean |
modified_horizontal
True when some rows are modified. |
protected boolean |
modified_increased
True when the image is modified, pixel value is increased. |
protected boolean |
modified_vertical
True when some columns are modified. |
Fields inherited from class net.aerith.misao.image.filter.Filter |
monitor_set |
Constructor Summary | |
FillIllegalRowAndColumnFilter()
Constructs a filter. |
Method Summary | |
boolean |
isModified()
Returns true when the image is modified. |
boolean |
isModifiedDecreased()
Returns true when the image is modified, pixel value is decreased. |
boolean |
isModifiedHorizontal()
Returns true when some rows are modified. |
boolean |
isModifiedIncreased()
Returns true when the image is modified, pixel value is increased. |
boolean |
isModifiedVertical()
Returns true when some columns are modified. |
MonoImage |
operate(MonoImage image)
Operates the image processing filter and stores the result into the original image buffer. |
void |
setDecreaseEnabled(boolean flag)
Sets the flag to decrease pixel value. |
Methods inherited from class net.aerith.misao.image.filter.Filter |
addMonitor,
setMonitor |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected boolean decrease_enabled
protected boolean modified_increased
protected boolean modified_decreased
protected boolean modified_horizontal
protected boolean modified_vertical
Constructor Detail |
public FillIllegalRowAndColumnFilter()
Method Detail |
public void setDecreaseEnabled(boolean flag)
flag
- true when possible to decrease pixel value.public boolean isModified()
public boolean isModifiedIncreased()
public boolean isModifiedDecreased()
public boolean isModifiedHorizontal()
public boolean isModifiedVertical()
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 |