Class WhiteBalancer

java.lang.Object
org.opencv.core.Algorithm
org.opencv.xphoto.WhiteBalancer
Direct Known Subclasses:
GrayworldWB, LearningBasedWB, SimpleWB

public class WhiteBalancer extends Algorithm
The base class for auto white balance algorithms.
  • Constructor Details

    • WhiteBalancer

      protected WhiteBalancer(long addr)
  • Method Details

    • __fromPtr__

      public static WhiteBalancer __fromPtr__(long addr)
    • balanceWhite

      public void balanceWhite(Mat src, Mat dst)
      Applies white balancing to the input image
      Parameters:
      src - Input image
      dst - White balancing result SEE: cvtColor, equalizeHist
    • finalize

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