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