|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.usp.ime.klava.segmentit.filters.WeightedGradient
public class WeightedGradient
Filter that returns the weighted gradient of the input image, using the 3x3 square structuring element.
Constructor Summary | |
---|---|
WeightedGradient()
|
Method Summary | |
---|---|
void |
chooseParameters(java.awt.image.BufferedImage image)
Method called when the parameterized filter is selected on the filters menu. |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage image)
Returns the weighted gradient of the input image. |
java.lang.String |
getName()
Returns the name of the filter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeightedGradient()
Method Detail |
---|
public java.lang.String getName()
Filter
getName
in interface Filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image)
filter
in interface ColorFilter
filter
in interface Filter
image
- the image to be filtered
image
public void chooseParameters(java.awt.image.BufferedImage image)
ParameterizedFilter
setFilteredImage
on SegmentationContainer
.
chooseParameters
in interface ParameterizedFilter
image
- the original image to be filteredSegmentationContainer.setFilteredImage(BufferedImage, Filter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |