@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class EdgeAwareInterpolator extends SparseMatchInterpolator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
EdgeAwareInterpolator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getFGSLambda() |
float |
getFGSSigma() |
int |
getK() |
float |
getLambda() |
float |
getSigma() |
boolean |
getUsePostProcessing() |
void |
setCostMap(Mat _costMap)
\brief Interface to provide a more elaborated cost map, i.e.
|
void |
setFGSLambda(float _lambda)
\brief Sets the respective fastGlobalSmootherFilter() parameter.
|
void |
setFGSSigma(float _sigma) |
void |
setK(int _k)
\brief K is a number of nearest-neighbor matches considered, when fitting a locally affine
model.
|
void |
setLambda(float _lambda)
\brief 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)
\brief Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine
fitting.
|
void |
setUsePostProcessing(boolean _use_post_proc)
\brief Sets whether the fastGlobalSmootherFilter() 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 EdgeAwareInterpolator(Pointer p)
Pointer.Pointer(Pointer)
.public void setCostMap(@Const @ByRef Mat _costMap)
_costMap
- a type CV_32FC1 Mat is required.cv::ximgproc::createSuperpixelSLIC
public void setK(int _k)
public int getK()
setK
public void setSigma(float _sigma)
public float getSigma()
setSigma
public void setLambda(float _lambda)
public float getLambda()
setLambda
public void setUsePostProcessing(@Cast(value="bool") boolean _use_post_proc)
@Cast(value="bool") public boolean getUsePostProcessing()
setUsePostProcessing
public void setFGSLambda(float _lambda)
public float getFGSLambda()
setFGSLambda
public void setFGSSigma(float _sigma)
setFGSLambda
public float getFGSSigma()
setFGSLambda
Copyright © 2020. All rights reserved.