| cv.ContourFitting - MATLAB File Help | Go to online doc for cv.ContourFitting |
Contour Fitting algorithm using Fourier descriptors
Contour fitting matches two contours z_a and z_b minimizing distance
d(z_a, z_b) = sum_n (a_n - s * b_n * exp(j * (n * alpha + phi)))^2
where a_n and b_n are Fourier descriptors of z_a and z_b and s
is a scaling factor and phi is angle rotation and alpha is starting
point factor adjustement.
[PersoonFu1977]:
E Persoon and King-Sun Fu. "Shape discrimination using fourier descriptors". IEEE Transactions on Pattern Analysis and Machine Intelligence, 7(3):170-179, 1977.
[BergerRaghunathan1998]:
L Berger, V A Raghunathan, C Launay, D Ausserre, and Y Gallot. "Coalescence in 2 dimensions: experiments on thin copolymer films and numerical simulations". The European Physical Journal B - Condensed Matter and Complex Systems, 2(1):93-99, 1998.
| Superclasses | handle |
| Sealed | false |
| Construct on load | false |
| ContourFitting | Create ContourFitting object |
| CtrSize | number of Fourier descriptors used in |
| FDSize | number of Fourier descriptors used for optimal curve matching in |
| id | Object ID |
| addlistener | Add listener for event. | |
| Static | contourSampling | Contour sampling |
| delete | Destructor | |
| eq | == (EQ) Test handle equality. | |
| estimateTransformation | Fits two closed curves using Fourier descriptors | |
| findobj | Find objects matching specified conditions. | |
| findprop | Find property of MATLAB handle object. | |
| Static | fourierDescriptor | Fourier descriptors for planed closed curves |
| ge | >= (GE) Greater than or equal relation for handles. | |
| gt | > (GT) Greater than relation for handles. | |
| Sealed | isvalid | Test handle validity. |
| le | <= (LE) Less than or equal relation for handles. | |
| listener | Add listener for event without binding the listener to the source object. | |
| lt | < (LT) Less than relation for handles. | |
| ne | ~= (NE) Not equal relation for handles. | |
| notify | Notify listeners of event. | |
| Static | transformFD | Transform a contour |
| ObjectBeingDestroyed | Notifies listeners that a particular object has been destroyed. |