Class SuperResolution
Base class for Super Resolution algorithms.
Implements
Inherited Members
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class SuperResolution : Algorithm, ICvPtrHolder
Constructors
| Improve this Doc View SourceSuperResolution()
Constructor
Declaration
protected SuperResolution()
Properties
| Improve this Doc View SourceAlpha
Parameter of spacial distribution in Bilateral-TV
Declaration
public double Alpha { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
BlurKernelSize
Gaussian blur kernel size
Declaration
public int BlurKernelSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BlurSigma
Gaussian blur sigma
Declaration
public double BlurSigma { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Iterations
Iterations count
Declaration
public int Iterations { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
KernelSize
Kernel size of Bilateral-TV filter
Declaration
public int KernelSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Lambda
Weight parameter to balance data term and smoothness term
Declaration
public double Lambda { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Scale
Scale factor
Declaration
public int Scale { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Tau
Asymptotic value of steepest descent method
Declaration
public double Tau { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TemporalAreaRadius
Radius of the temporal search area
Declaration
public int TemporalAreaRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceCollectGarbage()
Clear all inner buffers.
Declaration
public virtual void CollectGarbage()
CreateBTVL1()
Create Bilateral TV-L1 Super Resolution.
Declaration
public static SuperResolution CreateBTVL1()
Returns
Type | Description |
---|---|
SuperResolution |
CreateBTVL1_CUDA()
Create Bilateral TV-L1 Super Resolution.
Declaration
public static SuperResolution CreateBTVL1_CUDA()
Returns
Type | Description |
---|---|
SuperResolution |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
| Improve this Doc View SourceInitImpl(FrameSource)
Declaration
protected virtual void InitImpl(FrameSource fs)
Parameters
Type | Name | Description |
---|---|---|
FrameSource | fs |
NextFrame(OutputArray)
Process next frame from input and return output result.
Declaration
public virtual void NextFrame(OutputArray frame)
Parameters
Type | Name | Description |
---|---|---|
OutputArray | frame | Output result |
ProcessImpl(FrameSource, OutputArray)
Declaration
protected virtual void ProcessImpl(FrameSource fs, OutputArray output)
Parameters
Type | Name | Description |
---|---|---|
FrameSource | fs | |
OutputArray | output |
Reset()
Declaration
public virtual void Reset()
SetInput(FrameSource)
Set input frame source for Super Resolution algorithm.
Declaration
public virtual void SetInput(FrameSource fs)
Parameters
Type | Name | Description |
---|---|---|
FrameSource | fs | Input frame source |