Class Tonemap

Direct Known Subclasses:
TonemapDrago, TonemapDurand, TonemapMantiuk, TonemapReinhard

public class Tonemap extends Algorithm
Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
  • Constructor Details

    • Tonemap

      protected Tonemap(long addr)
  • Method Details

    • __fromPtr__

      public static Tonemap __fromPtr__(long addr)
    • process

      public void process(Mat src, Mat dst)
      Tonemaps image
      Parameters:
      src - source image - CV_32FC3 Mat (float 32 bits 3 channels)
      dst - destination image - CV_32FC3 Mat with values in [0, 1] range
    • getGamma

      public float getGamma()
    • setGamma

      public void setGamma(float gamma)
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Algorithm
      Throws:
      Throwable