how to automatically cropp the picture

this is the image before cropping.
i need a program which will automatically crop like the one below
i can get rid of extra outer space and thus reduce image sixe. i thought of finding the left most and right most, bottom most and top most pixel points and keeping this points we can crop upto those points. please help me with the code..

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by