Struct opencv::ximgproc::ContourFitting[][src]

pub struct ContourFitting { /* fields omitted */ }
Expand description

Class for ContourFitting algorithms. ContourFitting match two contours inline formula and inline formula minimizing distance block formula where inline formula and inline formula are Fourier descriptors of inline formula and inline formula and s is a scaling factor and inline formula is angle rotation and inline formula is starting point factor adjustement

Implementations

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998

Parameters
  • ctr: number of Fourier descriptors equal to number of contour points after resampling.
  • fd: Contour defining second shape (Target).
C++ default parameters
  • ctr: 1024
  • fd: 16

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

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more

set number of Fourier descriptors used in estimateTransformation Read more

set number of Fourier descriptors when estimateTransformation used vector Read more

Returns Read more

Returns Read more

Executes the destructor for this type. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.