picture.filter
Class MorphFilter
java.lang.Object
|
+--picture.DefaultTransformation
|
+--picture.filter.MorphFilter
- All Implemented Interfaces:
- ProgressViewableTransformation, java.io.Serializable, Transformation
- public class MorphFilter
- extends DefaultTransformation
Diese Klasse implementiert Morphfilter.
Das sind Filter, bei denen der neue Wert eines Pixels durch die
umgebenden bestimmt wird. Ergebis ist ein reelles Bild, das aus der
ausgewählten Präsentation gewonnen wurde.
- See Also:
- Serialized Form
Field Summary |
static int |
MAX
|
static int |
MEDIAN
|
static int |
MIN
|
protected int |
r
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MEDIAN
public static final int MEDIAN
MIN
public static final int MIN
MAX
public static final int MAX
r
protected int r
MorphFilter
public MorphFilter()
MorphFilter
public MorphFilter(int type)
getRadius
public int getRadius()
setRadius
public void setRadius(int r)
getType
public int getType()
setType
public void setType(int t)
getNumberOfProgressSteps
public int getNumberOfProgressSteps(Picture p)
- Description copied from interface:
ProgressViewableTransformation
- Bestimmt die Anzahl der Schritte, die bei den aktuellen Einstellungen
auf den ProgressHandler von p ausgeführt werden, wenn
diese Transformation auf p ausgeführt wird.
- Following copied from interface:
picture.ProgressViewableTransformation
- Returns:
- Anzahl der Schritte
of
public Layer of(ProgressHandler ph,
Layer p)
throws PictureException
- Description copied from class:
DefaultTransformation
- Fuehrt die Transformation auf einer Bildebene aus.
- Overrides:
of
in class DefaultTransformation
filterOptionPane
public DialogPane filterOptionPane(javax.swing.JFrame owner,
Picture pic)
throws PictureException
- Liefert einen Optionendialog zurück.
- Overrides:
filterOptionPane
in class DefaultTransformation
- Parameters:
owner
- Parentframepic
- zu berbeitendes Bild- Returns:
- OptionenDialog