How do I choose 256 or 0 values from my image?
1 次查看(过去 30 天)
显示 更早的评论
I = imread('sos.png');
BW = imbinarize(I);
figure
imshowpair(I,BW,'montage')
I have this code so far, my mission is to get values of sos.png so I can change them to signals. I need to know how to select them.
1 个评论
DGM
2022-5-11
编辑:DGM
2022-5-11
You already have the values of the image. They already are signals. They already are in the range of [0 255]. You never said what you want to "select" or what "select' exactly means. Depending on what "select" means, it may be a 50% possibility that you already have that already as well.
采纳的回答
更多回答(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!