public class RICInterpolator extends SparseMatchInterpolator
Modifier | Constructor and Description |
---|---|
protected |
RICInterpolator(long addr) |
Modifier and Type | Method and Description |
---|---|
static RICInterpolator |
__fromPtr__(long addr) |
protected void |
finalize() |
float |
getAlpha()
setAlpha
SEE: setAlpha
|
float |
getFGSLambda()
setFGSLambda
SEE: setFGSLambda
|
float |
getFGSSigma()
setFGSSigma
SEE: setFGSSigma
|
int |
getK()
setK
SEE: setK
|
float |
getMaxFlow()
setMaxFlow
SEE: setMaxFlow
|
int |
getModelIter()
setModelIter
SEE: setModelIter
|
boolean |
getRefineModels()
setRefineModels
SEE: setRefineModels
|
int |
getSuperpixelMode()
setSuperpixelMode
SEE: setSuperpixelMode
|
int |
getSuperpixelNNCnt()
setSuperpixelNNCnt
SEE: setSuperpixelNNCnt
|
float |
getSuperpixelRuler()
setSuperpixelRuler
SEE: setSuperpixelRuler
|
int |
getSuperpixelSize()
setSuperpixelSize
SEE: setSuperpixelSize
|
boolean |
getUseGlobalSmootherFilter()
setUseGlobalSmootherFilter
SEE: setUseGlobalSmootherFilter
|
boolean |
getUseVariationalRefinement()
setUseVariationalRefinement
SEE: setUseVariationalRefinement
|
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.
|
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.
|
void |
setK(int k)
K is a number of nearest-neighbor matches considered, when fitting a locally affine
model for a superpixel segment.
|
void |
setMaxFlow()
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model.
|
void |
setMaxFlow(float maxFlow)
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model.
|
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(boolean 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:
- cv::ximgproc::SLICType SLIC segments image using a desired region_size (value: 100)
- cv::ximgproc::SLICType SLICO will optimize using adaptive compactness factor (value: 101)
- cv::ximgproc::SLICType MSLIC will optimize using manifold methods resulting in more content-sensitive superpixels (value: 102).
|
void |
setSuperpixelMode(int mode)
Parameter to choose superpixel algorithm variant to use:
- cv::ximgproc::SLICType SLIC segments image using a desired region_size (value: 100)
- cv::ximgproc::SLICType SLICO will optimize using adaptive compactness factor (value: 101)
- cv::ximgproc::SLICType MSLIC will optimize using manifold methods resulting in more content-sensitive superpixels (value: 102).
|
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.
|
void |
setSuperpixelSize(int spSize)
Get the internal cost, i.e.
|
void |
setUseGlobalSmootherFilter()
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
|
void |
setUseGlobalSmootherFilter(boolean use_FGS)
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
|
void |
setUseVariationalRefinement()
Parameter to choose wether the VariationalRefinement post-processing is employed.
|
void |
setUseVariationalRefinement(boolean use_variational_refinement)
Parameter to choose wether the VariationalRefinement post-processing is employed.
|
interpolate
clear, empty, getDefaultName, getNativeObjAddr, save
public static RICInterpolator __fromPtr__(long addr)
public void setK(int k)
k
- automatically generatedpublic void setK()
public int getK()
public void setCostMap(Mat costMap)
costMap
- a type CV_32FC1 Mat is required.
SEE: cv::ximgproc::createSuperpixelSLICpublic void setSuperpixelSize(int spSize)
spSize
- automatically generatedpublic void setSuperpixelSize()
public int getSuperpixelSize()
public void setSuperpixelNNCnt(int spNN)
spNN
- automatically generatedpublic void setSuperpixelNNCnt()
public int getSuperpixelNNCnt()
public void setSuperpixelRuler(float ruler)
ruler
- automatically generatedpublic void setSuperpixelRuler()
public float getSuperpixelRuler()
public void setSuperpixelMode(int mode)
mode
- automatically generatedpublic void setSuperpixelMode()
public int getSuperpixelMode()
public void setAlpha(float alpha)
alpha
- automatically generatedpublic void setAlpha()
public float getAlpha()
public void setModelIter(int modelIter)
modelIter
- automatically generatedpublic void setModelIter()
public int getModelIter()
public void setRefineModels(boolean refineModles)
refineModles
- automatically generatedpublic void setRefineModels()
public boolean getRefineModels()
public void setMaxFlow(float maxFlow)
maxFlow
- automatically generatedpublic void setMaxFlow()
public float getMaxFlow()
public void setUseVariationalRefinement(boolean use_variational_refinement)
use_variational_refinement
- automatically generatedpublic void setUseVariationalRefinement()
public boolean getUseVariationalRefinement()
public void setUseGlobalSmootherFilter(boolean use_FGS)
use_FGS
- automatically generatedpublic void setUseGlobalSmootherFilter()
public boolean getUseGlobalSmootherFilter()
public void setFGSLambda(float lambda)
lambda
- automatically generatedpublic void setFGSLambda()
public float getFGSLambda()
public void setFGSSigma(float sigma)
sigma
- automatically generatedpublic void setFGSSigma()
public float getFGSSigma()
protected void finalize() throws Throwable
finalize
in class SparseMatchInterpolator
Throwable
Copyright © 2024. All rights reserved.