Identify Edge Image Orientation
1 view (last 30 days)
Show older comments
Hi all, I am totally new to matlab. My supervisor instructed me to work on a small project.
Basically, I have two images, "standing feet" and "lying feet". Therefore, the target is to ask the matlab to recognize whether it is standing feet or lying feet.
I have constructed the edge image for standing feet and lying feet. May I know what is the possible way to differentiate these two images orientation?
So that, when the matlab get the image with lying feet, then matlab can tell the user that the feet is lying but not standing.
0 Comments
Answers (1)
Image Analyst
on 24 Sep 2014
I know this is old, but anyway...this is what I'd do. Either don't do edge() and just threshold, or use edge() but you need to fill in the image. Anyway, once you have a solid binary image, ask regionprops for the WeightedCentroid and the BoundingBox. Look at the y value of the WeightedCentroid. If's it's in the middle or top of the bounding box, it's a standing leg. If the centroid is in the bottom quarter or so of the bounding box, it's a lying foot.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!