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 locally-weighted affine estimator from [Revaud2015] and Fast Global Smoother as post-processing filter. More...
Public Member Functions | |
float | getFGSLambda () |
float | getFGSSigma () |
int | getK () |
float | getLambda () |
float | getSigma () |
bool | getUsePostProcessing () |
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 (float _lambda) |
Sets the respective fastGlobalSmootherFilter() parameter. | |
void | setFGSSigma (float _sigma) |
void | setK (int _k) |
K 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. | |
void | setLambda (float _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. | |
void | setSigma (float _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. | |
void | setUsePostProcessing (bool _use_post_proc) |
Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default. | |
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 EdgeAwareInterpolator | __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 locally-weighted affine estimator from [Revaud2015] and Fast Global Smoother as post-processing filter.
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
float OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.getFGSLambda | ( | ) |
float OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.getFGSSigma | ( | ) |
int OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.getK | ( | ) |
float OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.getLambda | ( | ) |
float OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.getSigma | ( | ) |
bool OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.getUsePostProcessing | ( | ) |
void OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.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.EdgeAwareInterpolator.setFGSLambda | ( | float | _lambda | ) |
Sets the respective fastGlobalSmootherFilter() parameter.
void OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.setFGSSigma | ( | float | _sigma | ) |
void OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.setK | ( | int | _k | ) |
K 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.
void OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.setLambda | ( | float | _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.
void OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.setSigma | ( | float | _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.
void OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator.setUsePostProcessing | ( | bool | _use_post_proc | ) |
Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default.