OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator called Robust Interpolation method of Correspondences or RIC from [Hu2017] and Variational and Fast Global Smoother as post-processing filter. The RICInterpolator is a extension of the EdgeAwareInterpolator. Main concept of this extension is an piece-wise affine model based on over-segmentation via SLIC superpixel estimation. The method contains an efficient propagation mechanism to estimate among the pieces-wise models. More...
Public Member Functions | |
float | getAlpha () |
float | getFGSLambda () |
float | getFGSSigma () |
int | getK () |
float | getMaxFlow () |
int | getModelIter () |
bool | getRefineModels () |
int | getSuperpixelMode () |
int | getSuperpixelNNCnt () |
float | getSuperpixelRuler () |
int | getSuperpixelSize () |
bool | getUseGlobalSmootherFilter () |
bool | getUseVariationalRefinement () |
void | setAlpha () |
Alpha is a parameter defining a global weight for transforming geodesic distance into weight. | |
void | setAlpha (float alpha) |
Alpha is a parameter defining a global weight for transforming geodesic distance into weight. | |
void | setCostMap (Mat 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. | |
void | setFGSLambda () |
Sets the respective fastGlobalSmootherFilter() parameter. | |
void | setFGSLambda (float lambda) |
Sets the respective fastGlobalSmootherFilter() parameter. | |
void | setFGSSigma () |
Sets the respective fastGlobalSmootherFilter() parameter. | |
void | setFGSSigma (float sigma) |
Sets the respective fastGlobalSmootherFilter() parameter. | |
void | setK () |
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of [Hu2017] uses 32. | |
void | setK (int k) |
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of [Hu2017] uses 32. | |
void | setMaxFlow () |
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. | |
void | setMaxFlow (float maxFlow) |
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. | |
void | setModelIter () |
Parameter defining the number of iterations for piece-wise affine model estimation. | |
void | setModelIter (int modelIter) |
Parameter defining the number of iterations for piece-wise affine model estimation. | |
void | setRefineModels () |
Parameter to choose wether additional refinement of the piece-wise affine models is employed. | |
void | setRefineModels (bool refineModles) |
Parameter to choose wether additional refinement of the piece-wise affine models is employed. | |
void | setSuperpixelMode () |
Parameter to choose superpixel algorithm variant to use: | |
void | setSuperpixelMode (int mode) |
Parameter to choose superpixel algorithm variant to use: | |
void | setSuperpixelNNCnt () |
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. | |
void | setSuperpixelNNCnt (int spNN) |
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. | |
void | setSuperpixelRuler () |
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. | |
void | setSuperpixelRuler (float ruler) |
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. | |
void | setSuperpixelSize () |
Get the internal cost, i.e. edge map, used for estimating the edge-aware term. | |
void | setSuperpixelSize (int spSize) |
Get the internal cost, i.e. edge map, used for estimating the edge-aware term. | |
void | setUseGlobalSmootherFilter () |
Sets whether the fastGlobalSmootherFilter() post-processing is employed. | |
void | setUseGlobalSmootherFilter (bool use_FGS) |
Sets whether the fastGlobalSmootherFilter() post-processing is employed. | |
void | setUseVariationalRefinement () |
Parameter to choose wether the VariationalRefinement post-processing is employed. | |
void | setUseVariationalRefinement (bool use_variational_refinement) |
Parameter to choose wether the VariationalRefinement post-processing is employed. | |
Public Member Functions inherited from OpenCVForUnity.XimgprocModule.SparseMatchInterpolator | |
void | interpolate (Mat from_image, Mat from_points, Mat to_image, Mat to_points, Mat dense_flow) |
Interpolate input sparse matches. | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual string | getDefaultName () |
IntPtr | getNativeObjAddr () |
void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new RICInterpolator | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.XimgprocModule.SparseMatchInterpolator | |
static new SparseMatchInterpolator | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.XimgprocModule.SparseMatchInterpolator | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.XimgprocModule.SparseMatchInterpolator | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator called Robust Interpolation method of Correspondences or RIC from [Hu2017] and Variational and Fast Global Smoother as post-processing filter. The RICInterpolator is a extension of the EdgeAwareInterpolator. Main concept of this extension is an piece-wise affine model based on over-segmentation via SLIC superpixel estimation. The method contains an efficient propagation mechanism to estimate among the pieces-wise models.
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
float OpenCVForUnity.XimgprocModule.RICInterpolator.getAlpha | ( | ) |
Alpha is a parameter defining a global weight for transforming geodesic distance into weight.
float OpenCVForUnity.XimgprocModule.RICInterpolator.getFGSLambda | ( | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
float OpenCVForUnity.XimgprocModule.RICInterpolator.getFGSSigma | ( | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
int OpenCVForUnity.XimgprocModule.RICInterpolator.getK | ( | ) |
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of [Hu2017] uses 32.
float OpenCVForUnity.XimgprocModule.RICInterpolator.getMaxFlow | ( | ) |
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead.
int OpenCVForUnity.XimgprocModule.RICInterpolator.getModelIter | ( | ) |
Parameter defining the number of iterations for piece-wise affine model estimation.
bool OpenCVForUnity.XimgprocModule.RICInterpolator.getRefineModels | ( | ) |
Parameter to choose wether additional refinement of the piece-wise affine models is employed.
int OpenCVForUnity.XimgprocModule.RICInterpolator.getSuperpixelMode | ( | ) |
Parameter to choose superpixel algorithm variant to use:
int OpenCVForUnity.XimgprocModule.RICInterpolator.getSuperpixelNNCnt | ( | ) |
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model.
float OpenCVForUnity.XimgprocModule.RICInterpolator.getSuperpixelRuler | ( | ) |
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.
int OpenCVForUnity.XimgprocModule.RICInterpolator.getSuperpixelSize | ( | ) |
Get the internal cost, i.e. edge map, used for estimating the edge-aware term.
bool OpenCVForUnity.XimgprocModule.RICInterpolator.getUseGlobalSmootherFilter | ( | ) |
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
bool OpenCVForUnity.XimgprocModule.RICInterpolator.getUseVariationalRefinement | ( | ) |
Parameter to choose wether the VariationalRefinement post-processing is employed.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setAlpha | ( | ) |
Alpha is a parameter defining a global weight for transforming geodesic distance into weight.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setAlpha | ( | float | alpha | ) |
Alpha is a parameter defining a global weight for transforming geodesic distance into weight.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setCostMap | ( | Mat | 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.
costMap | a type CV_32FC1 Mat is required. |
cv::ximgproc::createSuperpixelSLIC
void OpenCVForUnity.XimgprocModule.RICInterpolator.setFGSLambda | ( | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setFGSLambda | ( | float | lambda | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setFGSSigma | ( | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setFGSSigma | ( | float | sigma | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setK | ( | ) |
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of [Hu2017] uses 32.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setK | ( | int | k | ) |
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of [Hu2017] uses 32.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setMaxFlow | ( | ) |
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setMaxFlow | ( | float | maxFlow | ) |
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setModelIter | ( | ) |
Parameter defining the number of iterations for piece-wise affine model estimation.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setModelIter | ( | int | modelIter | ) |
Parameter defining the number of iterations for piece-wise affine model estimation.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setRefineModels | ( | ) |
Parameter to choose wether additional refinement of the piece-wise affine models is employed.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setRefineModels | ( | bool | refineModles | ) |
Parameter to choose wether additional refinement of the piece-wise affine models is employed.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelMode | ( | ) |
Parameter to choose superpixel algorithm variant to use:
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelMode | ( | int | mode | ) |
Parameter to choose superpixel algorithm variant to use:
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelNNCnt | ( | ) |
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelNNCnt | ( | int | spNN | ) |
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelRuler | ( | ) |
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelRuler | ( | float | ruler | ) |
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelSize | ( | ) |
Get the internal cost, i.e. edge map, used for estimating the edge-aware term.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setSuperpixelSize | ( | int | spSize | ) |
Get the internal cost, i.e. edge map, used for estimating the edge-aware term.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setUseGlobalSmootherFilter | ( | ) |
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setUseGlobalSmootherFilter | ( | bool | use_FGS | ) |
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setUseVariationalRefinement | ( | ) |
Parameter to choose wether the VariationalRefinement post-processing is employed.
void OpenCVForUnity.XimgprocModule.RICInterpolator.setUseVariationalRefinement | ( | bool | use_variational_refinement | ) |
Parameter to choose wether the VariationalRefinement post-processing is employed.