@Namespace(value="cv::superres") @NoOffset @Properties(inherit=opencv_superres.class) public class SuperResolution extends Algorithm
The class is only used to define the common interface for the whole family of Super Resolution algorithms.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SuperResolution(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FrameSource |
asFrameSource() |
static FrameSource |
asFrameSource(SuperResolution pointer) |
void |
collectGarbage()
\brief Clear all inner buffers.
|
double |
getAlpha()
\brief Parameter of spacial distribution in Bilateral-TV
/** @see setAlpha
|
int |
getBlurKernelSize()
\brief Gaussian blur kernel size
/** @see setBlurKernelSize
|
double |
getBlurSigma()
\brief Gaussian blur sigma
/** @see setBlurSigma
|
int |
getIterations()
\brief Iterations count
/** @see setIterations
|
int |
getKernelSize()
\brief Kernel size of Bilateral-TV filter
/** @see setKernelSize
|
double |
getLambda()
\brief Weight parameter to balance data term and smoothness term
/** @see setLambda
|
DenseOpticalFlowExt |
getOpticalFlow()
\brief Dense optical flow algorithm
/** @see setOpticalFlow
|
int |
getScale()
\brief Scale factor
/** @see setScale
|
double |
getTau()
\brief Asymptotic value of steepest descent method
/** @see setTau
|
int |
getTemporalAreaRadius()
\brief Radius of the temporal search area
/** @see setTemporalAreaRadius
|
void |
nextFrame(GpuMat frame) |
void |
nextFrame(Mat frame)
\brief Process next frame from input and return output result.
|
void |
nextFrame(UMat frame) |
void |
reset() |
void |
setAlpha(double val)
\copybrief getAlpha @see getAlpha
|
void |
setBlurKernelSize(int val)
\copybrief getBlurKernelSize @see getBlurKernelSize
|
void |
setBlurSigma(double val)
\copybrief getBlurSigma @see getBlurSigma
|
void |
setInput(FrameSource frameSource)
\brief Set input frame source for Super Resolution algorithm.
|
void |
setIterations(int val)
\copybrief getIterations @see getIterations
|
void |
setKernelSize(int val)
\copybrief getKernelSize @see getKernelSize
|
void |
setLambda(double val)
\copybrief getLambda @see getLambda
|
void |
setOpticalFlow(DenseOpticalFlowExt val)
\copybrief getOpticalFlow @see getOpticalFlow
|
void |
setScale(int val)
\copybrief getScale @see getScale
|
void |
setTau(double val)
\copybrief getTau @see getTau
|
void |
setTemporalAreaRadius(int val)
\copybrief getTemporalAreaRadius @see getTemporalAreaRadius
|
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public SuperResolution(Pointer p)
Pointer.Pointer(Pointer)
.public FrameSource asFrameSource()
@Namespace @Name(value="static_cast<cv::superres::FrameSource*>") public static FrameSource asFrameSource(SuperResolution pointer)
public void setInput(@opencv_core.Ptr FrameSource frameSource)
frameSource
- Input frame sourcepublic void nextFrame(@ByVal Mat frame)
frame
- Output resultpublic void reset()
public void collectGarbage()
public int getScale()
public void setScale(int val)
public int getIterations()
public void setIterations(int val)
public double getTau()
public void setTau(double val)
public double getLambda()
public void setLambda(double val)
public double getAlpha()
public void setAlpha(double val)
public int getKernelSize()
public void setKernelSize(int val)
public int getBlurKernelSize()
public void setBlurKernelSize(int val)
public double getBlurSigma()
public void setBlurSigma(double val)
public int getTemporalAreaRadius()
public void setTemporalAreaRadius(int val)
@opencv_core.Ptr public DenseOpticalFlowExt getOpticalFlow()
public void setOpticalFlow(@opencv_core.Ptr DenseOpticalFlowExt val)
Copyright © 2020. All rights reserved.