public class Dilate extends java.lang.Object implements PostProcessor
Modifier and Type | Field and Description |
---|---|
(package private) int |
iteration |
Constructor and Description |
---|
Dilate() |
Dilate(int iteration)
Using this constructor you can set the number of iterations.
|
Modifier and Type | Method and Description |
---|---|
int |
getIteration()
Returns the number of iterations.
|
java.lang.String |
getName()
Returns the name of the process.
|
CustomisableProcess |
getNewInstance()
Returns a new Instance of the original object.
|
BooleanImage |
processImage(BooleanImage imp)
This function carries out postprocessing.
|
void |
setIteration(int iteration)
Sets the number of iterations.
|
void |
showGUI()
Shows the GUI if it exists.
|
java.lang.String |
toString() |
public Dilate()
public Dilate(int iteration)
iteration
- number of iterations.public CustomisableProcess getNewInstance()
CustomisableProcess
getNewInstance
in interface CustomisableProcess
public java.lang.String getName()
CustomisableProcess
getName
in interface CustomisableProcess
public void showGUI()
CustomisableProcess
showGUI
in interface CustomisableProcess
public BooleanImage processImage(BooleanImage imp)
PostProcessor
processImage
in interface PostProcessor
public int getIteration()
public void setIteration(int iteration)
iteration
- public java.lang.String toString()
toString
in class java.lang.Object