Package org.opencv.ximgproc
Class EdgeAwareInterpolator
- java.lang.Object
- 
- org.opencv.core.Algorithm
- 
- org.opencv.ximgproc.SparseMatchInterpolator
- 
- org.opencv.ximgproc.EdgeAwareInterpolator
 
 
 
- 
 public class EdgeAwareInterpolator extends SparseMatchInterpolator Sparse match interpolation algorithm based on modified locally-weighted affine estimator from CITE: Revaud2015 and Fast Global Smoother as post-processing filter.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedEdgeAwareInterpolator(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeAwareInterpolator__fromPtr__(long addr)protected voidfinalize()floatgetFGSLambda()SEE: setFGSLambdafloatgetFGSSigma()SEE: setFGSLambdaintgetK()SEE: setKfloatgetLambda()SEE: setLambdafloatgetSigma()SEE: setSigmabooleangetUsePostProcessing()SEE: setUsePostProcessingvoidsetCostMap(Mat _costMap)Interface to provide a more elaborated cost map, i.e.voidsetFGSLambda(float _lambda)Sets the respective fastGlobalSmootherFilter() parameter.voidsetFGSSigma(float _sigma)SEE: setFGSLambdavoidsetK(int _k)K is a number of nearest-neighbor matches considered, when fitting a locally affine model.voidsetLambda(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.voidsetSigma(float _sigma)Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting.voidsetUsePostProcessing(boolean _use_post_proc)Sets whether the fastGlobalSmootherFilter() post-processing is employed.- 
Methods inherited from class org.opencv.ximgproc.SparseMatchInterpolatorinterpolate
 - 
Methods inherited from class org.opencv.core.Algorithmclear, empty, getDefaultName, getNativeObjAddr, save
 
- 
 
- 
- 
- 
Method Detail- 
__fromPtr__public static EdgeAwareInterpolator __fromPtr__(long addr) 
 - 
getUsePostProcessingpublic boolean getUsePostProcessing() SEE: setUsePostProcessing- Returns:
- automatically generated
 
 - 
getFGSLambdapublic float getFGSLambda() SEE: setFGSLambda- Returns:
- automatically generated
 
 - 
getFGSSigmapublic float getFGSSigma() SEE: setFGSLambda- Returns:
- automatically generated
 
 - 
getLambdapublic float getLambda() SEE: setLambda- Returns:
- automatically generated
 
 - 
getSigmapublic float getSigma() SEE: setSigma- Returns:
- automatically generated
 
 - 
getKpublic int getK() SEE: setK- Returns:
- automatically generated
 
 - 
setCostMappublic void setCostMap(Mat _costMap) Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here.- Parameters:
- _costMap- a type CV_32FC1 Mat is required. SEE: cv::ximgproc::createSuperpixelSLIC
 
 - 
setFGSLambdapublic void setFGSLambda(float _lambda) Sets the respective fastGlobalSmootherFilter() parameter.- Parameters:
- _lambda- automatically generated
 
 - 
setFGSSigmapublic void setFGSSigma(float _sigma) SEE: setFGSLambda- Parameters:
- _sigma- automatically generated
 
 - 
setKpublic void setK(int _k) K is a number of nearest-neighbor matches considered, when fitting a locally affine model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster.- Parameters:
- _k- automatically generated
 
 - 
setLambdapublic 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.- Parameters:
- _lambda- automatically generated
 
 - 
setSigmapublic void setSigma(float _sigma) Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the output flow.- Parameters:
- _sigma- automatically generated
 
 - 
setUsePostProcessingpublic void setUsePostProcessing(boolean _use_post_proc) Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default.- Parameters:
- _use_post_proc- automatically generated
 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- SparseMatchInterpolator
- Throws:
- java.lang.Throwable
 
 
- 
 
-