public class EdgeAwareInterpolator extends SparseMatchInterpolator
| Modifier | Constructor and Description |
|---|---|
protected |
EdgeAwareInterpolator(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static EdgeAwareInterpolator |
__fromPtr__(long addr) |
protected void |
finalize() |
float |
getFGSLambda()
SEE: setFGSLambda
|
float |
getFGSSigma()
SEE: setFGSLambda
|
int |
getK()
SEE: setK
|
float |
getLambda()
SEE: setLambda
|
float |
getSigma()
SEE: setSigma
|
boolean |
getUsePostProcessing()
SEE: setUsePostProcessing
|
void |
setCostMap(Mat _costMap)
Interface to provide a more elaborated cost map, i.e.
|
void |
setFGSLambda(float _lambda)
Sets the respective fastGlobalSmootherFilter() parameter.
|
void |
setFGSSigma(float _sigma)
SEE: setFGSLambda
|
void |
setK(int _k)
K is a number of nearest-neighbor matches considered, when fitting a locally affine
model.
|
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.
|
void |
setUsePostProcessing(boolean _use_post_proc)
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
|
interpolateclear, empty, getDefaultName, getNativeObjAddr, savepublic static EdgeAwareInterpolator __fromPtr__(long addr)
public void setCostMap(Mat _costMap)
_costMap - a type CV_32FC1 Mat is required.
SEE: cv::ximgproc::createSuperpixelSLICpublic void setK(int _k)
_k - automatically generatedpublic int getK()
public void setSigma(float _sigma)
_sigma - automatically generatedpublic float getSigma()
public void setLambda(float _lambda)
_lambda - automatically generatedpublic float getLambda()
public void setUsePostProcessing(boolean _use_post_proc)
_use_post_proc - automatically generatedpublic boolean getUsePostProcessing()
public void setFGSLambda(float _lambda)
_lambda - automatically generatedpublic float getFGSLambda()
public void setFGSSigma(float _sigma)
_sigma - automatically generatedpublic float getFGSSigma()
protected void finalize()
throws Throwable
finalize in class SparseMatchInterpolatorThrowableCopyright © 2021. All rights reserved.