MergeMertens
Objective-C
@interface MergeMertens : MergeExposures
Swift
class MergeMertens : MergeExposures
Pixels are weighted using contrast, saturation and well-exposedness measures, than images are combined using laplacian pyramids.
The resulting image weight is constructed as weighted average of contrast, saturation and well-exposedness measures.
The resulting image doesn’t require tonemapping and can be converted to 8-bit image by multiplying by 255, but it’s recommended to apply gamma correction and/or linear tonemapping.
For more information see CITE: MK07 .
Member of Photo
-
Declaration
Objective-C
- (float)getContrastWeight NS_SWIFT_NAME(getContrastWeight());
Swift
func getContrastWeight() -> Float
-
Declaration
Objective-C
- (float)getExposureWeight NS_SWIFT_NAME(getExposureWeight());
Swift
func getExposureWeight() -> Float
-
Declaration
Objective-C
- (float)getSaturationWeight NS_SWIFT_NAME(getSaturationWeight());
Swift
func getSaturationWeight() -> Float
-
Declaration
Objective-C
- (void)setContrastWeight:(float)contrast_weiht NS_SWIFT_NAME(setContrastWeight(contrast_weiht:));
Swift
func setContrastWeight(contrast_weiht: Float)
-
Declaration
Objective-C
- (void)setExposureWeight:(float)exposure_weight NS_SWIFT_NAME(setExposureWeight(exposure_weight:));
Swift
func setExposureWeight(exposure_weight: Float)
-
Declaration
Objective-C
- (void)setSaturationWeight:(float)saturation_weight NS_SWIFT_NAME(setSaturationWeight(saturation_weight:));
Swift
func setSaturationWeight(saturation_weight: Float)