Pregunta

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

enter image description here

how can i do this?

¿Fue útil?

Solución

you mean

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

?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top