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
If this question can be reworded to fit the rules in the help center, please edit the question.


'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.


Not the answer you're looking for? Browse other questions tagged or ask your own question.