TonemapDurand
This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter and compresses contrast of the base layer thus preserving all the details.
This implementation uses regular bilateral filter from OpenCV.
Saturation enhancement is possible as in cv::TonemapDrago.
For more information see CITE: DD02 .
Member of Xphoto
-
Declaration
Objective-C
- (float)getContrast NS_SWIFT_NAME(getContrast());
Swift
func getContrast() -> Float
-
Declaration
Objective-C
- (float)getSaturation NS_SWIFT_NAME(getSaturation());
Swift
func getSaturation() -> Float
-
Declaration
Objective-C
- (float)getSigmaColor NS_SWIFT_NAME(getSigmaColor());
Swift
func getSigmaColor() -> Float
-
Declaration
Objective-C
- (float)getSigmaSpace NS_SWIFT_NAME(getSigmaSpace());
Swift
func getSigmaSpace() -> Float
-
Declaration
Objective-C
- (void)setContrast:(float)contrast NS_SWIFT_NAME(setContrast(contrast:));
Swift
func setContrast(contrast: Float)
-
Declaration
Objective-C
- (void)setSaturation:(float)saturation NS_SWIFT_NAME(setSaturation(saturation:));
Swift
func setSaturation(saturation: Float)
-
Declaration
Objective-C
- (void)setSigmaColor:(float)sigma_color NS_SWIFT_NAME(setSigmaColor(sigma_color:));
Swift
func setSigmaColor(sigma_color: Float)
-
Declaration
Objective-C
- (void)setSigmaSpace:(float)sigma_space NS_SWIFT_NAME(setSigmaSpace(sigma_space:));
Swift
func setSigmaSpace(sigma_space: Float)