how to identify the threshold of an image?
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to quantify the threshold of the green color in the attached image to remove everything around it.
I started with something like this:
imshow(img(:,:,1))
[x1, y1] = ginput(1)
buffer = 1.5
img = buffer * (round(x1), round(y1) )
댓글 수: 0
답변 (1개)
Cris LaPierre
2023년 8월 7일
편집: Cris LaPierre
2023년 8월 7일
If you have the Image Processing toolbox installed, I would use the Color Thresholder app in MATLAB. I would then export the results to the workspace, and import that into the image viewer app to make measurements.
댓글 수: 0
참고 항목
카테고리
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!