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.
|
interpolate
clear, empty, getDefaultName, getNativeObjAddr, save
public static EdgeAwareInterpolator __fromPtr__(long addr)
public boolean getUsePostProcessing()
public float getFGSLambda()
public float getFGSSigma()
public float getLambda()
public float getSigma()
public int getK()
public void setCostMap(Mat _costMap)
_costMap
- a type CV_32FC1 Mat is required.
SEE: cv::ximgproc::createSuperpixelSLICpublic void setFGSLambda(float _lambda)
_lambda
- automatically generatedpublic void setFGSSigma(float _sigma)
_sigma
- automatically generatedpublic void setK(int _k)
_k
- automatically generatedpublic void setLambda(float _lambda)
_lambda
- automatically generatedpublic void setSigma(float _sigma)
_sigma
- automatically generatedpublic void setUsePostProcessing(boolean _use_post_proc)
_use_post_proc
- automatically generatedprotected void finalize() throws Throwable
finalize
in class SparseMatchInterpolator
Throwable
Copyright © 2020. All rights reserved.