Package 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWhiteBalancer(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WhiteBalancer__fromPtr__(long addr)voidbalanceWhite(Mat src, Mat dst)Applies white balancing to the input imageprotected voidfinalize()-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
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 imagedst- White balancing result SEE: cvtColor, equalizeHist
-
-