how can i extract only this green region ?
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to extract those region which has the only green channels value. is it possible after converting in gray scale i can extract green channel region ? I already tried the following code but it not works.
Im = imread('1.jpg');
Im=imrotate(Im,-90);
figure,imshow(Im);
Im = imresize(Im, [512 512]);
diff_im = Im(:,:,2);
figure,imshow(diff_im);
댓글 수: 0
답변 (1개)
Image Analyst
2017년 7월 15일
Try the Color Thresholder App on the Apps tab,
or see the attached video that tracks green in a video.
댓글 수: 4
Image Analyst
2017년 7월 15일
Then the Color Thresholder app should work for you. Use it and export your code. If it still doesn't work then write back.
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!