Trait opencv::prelude::LearningBasedWBTraitConst
source · pub trait LearningBasedWBTraitConst: WhiteBalancerTraitConst {
// Required method
fn as_raw_LearningBasedWB(&self) -> *const c_void;
// Provided methods
fn get_range_max_val(&self) -> Result<i32> { ... }
fn get_saturation_threshold(&self) -> Result<f32> { ... }
fn get_hist_bin_num(&self) -> Result<i32> { ... }
}Expand description
Constant methods for crate::xphoto::LearningBasedWB
Required Methods§
fn as_raw_LearningBasedWB(&self) -> *const c_void
Provided Methods§
sourcefn get_range_max_val(&self) -> Result<i32>
fn get_range_max_val(&self) -> Result<i32>
Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images)
See also
setRangeMaxVal
sourcefn get_saturation_threshold(&self) -> Result<f32>
fn get_saturation_threshold(&self) -> Result<f32>
Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the
channels exceeds are ignored.
See also
setSaturationThreshold
sourcefn get_hist_bin_num(&self) -> Result<i32>
fn get_hist_bin_num(&self) -> Result<i32>
Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth (e.g. 256 bins for a 12 bit image).
See also
setHistBinNum