org.opencv.xphoto

## 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.

- - ### Field Summary

    - ### Fields inherited from class org.opencv.core.Algorithm

      `nativeObj`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `WhiteBalancer(long addr)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static WhiteBalancer` | `__fromPtr__(long addr)`
    `void` | `balanceWhite(Mat src, Mat dst)` Applies white balancing to the input image
    `protected void` | `finalize()`

    - ### Methods inherited from class org.opencv.core.Algorithm

      `clear, empty, getDefaultName, getNativeObjAddr, save`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WhiteBalancer

          protected WhiteBalancer(long addr)

  - ### Method Detail

    - #### __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`

Generated on Thu Jul 25 2019 21:39:44 UTC / OpenCV 3.4.7