public class LearningBasedWB extends WhiteBalancer
Modifier | Constructor and Description |
---|---|
protected |
LearningBasedWB(long addr) |
Modifier and Type | Method and Description |
---|---|
static LearningBasedWB |
__fromPtr__(long addr) |
void |
extractSimpleFeatures(Mat src,
Mat dst)
Implements the feature extraction part of the algorithm.
|
protected void |
finalize() |
int |
getHistBinNum()
Defines the size of one dimension of a three-dimensional RGB histogram that is used internally
by the algorithm.
|
int |
getRangeMaxVal()
Maximum possible value of the input image (e.g.
|
float |
getSaturationThreshold()
Threshold that is used to determine saturated pixels, i.e.
|
void |
setHistBinNum(int val)
getHistBinNum SEE: getHistBinNum
|
void |
setRangeMaxVal(int val)
getRangeMaxVal SEE: getRangeMaxVal
|
void |
setSaturationThreshold(float val)
getSaturationThreshold SEE: getSaturationThreshold
|
balanceWhite
clear, empty, getDefaultName, getNativeObjAddr, save
public static LearningBasedWB __fromPtr__(long addr)
public float getSaturationThreshold()
public int getHistBinNum()
public int getRangeMaxVal()
public void extractSimpleFeatures(Mat src, Mat dst)
src
- Input three-channel image (BGR color space is assumed).dst
- An array of four (r,g) chromaticity tuples corresponding to the features listed above.public void setHistBinNum(int val)
val
- automatically generatedpublic void setRangeMaxVal(int val)
val
- automatically generatedpublic void setSaturationThreshold(float val)
val
- automatically generatedprotected void finalize() throws Throwable
finalize
in class WhiteBalancer
Throwable
Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2