pub type PtrOfRICInterpolator = Ptr<dyn RICInterpolator>;

Implementations

Trait Implementations

Clears the algorithm state

Reads algorithm parameters from a file storage

Stores algorithm parameters in a file storage

simplified API for language bindings Stores algorithm parameters in a file storage Read more

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. Read more

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. Read more

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more

Parameter to choose superpixel algorithm variant to use: Read more

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more

Parameter defining the number of iterations for piece-wise affine model estimation. Read more

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more

Sets the respective fastGlobalSmootherFilter() parameter. Read more

Sets the respective fastGlobalSmootherFilter() parameter. Read more

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. * see also: setK Read more

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. * see also: setSuperpixelNNCnt Read more

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more

Parameter to choose superpixel algorithm variant to use: Read more

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more

Parameter defining the number of iterations for piece-wise affine model estimation. Read more

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. * see also: setMaxFlow Read more

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more

Sets the respective fastGlobalSmootherFilter() parameter. Read more

Sets the respective fastGlobalSmootherFilter() parameter. Read more

Interpolate input sparse matches. Read more