MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > crop image by polygon 

Dear all, 
Just get the x coordinates of your polygon, and find the min and max 
ImageAnalyst, thanks for your reply! 
"Clint_E " <luca_bergamasco@hotmail.com> wrote in message <ibbkm0$l5c$1@fred.mathworks.com>... 
Clint_E : 
Guys, thanks for your hints and help.. I finally did it like this (if anyone interested): 
OK, but that's usually called masking, not cropping. 
Sorry, I'm a newbie in image processing.. 
"Clint_E " <luca_bergamasco@hotmail.com> wrote in message <ibj6t9$lmb$1@fred.mathworks.com>... 
"Sean " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <ibjb64$nkk$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.