Class TonemapDurand
- Namespace
- OpenCvSharp.XPhoto
- Assembly
- OpenCvSharp.dll
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 .
public sealed class TonemapDurand : Tonemap, IDisposable
- Inheritance
-
TonemapDurand
- Implements
- Inherited Members
Properties
- Contrast
Gets or sets resulting contrast on logarithmic scale, i. e. log(max / min), where max and min
- Saturation
Gets or sets positive saturation enhancement value. 1.0 preserves saturation, values greater than 1 increase saturation and values less than 1 decrease it.
- SigmaColor
Gets or sets bilateral filter sigma in color space
- SigmaSpace
Gets or sets bilateral filter sigma in coordinate space
Methods
- Create(float, float, float, float, float)
Creates TonemapDurand object