Hi,I would like to convert each pixel value of an image to one byte. how do i do it. I tried
where a and b are size of the image. But there comes size mismatch error. Please help me to correct it.