@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(Algorithm pointer)
Downcast constructor.
|
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.
|
asAlgorithm, asAlgorithm, interpolate, interpolate, interpolateclear, empty, getDefaultName, getPointer, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic RICInterpolator(Pointer p)
Pointer(Pointer).public RICInterpolator(Algorithm pointer)
public void setK(int k)
public void setK()
public int getK()
setKpublic void setCostMap(@Const @ByRef Mat costMap)
costMap - a type CV_32FC1 Mat is required.cv::ximgproc::createSuperpixelSLICpublic void setSuperpixelSize(int spSize)
setCostMappublic void setSuperpixelSize()
public int getSuperpixelSize()
setSuperpixelSizepublic void setSuperpixelNNCnt(int spNN)
public void setSuperpixelNNCnt()
public int getSuperpixelNNCnt()
setSuperpixelNNCntpublic void setSuperpixelRuler(float ruler)
cv::ximgproc::createSuperpixelSLICpublic void setSuperpixelRuler()
public float getSuperpixelRuler()
setSuperpixelRulerpublic void setSuperpixelMode(int mode)
cv::ximgproc::createSuperpixelSLICpublic void setSuperpixelMode()
public int getSuperpixelMode()
setSuperpixelModepublic void setAlpha(float alpha)
public void setAlpha()
public float getAlpha()
setAlphapublic void setModelIter(int modelIter)
public void setModelIter()
public int getModelIter()
setModelIterpublic void setRefineModels(@Cast(value="bool") boolean refineModles)
public void setRefineModels()
@Cast(value="bool") public boolean getRefineModels()
setRefineModelspublic void setMaxFlow(float maxFlow)
public void setMaxFlow()
public float getMaxFlow()
setMaxFlowpublic void setUseVariationalRefinement(@Cast(value="bool") boolean use_variational_refinement)
public void setUseVariationalRefinement()
@Cast(value="bool") public boolean getUseVariationalRefinement()
setUseVariationalRefinementpublic void setUseGlobalSmootherFilter(@Cast(value="bool") boolean use_FGS)
public void setUseGlobalSmootherFilter()
@Cast(value="bool") public boolean getUseGlobalSmootherFilter()
setUseGlobalSmootherFilterpublic void setFGSLambda(float lambda)
public void setFGSLambda()
public float getFGSLambda()
setFGSLambdapublic void setFGSSigma(float sigma)
public void setFGSSigma()
public float getFGSSigma()
setFGSSigmaCopyright © 2025. All rights reserved.