Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How can i know what object created with imroi did i move
1 回表示 (過去 30 日間)
古いコメントを表示
Lets say i create a bunch of rectangles usind the following way
for i = 1:2
h(i) = imrect(gca, compdata(i,:));
end
how can i know which one did i move so i can store its location into a 2x4 matrix where the first row will be saved for the first rectangle and so on.
0 件のコメント
回答 (1 件)
Image Analyst
2012 年 7 月 15 日
If this is related to your other question, then you moved all of them. You never answered my question from there about why you wanted to save all the intermediate boxes in the first place. Of what use is that?
5 件のコメント
Image Analyst
2012 年 7 月 15 日
Well I can't see any reason at all to capture the intermediate rectangles. Let's say I grabbed a corner and scribbled around the screen for 2 minute, generating thousands of rectangle, before I finally dropped it at the final location and size I want. Why on earth would you care about all the thousands of earlier rectangles before I made up my mind on the final location?
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!