I am working on a project in which I am receiving image data as an array of bytes (1-byte per pixel). Each byte represents a greyscale integer (0-255).
In order to perform a number of functions on the data, I need to convert the byte array into an integer array. please help me..