How to know an area of object using MATLAB
2 ビュー (過去 30 日間)
古いコメントを表示
I am currently stuck in this part. What I want to know is the area of an object that is highlighted in the YELLOW region above.
Please do assist me.
0 件のコメント
採用された回答
Image Analyst
2014 年 4 月 18 日
The image segmentation algorithm that you used to get that binary image is poor. You should improve it. Only once you can get a good binary image can you call regionprops and get meaningful data out. You're not at that point yet. Go here for "car detection" algorithms: http://iris.usc.edu/Vision-Notes/bibliography/contents.html Sorry, we can't help with your algorithm selection or implementation/development.
7 件のコメント
その他の回答 (1 件)
Walter Roberson
2014 年 4 月 18 日
編集済み: Walter Roberson
2014 年 4 月 18 日
Once you have created a mask that corresponds to only the object, use regionprops() with the 'Area' option.
11 件のコメント
Image Analyst
2014 年 5 月 7 日
There are blobs in there with areas 1, 2, or 3 as well as some very very large areas of thousands of pixels. I don't understand why having a blob with area 3 is unexpected for you.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!