Base class for Super Resolution algorithms. More...
#include <opencv2/superres.hpp>
Public Member Functions | |
virtual void | collectGarbage () |
Clear all inner buffers. | |
virtual double | getAlpha () const =0 |
Parameter of spacial distribution in Bilateral-TV. | |
virtual int | getBlurKernelSize () const =0 |
Gaussian blur kernel size. | |
virtual double | getBlurSigma () const =0 |
Gaussian blur sigma. | |
virtual int | getIterations () const =0 |
Iterations count. | |
virtual int | getKernelSize () const =0 |
Kernel size of Bilateral-TV filter. | |
virtual double | getLambda () const =0 |
Weight parameter to balance data term and smoothness term. | |
virtual Ptr< cv::superres::DenseOpticalFlowExt > | getOpticalFlow () const =0 |
Dense optical flow algorithm. | |
virtual int | getScale () const =0 |
Scale factor. | |
virtual double | getTau () const =0 |
Asymptotic value of steepest descent method. | |
virtual int | getTemporalAreaRadius () const =0 |
Radius of the temporal search area. | |
void | nextFrame (OutputArray frame) CV_OVERRIDE |
Process next frame from input and return output result. | |
void | reset () CV_OVERRIDE |
virtual void | setAlpha (double val)=0 |
Parameter of spacial distribution in Bilateral-TV. | |
virtual void | setBlurKernelSize (int val)=0 |
Gaussian blur kernel size. | |
virtual void | setBlurSigma (double val)=0 |
Gaussian blur sigma. | |
void | setInput (const Ptr< FrameSource > &frameSource) |
Set input frame source for Super Resolution algorithm. | |
virtual void | setIterations (int val)=0 |
Iterations count. | |
virtual void | setKernelSize (int val)=0 |
Kernel size of Bilateral-TV filter. | |
virtual void | setLambda (double val)=0 |
Weight parameter to balance data term and smoothness term. | |
virtual void | setOpticalFlow (const Ptr< cv::superres::DenseOpticalFlowExt > &val)=0 |
Dense optical flow algorithm. | |
virtual void | setScale (int val)=0 |
Scale factor. | |
virtual void | setTau (double val)=0 |
Asymptotic value of steepest descent method. | |
virtual void | setTemporalAreaRadius (int val)=0 |
Radius of the temporal search area. | |
Public Member Functions inherited from cv::Algorithm | |
Algorithm () | |
virtual | ~Algorithm () |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual String | getDefaultName () const |
virtual void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. | |
virtual void | save (const String &filename) const |
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage. | |
void | write (FileStorage &fs, const String &name) const |
Public Member Functions inherited from cv::superres::FrameSource | |
virtual | ~FrameSource () |
virtual void | nextFrame (OutputArray frame)=0 |
virtual void | reset ()=0 |
Protected Member Functions | |
SuperResolution () | |
virtual void | initImpl (Ptr< FrameSource > &frameSource)=0 |
virtual void | processImpl (Ptr< FrameSource > &frameSource, OutputArray output)=0 |
Protected Member Functions inherited from cv::Algorithm | |
void | writeFormat (FileStorage &fs) const |
Protected Attributes | |
bool | isUmat_ |
Additional Inherited Members | |
Static Public Member Functions inherited from cv::Algorithm | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file. | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String. | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. | |
Detailed Description
Base class for Super Resolution algorithms.
The class is only used to define the common interface for the whole family of Super Resolution algorithms.
Constructor & Destructor Documentation
◆ SuperResolution()
|
protected |
Member Function Documentation
◆ collectGarbage()
|
virtual |
Clear all inner buffers.
◆ getAlpha()
|
pure virtual |
Parameter of spacial distribution in Bilateral-TV.
- See also
- setAlpha
◆ getBlurKernelSize()
|
pure virtual |
Gaussian blur kernel size.
- See also
- setBlurKernelSize
◆ getBlurSigma()
|
pure virtual |
Gaussian blur sigma.
- See also
- setBlurSigma
◆ getIterations()
|
pure virtual |
Iterations count.
- See also
- setIterations
◆ getKernelSize()
|
pure virtual |
Kernel size of Bilateral-TV filter.
- See also
- setKernelSize
◆ getLambda()
|
pure virtual |
Weight parameter to balance data term and smoothness term.
- See also
- setLambda
◆ getOpticalFlow()
|
pure virtual |
Dense optical flow algorithm.
- See also
- setOpticalFlow
◆ getScale()
|
pure virtual |
Scale factor.
- See also
- setScale
◆ getTau()
|
pure virtual |
Asymptotic value of steepest descent method.
- See also
- setTau
◆ getTemporalAreaRadius()
|
pure virtual |
Radius of the temporal search area.
- See also
- setTemporalAreaRadius
◆ initImpl()
|
protectedpure virtual |
◆ nextFrame()
|
virtual |
Process next frame from input and return output result.
- Parameters
-
frame Output result
Implements cv::superres::FrameSource.
◆ processImpl()
|
protectedpure virtual |
◆ reset()
|
virtual |
Implements cv::superres::FrameSource.
◆ setAlpha()
|
pure virtual |
Parameter of spacial distribution in Bilateral-TV.
- See also
- getAlpha
◆ setBlurKernelSize()
|
pure virtual |
Gaussian blur kernel size.
- See also
- getBlurKernelSize
◆ setBlurSigma()
|
pure virtual |
Gaussian blur sigma.
- See also
- getBlurSigma
◆ setInput()
void cv::superres::SuperResolution::setInput | ( | const Ptr< FrameSource > & | frameSource | ) |
Set input frame source for Super Resolution algorithm.
- Parameters
-
frameSource Input frame source
◆ setIterations()
|
pure virtual |
Iterations count.
- See also
- getIterations
◆ setKernelSize()
|
pure virtual |
Kernel size of Bilateral-TV filter.
- See also
- getKernelSize
◆ setLambda()
|
pure virtual |
Weight parameter to balance data term and smoothness term.
- See also
- getLambda
◆ setOpticalFlow()
|
pure virtual |
Dense optical flow algorithm.
- See also
- getOpticalFlow
◆ setScale()
|
pure virtual |
Scale factor.
- See also
- getScale
◆ setTau()
|
pure virtual |
Asymptotic value of steepest descent method.
- See also
- getTau
◆ setTemporalAreaRadius()
|
pure virtual |
Radius of the temporal search area.
- See also
- getTemporalAreaRadius
Member Data Documentation
◆ isUmat_
|
protected |
The documentation for this class was generated from the following file:
- opencv2/superres.hpp