How image-data can be read as binary-data in matlab?

7 views (last 30 days)
I want to know how to read color image as binary data (keep color) in matlab and code please

Accepted Answer

Image Analyst
Image Analyst on 16 Nov 2014
Define binary. Of course you know that everything in a computer is binary. Image files are binary files and they may contain images of many different types. A "binary" image is one that is true or false (1 or 0) and is usually of type logical but can be integer or floating point. Binary images using that definition do not have color at all.
Have you tried imread()?
  1 Comment
Image Analyst
Image Analyst on 16 Nov 2014
That's really a meaningless statement - probably someone just wrote in a few unnecessary buzzwords in order to try to make the operation sound more impressive than it really is. Adding "as binary data" is really an unnecessary addition. It's just a regular old image - simple as that. Saying "putting noise to binary data" makes me think it was written by a non-native-English speaker. A native English speaker would simply say "adding noise". Often non-native English speakers add a bunch of words to try to make their publication sound more impressive but in reality just make it more confusing.

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox 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!