Fast parametric curves detection based on statistical hypotheses estimation