Catalano.Imaging.Filters.Artistic
Class FakeHDR
- java.lang.Object
-
- Catalano.Imaging.Filters.Artistic.FakeHDR
-
- All Implemented Interfaces:
- IApplyInPlace
public class FakeHDR extends java.lang.Object implements IApplyInPlace
Fake HDR. Simulate HDR (High Dynamic Range) from single image.
-
-
Constructor Summary
Constructors Constructor and Description FakeHDR()Initialize a new instance of the FakeHDR class.FakeHDR(double percentage)Initialize a new instance of the FakeHDR class.FakeHDR(double desaturation, int sigma, double percentage)Initialize a new instance of the FakeHDR class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetDesaturation()Get desaturation value.doublegetPercentage()Get percentage.intgetSigma()Get sigma.voidsetDesaturation(double desaturation)Set desaturation value.voidsetPercentage(double p)Set percentage.voidsetSigma(int sigma)Set sigma.
-
-
-
Constructor Detail
-
FakeHDR
public FakeHDR()
Initialize a new instance of the FakeHDR class.
-
FakeHDR
public FakeHDR(double percentage)
Initialize a new instance of the FakeHDR class.- Parameters:
percentage- Percentage [0..1].
-
FakeHDR
public FakeHDR(double desaturation, int sigma, double percentage)Initialize a new instance of the FakeHDR class.- Parameters:
desaturation- Desaturation [0..1].sigma- Gaussian value.percentage- Percentage [0..1].
-
-
Method Detail
-
getDesaturation
public double getDesaturation()
Get desaturation value.- Returns:
- Desaturation value.
-
setDesaturation
public void setDesaturation(double desaturation)
Set desaturation value.- Parameters:
desaturation- Desaturation [0..1].
-
getSigma
public int getSigma()
Get sigma.- Returns:
- Sigma.
-
setSigma
public void setSigma(int sigma)
Set sigma.- Parameters:
sigma- Sigma.
-
getPercentage
public double getPercentage()
Get percentage.- Returns:
- Percentage.
-
setPercentage
public void setPercentage(double p)
Set percentage.- Parameters:
p- Percentage [0..1].
-
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