pub trait SuperRes_SuperResolutionTrait:
AlgorithmTrait
+ SuperRes_FrameSourceTrait
+ SuperRes_SuperResolutionTraitConst {
Show 15 methods
// Required method
fn as_raw_mut_SuperRes_SuperResolution(&mut self) -> *mut c_void;
// Provided methods
fn set_input(
&mut self,
frame_source: &Ptr<SuperRes_FrameSource>,
) -> Result<()> { ... }
fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()> { ... }
fn reset(&mut self) -> Result<()> { ... }
fn collect_garbage(&mut self) -> Result<()> { ... }
fn set_scale(&mut self, val: i32) -> Result<()> { ... }
fn set_iterations(&mut self, val: i32) -> Result<()> { ... }
fn set_tau(&mut self, val: f64) -> Result<()> { ... }
fn set_lambda(&mut self, val: f64) -> Result<()> { ... }
fn set_alpha(&mut self, val: f64) -> Result<()> { ... }
fn set_kernel_size(&mut self, val: i32) -> Result<()> { ... }
fn set_blur_kernel_size(&mut self, val: i32) -> Result<()> { ... }
fn set_blur_sigma(&mut self, val: f64) -> Result<()> { ... }
fn set_temporal_area_radius(&mut self, val: i32) -> Result<()> { ... }
fn set_optical_flow(
&mut self,
val: &Ptr<SuperRes_DenseOpticalFlowExt>,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::superres::SuperRes_SuperResolution
Required Methods§
fn as_raw_mut_SuperRes_SuperResolution(&mut self) -> *mut c_void
Provided Methods§
Sourcefn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>
fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>
fn reset(&mut self) -> Result<()>
Sourcefn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Clear all inner buffers.
Sourcefn set_iterations(&mut self, val: i32) -> Result<()>
fn set_iterations(&mut self, val: i32) -> Result<()>
Sourcefn set_lambda(&mut self, val: f64) -> Result<()>
fn set_lambda(&mut self, val: f64) -> Result<()>
Sourcefn set_kernel_size(&mut self, val: i32) -> Result<()>
fn set_kernel_size(&mut self, val: i32) -> Result<()>
Sourcefn set_blur_kernel_size(&mut self, val: i32) -> Result<()>
fn set_blur_kernel_size(&mut self, val: i32) -> Result<()>
Sourcefn set_blur_sigma(&mut self, val: f64) -> Result<()>
fn set_blur_sigma(&mut self, val: f64) -> Result<()>
Sourcefn set_temporal_area_radius(&mut self, val: i32) -> Result<()>
fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>
Sourcefn set_optical_flow(
&mut self,
val: &Ptr<SuperRes_DenseOpticalFlowExt>,
) -> Result<()>
fn set_optical_flow( &mut self, val: &Ptr<SuperRes_DenseOpticalFlowExt>, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.