Table of Contents

Class SuperResolution

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Base class for Super Resolution algorithms.

public class SuperResolution : Algorithm, IDisposable, ICvPtrHolder
Inheritance
SuperResolution
Implements
Inherited Members

Constructors

SuperResolution()

Constructor

protected SuperResolution()

Properties

Alpha

Parameter of spacial distribution in Bilateral-TV

public double Alpha { get; set; }

Property Value

double

BlurKernelSize

Gaussian blur kernel size

public int BlurKernelSize { get; set; }

Property Value

int

BlurSigma

Gaussian blur sigma

public double BlurSigma { get; set; }

Property Value

double

Iterations

Iterations count

public int Iterations { get; set; }

Property Value

int

KernelSize

Kernel size of Bilateral-TV filter

public int KernelSize { get; set; }

Property Value

int

Lambda

Weight parameter to balance data term and smoothness term

public double Lambda { get; set; }

Property Value

double

Scale

Scale factor

public int Scale { get; set; }

Property Value

int

Tau

Asymptotic value of steepest descent method

public double Tau { get; set; }

Property Value

double

TemporalAreaRadius

Radius of the temporal search area

public int TemporalAreaRadius { get; set; }

Property Value

int

Methods

CollectGarbage()

Clear all inner buffers.

public virtual void CollectGarbage()

CreateBTVL1()

Create Bilateral TV-L1 Super Resolution.

public static SuperResolution CreateBTVL1()

Returns

SuperResolution

CreateBTVL1_CUDA()

Create Bilateral TV-L1 Super Resolution.

public static SuperResolution CreateBTVL1_CUDA()

Returns

SuperResolution

DisposeManaged()

Releases managed resources

protected override void DisposeManaged()

InitImpl(FrameSource)

protected virtual void InitImpl(FrameSource fs)

Parameters

fs FrameSource

NextFrame(OutputArray)

Process next frame from input and return output result.

public virtual void NextFrame(OutputArray frame)

Parameters

frame OutputArray

Output result

ProcessImpl(FrameSource, OutputArray)

protected virtual void ProcessImpl(FrameSource fs, OutputArray output)

Parameters

fs FrameSource
output OutputArray

Reset()

public virtual void Reset()

SetInput(FrameSource)

Set input frame source for Super Resolution algorithm.

public virtual void SetInput(FrameSource fs)

Parameters

fs FrameSource

Input frame source