Class TonemapDurand


  • public class TonemapDurand
    extends Tonemap
    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 .
    • Constructor Detail

      • TonemapDurand

        protected TonemapDurand​(long addr)
    • Method Detail

      • __fromPtr__

        public static TonemapDurand __fromPtr__​(long addr)
      • getContrast

        public float getContrast()
      • getSaturation

        public float getSaturation()
      • getSigmaColor

        public float getSigmaColor()
      • getSigmaSpace

        public float getSigmaSpace()
      • setContrast

        public void setContrast​(float contrast)
      • setSaturation

        public void setSaturation​(float saturation)
      • setSigmaColor

        public void setSigmaColor​(float sigma_color)
      • setSigmaSpace

        public void setSigmaSpace​(float sigma_space)
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class Tonemap
        Throws:
        java.lang.Throwable