How to crop green color object from the image?

I want to crop the green outline portion from the image.Here is the image and i want only inner portion.I want to crop it automatically please help me for this.I want output which i am showing you in a different image.

Categories

Find more on Convert Image Type 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!