Calculate the pixel intensities in an image...
i want some help regarding the above mentioned title...
explaining clearly, the input is an image, and the required output is the 2-dimensional array, i.e., a matrix of the pixel intensities...
this array is an integer array, 'cause i understand a pixel intensity is and integer...right???
actually, what i mean is representing the entire image as an integer matrix, and any manipulations of the matrix results in the modification of the image.
/*
the range of colors intended to be identified is about 0-255, cause, an integer, being 4 bytes, and 2^4 is 8, there can 256 combinations of 0s and 1s...and, 0 indicates white and 255, black...*/