i have an image and i want to know how i can obtain the pixel value in binary form using matlab?
what is the different between the index and pixel value?
You can use dec2bin command to convert pixel values in binary form. Index is used for accessing array elements such as a that means the i th element of array a. Pixel values is used to indicate the intensity level of the image i.e gray scale image is made up 256 different values that range from 0-255.