i checked imread function code but couldnt understand how it is calculating the data from given image.Please explain.
closed as off-topic by Matt L., A_A, Marcus Müller, Peter K.♦ Jan 12 '17 at 13:12
This question appears to be off-topic. The users who voted to close gave these specific reasons:
- "General programming questions are off-topic here, but can be asked on Stack Overflow." – Marcus Müller, Peter K.
- "This question does not appear to be about signal processing within the scope defined in the help center." – Matt L., A_A
'imread' function just read the RGB(in case of color image) or black/white(in case of black and white image) value of each pixel in image and shows it in a matrix format.
it is not 'calculating' these values its just reading them from the image/path you provide to imread function.