[MATLAB] Imfreehand Roi Image imfreehand를 이용하여 ROI 영역만 자르기. . I = rgb2gray(imread('nYNKB.jpg')); imshow(I); h = imfreehand; M = ~h.createMask(); I(M) = 0; imshow(I); Programming/MATLAB 2019.03.12