Class cv::superres::SuperResolution#

Base class for Super Resolution algorithms. View details

Collaboration diagram for cv::superres::SuperResolution:

Public Member Functions#

Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Public Member Functions inherited from cv::superres::FrameSource

Return

Name

Description

~FrameSource()

void

nextFrame(OutputArray frame)

void

reset()

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

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

setAlpha

getBlurKernelSize()#

int cv::superres::SuperResolution::getBlurKernelSize()

Gaussian blur kernel size.

getBlurSigma()#

double cv::superres::SuperResolution::getBlurSigma()

Gaussian blur sigma.

See also

setBlurSigma

getIterations()#

int cv::superres::SuperResolution::getIterations()

Iterations count.

See also

setIterations

getKernelSize()#

int cv::superres::SuperResolution::getKernelSize()

Kernel size of Bilateral-TV filter.

See also

setKernelSize

getLambda()#

double cv::superres::SuperResolution::getLambda()

Weight parameter to balance data term and smoothness term.

See also

setLambda

getOpticalFlow()#

Ptr< cv::superres::DenseOpticalFlowExt > cv::superres::SuperResolution::getOpticalFlow()

Dense optical flow algorithm.

See also

setOpticalFlow

getScale()#

int cv::superres::SuperResolution::getScale()

Scale factor.

See also

setScale

getTau()#

double cv::superres::SuperResolution::getTau()

Asymptotic value of steepest descent method.

See also

setTau

getTemporalAreaRadius()#

int cv::superres::SuperResolution::getTemporalAreaRadius()

Radius of the temporal search area.

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

getAlpha

setBlurKernelSize()#

void cv::superres::SuperResolution::setBlurKernelSize(int val)

Gaussian blur kernel size.

setBlurSigma()#

void cv::superres::SuperResolution::setBlurSigma(double val)

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()#

void cv::superres::SuperResolution::setIterations(int val)

Iterations count.

See also

getIterations

setKernelSize()#

void cv::superres::SuperResolution::setKernelSize(int val)

Kernel size of Bilateral-TV filter.

See also

getKernelSize

setLambda()#

void cv::superres::SuperResolution::setLambda(double val)

Weight parameter to balance data term and smoothness term.

See also

getLambda

setOpticalFlow()#

void cv::superres::SuperResolution::setOpticalFlow(const Ptr< cv::superres::DenseOpticalFlowExt > & val)

Dense optical flow algorithm.

See also

getOpticalFlow

setScale()#

void cv::superres::SuperResolution::setScale(int val)

Scale factor.

See also

getScale

setTau()#

void cv::superres::SuperResolution::setTau(double val)

Asymptotic value of steepest descent method.

See also

getTau

setTemporalAreaRadius()#

void cv::superres::SuperResolution::setTemporalAreaRadius(int val)

Radius of the temporal search area.

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: