Catalano.Imaging.Filters.Photometric
Class RetinaModel
- java.lang.Object
-
- Catalano.Imaging.Filters.Photometric.RetinaModel
-
- All Implemented Interfaces:
- IPhotometricFilter, IApplyInPlace
public class RetinaModel extends java.lang.Object implements IPhotometricFilter
Retina modeling normalization.
-
-
Constructor Summary
Constructors Constructor and Description RetinaModel()Initialize a new instance of the RetinaModel class.RetinaModel(double sigma1, double sigma2, double dogSigma1, double dogSigma2, double threshold)Initialize a new instance of the RetinaModel class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetDogSigma1()Get DoG sigma 1.doublegetDogSigma2()Get DoG sigma 2.doublegetSigma1()Get Sigma 1.doublegetSigma2()Get Sigma 2.doublegetThreshold()Get threshold.voidsetDogSigma1(double dogSigma1)Set DoG sigma 1.voidsetDogSigma2(double dogSigma2)Set DoG sigma 2.voidsetSigma1(double sigma1)Set Sigma 1.voidsetSigma2(double sigma2)Set Sigma 2.voidsetThreshold(double threshold)Set threshold value.
-
-
-
Constructor Detail
-
RetinaModel
public RetinaModel()
Initialize a new instance of the RetinaModel class. Default: Sigma1 = 1 Sigma2 = 3 DoG Sigma1 = 0.5 DoG Sigma2 = 4 Threshold = 5
-
RetinaModel
public RetinaModel(double sigma1, double sigma2, double dogSigma1, double dogSigma2, double threshold)Initialize a new instance of the RetinaModel class.- Parameters:
sigma1- Sigma 1.sigma2- Sigma 2.dogSigma1- DoG Sigma 1.dogSigma2- DoG Sigma 2.threshold- Threshold.
-
-
Method Detail
-
getSigma1
public double getSigma1()
Get Sigma 1.- Returns:
- Sigma value.
-
setSigma1
public void setSigma1(double sigma1)
Set Sigma 1.- Parameters:
sigma1- Sigma value.
-
getSigma2
public double getSigma2()
Get Sigma 2.- Returns:
- Sigma value.
-
setSigma2
public void setSigma2(double sigma2)
Set Sigma 2.- Parameters:
sigma1- Sigma value.
-
getDogSigma1
public double getDogSigma1()
Get DoG sigma 1.- Returns:
- DoG sigma 1.
-
setDogSigma1
public void setDogSigma1(double dogSigma1)
Set DoG sigma 1.- Parameters:
dogSigma1- DoG sigma 1.
-
getDogSigma2
public double getDogSigma2()
Get DoG sigma 2.- Returns:
- DoG sigma 2.
-
setDogSigma2
public void setDogSigma2(double dogSigma2)
Set DoG sigma 2.- Parameters:
dogSigma1- DoG sigma 2.
-
getThreshold
public double getThreshold()
Get threshold.- Returns:
- Threshold value.
-
setThreshold
public void setThreshold(double threshold)
Set threshold value.- Parameters:
threshold- Threshold value.
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIPhotometricFilter- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG