필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
imcrop?

답변 (1개)

Image Analyst
Image Analyst 2016년 11월 18일
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