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
BlurKernelSize
Gaussian blur kernel size
public int BlurKernelSize { get; set; }
Property Value
BlurSigma
Gaussian blur sigma
public double BlurSigma { get; set; }
Property Value
Iterations
Iterations count
public int Iterations { get; set; }
Property Value
KernelSize
Kernel size of Bilateral-TV filter
public int KernelSize { get; set; }
Property Value
Lambda
Weight parameter to balance data term and smoothness term
public double Lambda { get; set; }
Property Value
Scale
Scale factor
public int Scale { get; set; }
Property Value
Tau
Asymptotic value of steepest descent method
public double Tau { get; set; }
Property Value
TemporalAreaRadius
Radius of the temporal search area
public int TemporalAreaRadius { get; set; }
Property Value
Methods
CollectGarbage()
Clear all inner buffers.
public virtual void CollectGarbage()
CreateBTVL1()
Create Bilateral TV-L1 Super Resolution.
public static SuperResolution CreateBTVL1()
Returns
CreateBTVL1_CUDA()
Create Bilateral TV-L1 Super Resolution.
public static SuperResolution CreateBTVL1_CUDA()
Returns
DisposeManaged()
Releases managed resources
protected override void DisposeManaged()
InitImpl(FrameSource)
protected virtual void InitImpl(FrameSource fs)
Parameters
fsFrameSource
NextFrame(OutputArray)
Process next frame from input and return output result.
public virtual void NextFrame(OutputArray frame)
Parameters
frameOutputArrayOutput result
ProcessImpl(FrameSource, OutputArray)
protected virtual void ProcessImpl(FrameSource fs, OutputArray output)
Parameters
fsFrameSourceoutputOutputArray
Reset()
public virtual void Reset()
SetInput(FrameSource)
Set input frame source for Super Resolution algorithm.
public virtual void SetInput(FrameSource fs)
Parameters
fsFrameSourceInput frame source