Catalano.Imaging.Filters
Class WolfJolionThreshold
- java.lang.Object
-
- Catalano.Imaging.Filters.WolfJolionThreshold
-
- All Implemented Interfaces:
- IApplyInPlace
public class WolfJolionThreshold extends java.lang.Object implements IApplyInPlace
Wolf Jolion Threshold. References: http://liris.cnrs.fr/christian.wolf/papers/icpr2002v.pdf
-
-
Constructor Summary
Constructors Constructor and Description WolfJolionThreshold()Initialize a new instance of the WolfJolionThreshold class.WolfJolionThreshold(double k, double r)Initialize a new instance of the WolfJolionThreshold class.WolfJolionThreshold(int radius)Initialize a new instance of the WolfJolionThreshold class.WolfJolionThreshold(int radius, double k, double r)Initialize a new instance of the WolfThreshold class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetK()Get parameter K.doublegetR()Get parameter R.intgetRadius()Get Radius.voidsetK(double k)Set parameter K.voidsetR(double r)Set parameter R.voidsetRadius(int radius)Set Radius.
-
-
-
Constructor Detail
-
WolfJolionThreshold
public WolfJolionThreshold()
Initialize a new instance of the WolfJolionThreshold class.
-
WolfJolionThreshold
public WolfJolionThreshold(int radius)
Initialize a new instance of the WolfJolionThreshold class.- Parameters:
radius- Radius.
-
WolfJolionThreshold
public WolfJolionThreshold(double k, double r)Initialize a new instance of the WolfJolionThreshold class.- Parameters:
k- Parameter K.r- Parameter R.
-
WolfJolionThreshold
public WolfJolionThreshold(int radius, double k, double r)Initialize a new instance of the WolfThreshold class.- Parameters:
radius- Radius.k- Parameter K.r- Parameter R.
-
-
Method Detail
-
getRadius
public int getRadius()
Get Radius.- Returns:
- Radius.
-
setRadius
public void setRadius(int radius)
Set Radius.- Parameters:
radius- Radius.
-
getK
public double getK()
Get parameter K.- Returns:
- K value.
-
setK
public void setK(double k)
Set parameter K.- Parameters:
k- K value.
-
getR
public double getR()
Get parameter R.- Returns:
- R value.
-
setR
public void setR(double r)
Set parameter R.- Parameters:
r- R value.
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG