Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how to change the order of objects shown in a table using regioncrops
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone,I am having a hard time to compare my images using Matlab. I am trying to compare object characteristics in the table after running regioncrops, but the order of objects from two images are not the same (objects changed the location). Are there any ways to change the order of objects shown in the table after running regioncrops? Thank you.
0 件のコメント
回答 (1 件)
Darshan Ramakant Bhat
2018 年 1 月 18 日
When the position of the object is changed, the output 'stats' table will also change. You have to do row wise comparison of two tables in order to match them. That is, compare the first row of first table with the all the rows of the other table (with tolerance may be) and find the matched one. Below answer discusses on how to go about it:
I hope this will help you.
1 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!