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 SummaryConstructors Modifier Constructor Description protectedWhiteBalancer(long addr)
 - 
Method SummaryAll 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.Algorithmclear, empty, getDefaultName, getNativeObjAddr, save
 
- 
 
- 
- 
- 
Method Detail- 
__fromPtr__public static WhiteBalancer __fromPtr__(long addr) 
 - 
balanceWhitepublic void balanceWhite(Mat src, Mat dst) Applies white balancing to the input image- Parameters:
- src- Input image
- dst- White balancing result SEE: cvtColor, equalizeHist
 
 
- 
 
-