Class cv::superres::SuperResolution#
Base class for Super Resolution algorithms. View details
#include <opencv2/superres.hpp>Collaboration diagram for cv::superres::SuperResolution:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Public Member Functions inherited from cv::superres::FrameSource
Return |
Name |
Description |
|---|---|---|
|
||
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
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()#
cv::superres::SuperResolution::SuperResolution()
Member Function Documentation#
collectGarbage()#
void cv::superres::SuperResolution::collectGarbage()
Clear all inner buffers.
getAlpha()#
double cv::superres::SuperResolution::getAlpha()
Parameter of spacial distribution in Bilateral-TV.
See also
getBlurKernelSize()#
int cv::superres::SuperResolution::getBlurKernelSize()
Gaussian blur kernel size.
See also
getBlurSigma()#
double cv::superres::SuperResolution::getBlurSigma()
Gaussian blur sigma.
See also
getIterations()#
int cv::superres::SuperResolution::getIterations()
Iterations count.
See also
getKernelSize()#
int cv::superres::SuperResolution::getKernelSize()
Kernel size of Bilateral-TV filter.
See also
getLambda()#
double cv::superres::SuperResolution::getLambda()
Weight parameter to balance data term and smoothness term.
See also
getOpticalFlow()#
Ptr< cv::superres::DenseOpticalFlowExt > cv::superres::SuperResolution::getOpticalFlow()
Dense optical flow algorithm.
See also
getScale()#
int cv::superres::SuperResolution::getScale()
Scale factor.
See also
getTau()#
double cv::superres::SuperResolution::getTau()
Asymptotic value of steepest descent method.
See also
getTemporalAreaRadius()#
int cv::superres::SuperResolution::getTemporalAreaRadius()
Radius of the temporal search area.
See also
nextFrame()#
void cv::superres::SuperResolution::nextFrame(OutputArray frame)
Process next frame from input and return output result.
Parameters
frame— Output result
reset()#
void cv::superres::SuperResolution::reset()
setAlpha()#
void cv::superres::SuperResolution::setAlpha(double val)
Parameter of spacial distribution in Bilateral-TV.
See also
setBlurKernelSize()#
void cv::superres::SuperResolution::setBlurKernelSize(int val)
Gaussian blur kernel size.
See also
setBlurSigma()#
void cv::superres::SuperResolution::setBlurSigma(double val)
Gaussian blur sigma.
See also
setInput()#
void cv::superres::SuperResolution::setInput(const Ptr< FrameSource > & frameSource)
Set input frame source for Super Resolution algorithm.
Parameters
frameSource— Input frame source
setIterations()#
void cv::superres::SuperResolution::setIterations(int val)
Iterations count.
See also
setKernelSize()#
void cv::superres::SuperResolution::setKernelSize(int val)
Kernel size of Bilateral-TV filter.
See also
setLambda()#
void cv::superres::SuperResolution::setLambda(double val)
Weight parameter to balance data term and smoothness term.
See also
setOpticalFlow()#
void cv::superres::SuperResolution::setOpticalFlow(const Ptr< cv::superres::DenseOpticalFlowExt > & val)
Dense optical flow algorithm.
See also
setScale()#
void cv::superres::SuperResolution::setScale(int val)
Scale factor.
See also
setTau()#
void cv::superres::SuperResolution::setTau(double val)
Asymptotic value of steepest descent method.
See also
setTemporalAreaRadius()#
void cv::superres::SuperResolution::setTemporalAreaRadius(int val)
Radius of the temporal search area.
See also
initImpl()#
void cv::superres::SuperResolution::initImpl(Ptr< FrameSource > & frameSource)
processImpl()#
void cv::superres::SuperResolution::processImpl(
Ptr< FrameSource > & frameSource,
OutputArray output )
Member Data Documentation#
isUmat_#
bool cv::superres::SuperResolution::isUmat_
firstCall_#
bool cv::superres::SuperResolution::firstCall_
frameSource_#
Ptr< FrameSource > cv::superres::SuperResolution::frameSource_
Source file#
The documentation for this class was generated from the following file:
opencv2/superres.hpp