eg I want to find the color values ​​of the center of this image

enter image description here

how can i do this?

有帮助吗?

解决方案

you mean

img = imread('img.jpg');
color = img(round(end/2), round(end/2), :)

?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top