[−][src]Trait opencv::superres::SuperResolution
Base class for Super Resolution algorithms.
The class is only used to define the common interface for the whole family of Super Resolution algorithms.
Required methods
fn as_raw_SuperResolution(&self) -> *mut c_void
Provided methods
fn set_input(&mut self, frame_source: &PtrOfFrameSource) -> Result<()>
fn next_frame(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>
fn reset(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Clear all inner buffers.
fn get_scale(&self) -> Result<i32>
@see setScale
fn set_scale(&mut self, val: i32) -> Result<()>
@copybrief getScale @see getScale
fn get_iterations(&self) -> Result<i32>
@see setIterations
fn set_iterations(&mut self, val: i32) -> Result<()>
@copybrief getIterations @see getIterations
fn get_tau(&self) -> Result<f64>
@see setTau
fn set_tau(&mut self, val: f64) -> Result<()>
@copybrief getTau @see getTau
fn get_lambda(&self) -> Result<f64>
@see setLambda
fn set_lambda(&mut self, val: f64) -> Result<()>
@copybrief getLambda @see getLambda
fn get_alpha(&self) -> Result<f64>
@see setAlpha
fn set_alpha(&mut self, val: f64) -> Result<()>
@copybrief getAlpha @see getAlpha
fn get_kernel_size(&self) -> Result<i32>
@see setKernelSize
fn set_kernel_size(&mut self, val: i32) -> Result<()>
@copybrief getKernelSize @see getKernelSize
fn get_blur_kernel_size(&self) -> Result<i32>
@see setBlurKernelSize
fn set_blur_kernel_size(&mut self, val: i32) -> Result<()>
@copybrief getBlurKernelSize @see getBlurKernelSize
fn get_blur_sigma(&self) -> Result<f64>
@see setBlurSigma
fn set_blur_sigma(&mut self, val: f64) -> Result<()>
@copybrief getBlurSigma @see getBlurSigma
fn get_temporal_area_radius(&self) -> Result<i32>
@see setTemporalAreaRadius
fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>
@copybrief getTemporalAreaRadius @see getTemporalAreaRadius