@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class RICInterpolator extends SparseMatchInterpolator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RICInterpolator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getAlpha()
\copybrief setAlpha
|
float |
getFGSLambda()
\copybrief setFGSLambda
|
float |
getFGSSigma()
\copybrief setFGSSigma
|
int |
getK()
\copybrief setK
|
float |
getMaxFlow()
\copybrief setMaxFlow
|
int |
getModelIter()
\copybrief setModelIter
|
boolean |
getRefineModels()
\copybrief setRefineModels
|
int |
getSuperpixelMode()
\copybrief setSuperpixelMode
|
int |
getSuperpixelNNCnt()
\copybrief setSuperpixelNNCnt
|
float |
getSuperpixelRuler()
\copybrief setSuperpixelRuler
|
int |
getSuperpixelSize()
\copybrief setSuperpixelSize
|
boolean |
getUseGlobalSmootherFilter()
\copybrief setUseGlobalSmootherFilter
|
boolean |
getUseVariationalRefinement()
\copybrief setUseVariationalRefinement
|
void |
setAlpha() |
void |
setAlpha(float alpha)
\brief Alpha is a parameter defining a global weight for transforming geodesic distance into weight.
|
void |
setCostMap(Mat costMap)
\brief Interface to provide a more elaborated cost map, i.e.
|
void |
setFGSLambda() |
void |
setFGSLambda(float lambda)
\brief Sets the respective fastGlobalSmootherFilter() parameter.
|
void |
setFGSSigma() |
void |
setFGSSigma(float sigma)
\brief Sets the respective fastGlobalSmootherFilter() parameter.
|
void |
setK() |
void |
setK(int k)
\brief K is a number of nearest-neighbor matches considered, when fitting a locally affine
model for a superpixel segment.
|
void |
setMaxFlow() |
void |
setMaxFlow(float maxFlow)
\brief MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model.
|
void |
setModelIter() |
void |
setModelIter(int modelIter)
\brief Parameter defining the number of iterations for piece-wise affine model estimation.
|
void |
setRefineModels() |
void |
setRefineModels(boolean refineModles)
\brief Parameter to choose wether additional refinement of the piece-wise affine models is employed.
|
void |
setSuperpixelMode() |
void |
setSuperpixelMode(int mode)
\brief 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() |
void |
setSuperpixelNNCnt(int spNN)
\brief Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine
model.
|
void |
setSuperpixelRuler() |
void |
setSuperpixelRuler(float ruler)
\brief Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.
|
void |
setSuperpixelSize() |
void |
setSuperpixelSize(int spSize)
\brief Get the internal cost, i.e.
|
void |
setUseGlobalSmootherFilter() |
void |
setUseGlobalSmootherFilter(boolean use_FGS)
\brief Sets whether the fastGlobalSmootherFilter() post-processing is employed.
|
void |
setUseVariationalRefinement() |
void |
setUseVariationalRefinement(boolean use_variational_refinement)
\brief Parameter to choose wether the VariationalRefinement post-processing is employed.
|
interpolate, interpolate, interpolate
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public RICInterpolator(Pointer p)
Pointer.Pointer(Pointer)
.public void setK(int k)
public void setK()
public int getK()
setK
public void setCostMap(@Const @ByRef Mat costMap)
costMap
- a type CV_32FC1 Mat is required.cv::ximgproc::createSuperpixelSLIC
public void setSuperpixelSize(int spSize)
setCostMap
public void setSuperpixelSize()
public int getSuperpixelSize()
setSuperpixelSize
public void setSuperpixelNNCnt(int spNN)
public void setSuperpixelNNCnt()
public int getSuperpixelNNCnt()
setSuperpixelNNCnt
public void setSuperpixelRuler(float ruler)
cv::ximgproc::createSuperpixelSLIC
public void setSuperpixelRuler()
public float getSuperpixelRuler()
setSuperpixelRuler
public void setSuperpixelMode(int mode)
cv::ximgproc::createSuperpixelSLIC
public void setSuperpixelMode()
public int getSuperpixelMode()
setSuperpixelMode
public void setAlpha(float alpha)
public void setAlpha()
public float getAlpha()
setAlpha
public void setModelIter(int modelIter)
public void setModelIter()
public int getModelIter()
setModelIter
public void setRefineModels(@Cast(value="bool") boolean refineModles)
public void setRefineModels()
@Cast(value="bool") public boolean getRefineModels()
setRefineModels
public void setMaxFlow(float maxFlow)
public void setMaxFlow()
public float getMaxFlow()
setMaxFlow
public void setUseVariationalRefinement(@Cast(value="bool") boolean use_variational_refinement)
public void setUseVariationalRefinement()
@Cast(value="bool") public boolean getUseVariationalRefinement()
setUseVariationalRefinement
public void setUseGlobalSmootherFilter(@Cast(value="bool") boolean use_FGS)
public void setUseGlobalSmootherFilter()
@Cast(value="bool") public boolean getUseGlobalSmootherFilter()
setUseGlobalSmootherFilter
public void setFGSLambda(float lambda)
public void setFGSLambda()
public float getFGSLambda()
setFGSLambda
public void setFGSSigma(float sigma)
public void setFGSSigma()
public float getFGSSigma()
setFGSSigma
Copyright © 2020. All rights reserved.