Interface MorphologyRable
- All Superinterfaces:
Filter, RenderableImage
- All Known Implementing Classes:
MorphologyRable8Bit
Implements a Morphology operation, where the kernel size is
defined by radius along the x and y axis.
- Version:
- $Id$
-
Field Summary
Fields inherited from interface RenderableImage
HINTS_OBSERVED -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the operation is "dilation" or not("erosion")doubleReturns the radius along the x-axis, in user space.doubleReturns the radius along the y-axis, in user space.Returns the source to be offset.voidsetDoDilation(boolean doDilation) The switch that determines if the operation is to "dilate" or "erode".voidsetRadiusX(double radiusX) The radius along the x axis, in user space.voidsetRadiusY(double radiusY) The radius along the y axis, in user space.voidSets the source to be offset.Methods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Method Details
-
getSource
Filter getSource()Returns the source to be offset. -
setSource
-
setRadiusX
void setRadiusX(double radiusX) The radius along the x axis, in user space.- Parameters:
radiusX- should be greater than zero.
-
setRadiusY
void setRadiusY(double radiusY) The radius along the y axis, in user space.- Parameters:
radiusY- should be greater than zero.
-
setDoDilation
void setDoDilation(boolean doDilation) The switch that determines if the operation is to "dilate" or "erode".- Parameters:
doDilation- do "dilation" when true and "erosion" when false
-
getDoDilation
boolean getDoDilation()Returns whether the operation is "dilation" or not("erosion") -
getRadiusX
double getRadiusX()Returns the radius along the x-axis, in user space. -
getRadiusY
double getRadiusY()Returns the radius along the y-axis, in user space.
-