Type Definition opencv::types::PtrOfCLAHE
source · [−]Implementations
sourceimpl PtrOfCLAHE
impl PtrOfCLAHE
pub fn as_raw_PtrOfCLAHE(&self) -> *const c_void
pub fn as_raw_mut_PtrOfCLAHE(&mut self) -> *mut c_void
Trait Implementations
sourceimpl AlgorithmTrait for PtrOfCLAHE
impl AlgorithmTrait for PtrOfCLAHE
sourceimpl AlgorithmTraitConst for PtrOfCLAHE
impl AlgorithmTraitConst for PtrOfCLAHE
fn as_raw_Algorithm(&self) -> *const c_void
sourcefn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
sourcefn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings Stores algorithm parameters in a file storage Read more
sourcefn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
sourcefn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
sourcefn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
sourceimpl CLAHE for PtrOfCLAHE
impl CLAHE for PtrOfCLAHE
fn as_raw_mut_CLAHE(&mut self) -> *mut c_void
sourcefn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
sourcefn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>
fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>
Sets threshold for contrast limiting. Read more
sourcefn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>
fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>
Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
fn collect_garbage(&mut self) -> Result<()>
sourceimpl CLAHEConst for PtrOfCLAHE
impl CLAHEConst for PtrOfCLAHE
fn as_raw_CLAHE(&self) -> *const c_void
sourcefn get_clip_limit(&self) -> Result<f64>
fn get_clip_limit(&self) -> Result<f64>
Returns threshold value for contrast limiting.
sourcefn get_tiles_grid_size(&self) -> Result<Size>
fn get_tiles_grid_size(&self) -> Result<Size>
Returns Size defines the number of tiles in row and column.