eg I want to find the color values of the center of this image
how can i do this?
you mean
img = imread('img.jpg'); color = img(round(end/2), round(end/2), :)
?