delaynau requires collinear data

4 Ansichten (letzte 30 Tage)
Lenka
Lenka am 18 Jan. 2014
Beantwortet: Lenka am 18 Jan. 2014
Hello all,
I would like to use cp2tform function with data set:
fixedPoints = [50 4412;549 4374;925 4374;1889 4425;2563 4444]; movingPoints = [50 4478;549 4478;925 4478;1889 4478;2563 4478];
I got error: "Error computing the Delaunay triangulation. The points may be collinear."
What should I do to avoid this problem?
I've tried add fuzz factor as a parameter to delaynau function call, as I've read somewhere on this forum, but it doesn't receive parameter like this.
Thank for tips.

Antworten (1)

Lenka
Lenka am 18 Jan. 2014
Problem solved. The clue was in data set definition.
pixedPoints and movingPoints must define some geometric object such as square, rectangular, trapezoid etc. My fixedPoints and movingPoints data lay in one line.
Hope it may help to someone else.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by