In C #, I need to convert an image that I have already converted to Bitmap in, into a matrix of the size of the width and height of the image, which consists of uint8 bitmap data. In another word, placing the bitmap data inside the matrix and converting it to uint8, so I can perform the calculations that I intend to do in the rows and columns of the matrix.
source share