Algorithm behind regionprops for fitting ellipse?
12 ビュー (過去 30 日間)
古いコメントを表示
I've just fit an ellipse to an arbitrary shape in an image by using the properties resulting from regionprops.
However I'm unsure of the algorithm behind how it finds these properties, as I need to justify the fit. Any ideas??
0 件のコメント
回答 (2 件)
Image Analyst
2013 年 1 月 10 日
Perhaps it's similar to what's in the FAQ. Another way to justify it is to run through a bunch of shapes and see if you agree with the ellipses it provides. If you agree, then you've validated it, at least as far as necessary for your purposes.
0 件のコメント
Sean de Wolski
2013 年 1 月 10 日
edit regionprops
And search for where it computes the ellipses. In R2012b, line 626:706.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!