hello i am working on a project over leaf recognition.

1 view (last 30 days)
I need a code for rotating a set of leaves or a leaf where the tip of the leaf should be downward.
In this image the tip and the tail should be in 90 degrees and the tip must be lowerward. Please help me.. I have tried but I am not getting an accurate result. Please help me!
  1 Comment
Image Analyst
Image Analyst on 18 Mar 2018
Why does it need to be pointing downward? Why not simply call imrotate() to rotate it if it's not at the angle you want?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 18 Mar 2018
See attached m-file.
  1 Comment
NASU NASU
NASU NASU on 3 Apr 2018
This community is really helpful. Thank u very much @Image Analyst. Next work is to crop the rotated image so that I can extract the image features (Geometric features).

Sign in to comment.

More Answers (1)

NASU NASU
NASU NASU on 18 Mar 2018

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!