How to display blue color after doing imbinarize

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);

1 Comment

If you close the question no one would be able to answer your question.

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 11 Jan 2019

Commented:

on 11 Jan 2019

Community Treasure Hunt

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

Start Hunting!