pub trait Superres_SuperResolution: AlgorithmTrait + Superres_FrameSource + Superres_SuperResolutionConst {
Show 15 methods fn as_raw_mut_Superres_SuperResolution(&mut self) -> *mut c_void; fn set_input(
        &mut self,
        frame_source: &Ptr<dyn Superres_FrameSource>
    ) -> Result<()> { ... } fn next_frame(&mut self, frame: &mut dyn 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<dyn Superres_DenseOpticalFlowExt>
    ) -> Result<()> { ... }
}

Required Methods

Provided Methods

Set input frame source for Super Resolution algorithm.

Parameters
  • frameSource: Input frame source

Process next frame from input and return output result.

Parameters
  • frame: Output result

Clear all inner buffers.

Scale factor

See also

setScale getScale

Iterations count

See also

setIterations getIterations

Asymptotic value of steepest descent method

See also

setTau getTau

Weight parameter to balance data term and smoothness term

See also

setLambda getLambda

Parameter of spacial distribution in Bilateral-TV

See also

setAlpha getAlpha

Kernel size of Bilateral-TV filter

See also

setKernelSize getKernelSize

Gaussian blur kernel size

See also

setBlurKernelSize getBlurKernelSize

Gaussian blur sigma

See also

setBlurSigma getBlurSigma

Radius of the temporal search area

See also

setTemporalAreaRadius getTemporalAreaRadius

Dense optical flow algorithm

See also

setOpticalFlow getOpticalFlow

Implementors