pub type PtrOfEdgeAwareInterpolator = Ptr<dyn EdgeAwareInterpolator>;

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

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

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more

See also Read more

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

See also Read more

Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, should be in the range of 0 to 1000. Read more

See also Read more

source

fn set_use_post_processing(&mut self, _use_post_proc: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default. Read more

source

fn get_use_post_processing(&mut self) -> Result<bool>

See also Read more

Sets the respective fastGlobalSmootherFilter() parameter.

See also Read more

See also Read more

See also Read more

Interpolate input sparse matches. Read more