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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!