How to display blue color after doing imbinarize

1 view (last 30 days)
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
madhan ravi
madhan ravi on 11 Jan 2019
If you close the question no one would be able to answer your question.

Sign in to comment.

Answers (0)

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!