Image-Process [MATLAB] Imfreehand Roi Image

[MATLAB] Imfreehand Roi Image

imfreehand를 이용하여 ROI 영역만 자르기.

1
2
3
4
5
6
7
8
9
10
11
= rgb2gray(imread(‘nYNKB.jpg’));
 
imshow(I);
 
= imfreehand;
 
= ~h.createMask();
 
I(M)=0;
 
imshow(I);
cs

Leave a Reply

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

Related Post

[MATLAB] MATLAB Theme 적용[MATLAB] MATLAB Theme 적용

다른 개발 툴 환경에서는 Dakrular 버전이나 다른 테마적용이 기본적으로 제공이 되며 적용이 쉬운편이다. 하지만 아무리 해도 매트랩환경은 익숙해지지 않아 눈이라도 편하기위해 테마적용하는법을 공유하고자 한다. https://github.com/scottclowe/matlab-schemerscottclowe/matlab-schemerApply and save color schemes in