Package org.opencv.xphoto
Class SimpleWB
- java.lang.Object
- 
- org.opencv.core.Algorithm
- 
- org.opencv.xphoto.WhiteBalancer
- 
- org.opencv.xphoto.SimpleWB
 
 
 
- 
 public class SimpleWB extends WhiteBalancer A simple white balance algorithm that works by independently stretching each of the input image channels to the specified range. For increased robustness it ignores the top and bottom \(p\%\) of pixel values.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedSimpleWB(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleWB__fromPtr__(long addr)protected voidfinalize()floatgetInputMax()Input image range maximum value SEE: setInputMaxfloatgetInputMin()Input image range minimum value SEE: setInputMinfloatgetOutputMax()Output image range maximum value SEE: setOutputMaxfloatgetOutputMin()Output image range minimum value SEE: setOutputMinfloatgetP()Percent of top/bottom values to ignore SEE: setPvoidsetInputMax(float val)getInputMax SEE: getInputMaxvoidsetInputMin(float val)getInputMin SEE: getInputMinvoidsetOutputMax(float val)getOutputMax SEE: getOutputMaxvoidsetOutputMin(float val)getOutputMin SEE: getOutputMinvoidsetP(float val)getP SEE: getP- 
Methods inherited from class org.opencv.xphoto.WhiteBalancerbalanceWhite
 - 
Methods inherited from class org.opencv.core.Algorithmclear, empty, getDefaultName, getNativeObjAddr, save
 
- 
 
- 
- 
- 
Method Detail- 
__fromPtr__public static SimpleWB __fromPtr__(long addr) 
 - 
getInputMinpublic float getInputMin() Input image range minimum value SEE: setInputMin- Returns:
- automatically generated
 
 - 
setInputMinpublic void setInputMin(float val) getInputMin SEE: getInputMin- Parameters:
- val- automatically generated
 
 - 
getInputMaxpublic float getInputMax() Input image range maximum value SEE: setInputMax- Returns:
- automatically generated
 
 - 
setInputMaxpublic void setInputMax(float val) getInputMax SEE: getInputMax- Parameters:
- val- automatically generated
 
 - 
getOutputMinpublic float getOutputMin() Output image range minimum value SEE: setOutputMin- Returns:
- automatically generated
 
 - 
setOutputMinpublic void setOutputMin(float val) getOutputMin SEE: getOutputMin- Parameters:
- val- automatically generated
 
 - 
getOutputMaxpublic float getOutputMax() Output image range maximum value SEE: setOutputMax- Returns:
- automatically generated
 
 - 
setOutputMaxpublic void setOutputMax(float val) getOutputMax SEE: getOutputMax- Parameters:
- val- automatically generated
 
 - 
getPpublic float getP() Percent of top/bottom values to ignore SEE: setP- Returns:
- automatically generated
 
 - 
setPpublic void setP(float val) getP SEE: getP- Parameters:
- val- automatically generated
 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- WhiteBalancer
- Throws:
- java.lang.Throwable
 
 
- 
 
-