|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.usp.ime.klava.segmentit.filters.Dilation
public class Dilation
Filter that returns the dilation of the input image, using a square structuring element.
| Constructor Summary | |
|---|---|
Dilation()
|
|
| Method Summary | |
|---|---|
void |
chooseParameters(java.awt.image.BufferedImage image)
Method called when the parameterized filter is selected on the filters menu. |
static int[][] |
dilation(int[][] matrix,
int n)
Returns the gray level dilation of the image represented by matrix. |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage image)
Returns the dilation 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 Dilation()
| Method Detail |
|---|
public java.lang.String getName()
Filter
getName in interface Filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image)
throws ColorImageException
filter in interface Filterfilter in interface GrayLevelFilterimage - the image to be filtered
image by the 3x3
square structuring element
ColorImageExceptionpublic void chooseParameters(java.awt.image.BufferedImage image)
ParameterizedFiltersetFilteredImage on SegmentationContainer.
chooseParameters in interface ParameterizedFilterimage - the original image to be filteredSegmentationContainer.setFilteredImage(BufferedImage, Filter)
public static int[][] dilation(int[][] matrix,
int n)
matrix.
matrix - a matrix of gray levelsn - the number used to calculate the size of the structuring
element
matrix by the (2n+1)x(2
n+1) structuring element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||