How to display blue color after doing imbinarize

5 次查看(过去 30 天)
I have a picture including black, blue and green color as attached 1.JPEG. And then, when I use imbinarize, the picture shows as 2.JPEG. And I would like to get only 0 and 1 pixels for this picture.
I = imread('C:\User\1.JPEG');
I = imbinarize(I);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by