I working on Optical Character Recognition system.
I want to convert the license plate image from binary to gray scale.
let’s look at the next example:
this is the binary image:

and this is the gray scale:

what I want to know is if there is a way to convert it from binary to the gray, or this is not possible because i’ve lost the information when I converted the picture to binary at the beginning.
any idea how to do this? thanks
To convert a binary image of class
logicalto a grayscale image of classdouble, you simply callEDIT
To revert from a binary image to the grayscale image you had before thresholding is impossible without the grayscale image, since by thresholding you have dropped all the grayscale texture information.