delaynau requires collinear data

3 ビュー (過去 30 日間)
Lenka
Lenka 2014 年 1 月 18 日
回答済み: Lenka 2014 年 1 月 18 日
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.

回答 (1 件)

Lenka
Lenka 2014 年 1 月 18 日
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.

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by