Filter löschen
Filter löschen

How do I cut a picture with the equation pixels? I cut into different shapes, not just rectangular shape Thankful

1 Ansicht (letzte 30 Tage)
imcrop?

Antworten (1)

Image Analyst
Image Analyst am 18 Nov. 2016
No. Try roipoly() or roipolyold(), or imfreehand(). Keep in mind that you can mask out the area outside the polygon to be black or some color but the image itself has to be rectangular. You can crop it to the bounding box of the freehand curve or polygon if you want with imcrop().

Community Treasure Hunt

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

Start Hunting!

Translated by