how do i crop the image which edge applied to the object

i have write the code to find the edge now i need to crop the image how do i perform it

Answers (1)

Read about imcrop. There is inbuilt function for cropping.

3 Comments

Attach the original image.
</matlabcentral/answers/uploaded_files/71812/edge.jpg> this is my original image please help me to crop the image ,so i need only leaf portion everything other than leaf should be negletted

Sign in to comment.

Asked:

on 7 Mar 2017

Commented:

on 9 Mar 2017

Community Treasure Hunt

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

Start Hunting!