Sparse match interpolation algorithm based on modified locally-weighted affine estimator from [196] and Fast Global Smoother as post-processing filter.
More...
#include <opencv2/ximgproc/sparse_match_interpolator.hpp>
|
virtual float | getFGSLambda ()=0 |
|
virtual float | getFGSSigma ()=0 |
|
virtual int | getK ()=0 |
|
virtual float | getLambda ()=0 |
|
virtual float | getSigma ()=0 |
|
virtual bool | getUsePostProcessing ()=0 |
|
virtual void | setCostMap (const Mat &_costMap)=0 |
| Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. More...
|
|
virtual void | setFGSLambda (float _lambda)=0 |
| Sets the respective fastGlobalSmootherFilter() parameter. More...
|
|
virtual void | setFGSSigma (float _sigma)=0 |
|
virtual void | setK (int _k)=0 |
| Parameter to tune the approximate size of the superpixel used for oversegmentation. More...
|
|
virtual void | setLambda (float _lambda)=0 |
| Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, should be in the range of 0 to 1000. More...
|
|
virtual void | setSigma (float _sigma)=0 |
| Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the output flow. More...
|
|
virtual void | setUsePostProcessing (bool _use_post_proc)=0 |
| Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default. More...
|
|
virtual void | interpolate (InputArray from_image, InputArray from_points, InputArray to_image, InputArray to_points, OutputArray dense_flow)=0 |
| Interpolate input sparse matches. More...
|
|
| 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 (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
Sparse match interpolation algorithm based on modified locally-weighted affine estimator from [196] and Fast Global Smoother as post-processing filter.
◆ getFGSLambda()
virtual float cv::ximgproc::EdgeAwareInterpolator::getFGSLambda |
( |
| ) |
|
|
pure virtual |
Python: |
---|
| retval | = | cv.ximgproc_EdgeAwareInterpolator.getFGSLambda( | | ) |
◆ getFGSSigma()
virtual float cv::ximgproc::EdgeAwareInterpolator::getFGSSigma |
( |
| ) |
|
|
pure virtual |
Python: |
---|
| retval | = | cv.ximgproc_EdgeAwareInterpolator.getFGSSigma( | | ) |
◆ getK()
virtual int cv::ximgproc::EdgeAwareInterpolator::getK |
( |
| ) |
|
|
pure virtual |
Python: |
---|
| retval | = | cv.ximgproc_EdgeAwareInterpolator.getK( | | ) |
◆ getLambda()
virtual float cv::ximgproc::EdgeAwareInterpolator::getLambda |
( |
| ) |
|
|
pure virtual |
Python: |
---|
| retval | = | cv.ximgproc_EdgeAwareInterpolator.getLambda( | | ) |
◆ getSigma()
virtual float cv::ximgproc::EdgeAwareInterpolator::getSigma |
( |
| ) |
|
|
pure virtual |
Python: |
---|
| retval | = | cv.ximgproc_EdgeAwareInterpolator.getSigma( | | ) |
◆ getUsePostProcessing()
virtual bool cv::ximgproc::EdgeAwareInterpolator::getUsePostProcessing |
( |
| ) |
|
|
pure virtual |
Python: |
---|
| retval | = | cv.ximgproc_EdgeAwareInterpolator.getUsePostProcessing( | | ) |
◆ setCostMap()
virtual void cv::ximgproc::EdgeAwareInterpolator::setCostMap |
( |
const Mat & |
_costMap | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setCostMap( | _costMap | ) |
Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here.
- Parameters
-
_costMap | a type CV_32FC1 Mat is required. |
- See also
- cv::ximgproc::createSuperpixelSLIC
◆ setFGSLambda()
virtual void cv::ximgproc::EdgeAwareInterpolator::setFGSLambda |
( |
float |
_lambda | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setFGSLambda( | _lambda | ) |
◆ setFGSSigma()
virtual void cv::ximgproc::EdgeAwareInterpolator::setFGSSigma |
( |
float |
_sigma | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setFGSSigma( | _sigma | ) |
◆ setK()
virtual void cv::ximgproc::EdgeAwareInterpolator::setK |
( |
int |
_k | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setK( | _k | ) |
Parameter to tune the approximate size of the superpixel used for oversegmentation.
- See also
- cv::ximgproc::createSuperpixelSLICK is a number of nearest-neighbor matches considered, when fitting a locally affine model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster.
◆ setLambda()
virtual void cv::ximgproc::EdgeAwareInterpolator::setLambda |
( |
float |
_lambda | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setLambda( | _lambda | ) |
Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, should be in the range of 0 to 1000.
◆ setSigma()
virtual void cv::ximgproc::EdgeAwareInterpolator::setSigma |
( |
float |
_sigma | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setSigma( | _sigma | ) |
Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the output flow.
◆ setUsePostProcessing()
virtual void cv::ximgproc::EdgeAwareInterpolator::setUsePostProcessing |
( |
bool |
_use_post_proc | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.ximgproc_EdgeAwareInterpolator.setUsePostProcessing( | _use_post_proc | ) |
The documentation for this class was generated from the following file: