Detect the left edge and right edge separateley
2 ビュー (過去 30 日間)
古いコメントを表示
I want to detect the left edge and right edge of an object image. How can I do that ?
3 件のコメント
Walter Roberson
2011 年 12 月 4 日
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
回答 (1 件)
Image Analyst
2011 年 12 月 4 日
How are right and left defined? By the image coordinates? If so, just check the x (column) coordinate. Or is it defined by some orientation of the object which has a front and back, right and left, no matter which angle it is oriented in your image? Posting an image somewhere would surely help.
2 件のコメント
Image Analyst
2011 年 12 月 5 日
Do you already have the binary image? Let's say you do and it's an oval blob angled 40 degrees from the vertical, like this: http://www.cfht.hawaii.edu/Reference/Bulletin/Bull31/Images/figure4a.gif. Now, where would you put the dividing line between right edge and left edge? Another example. Let's say you have an amoeba-shaped objects, like a splat like this one: http://www.clker.com/clipart-brown-splat-high-res.html What is the right side and left side of that? Do you just want to find the centroid and find perimeter coordinates that are to the left or right of that perimeter x coordinate?
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!