Message Boards Message Boards

0
|
7804 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Binary pictures

Posted 11 years ago
I am trying to convert a picture into a binary code of o's and 1's. I know that mathematica has a Binarize command that will convert a picture into black and white, but I need to create an image of all 0's and 1's.
Binarize[
Any help is appreciated
Attachments:
POSTED BY: college student
2 Replies
Posted 11 years ago
Binarize does create an image of all 0s and 1s, but it is still an image. If you want to convert the black and white image into a matrix of 0s and 1s for other types of operations you can use ImageData after Binarize.
POSTED BY: Michael Hale
Posted 11 years ago
Thanks alot. This was exactly what I needed!
POSTED BY: college student
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract