How to get pixel value of a binary image. [closed]

asked 2018-11-13 18:49:43 -0500

Janrex gravatar image

How to get the values of a binarized image? I have this line of code that turns my grayscale image to binary:


A binary image should contain 0 and 255 pixel values right? What I want to do is get that value on every pixels of the image and probably store it in an array.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by berak
close date 2018-11-14 00:45:50.850041