Ask Your Question

How to access pixels in a binary image?

asked 2015-01-01 09:52:23 -0500

Uio96 gravatar image

I search the Internet and get the information about how to access pixels in a RGB image.But what about a binary image?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-01 11:54:31 -0500

Aly Osama gravatar image

the binary images is made up of uchars , so you can access any pixel in the image using this<uchar>(i,j)
edit flag offensive delete link more


Thanks a lot.

Uio96 gravatar imageUio96 ( 2015-01-01 18:44:23 -0500 )edit

Question Tools

1 follower


Asked: 2015-01-01 09:52:23 -0500

Seen: 1,290 times

Last updated: Jan 01 '15