Detecting colour of a specific x and y coordinate of an image

3 visualizaciones (últimos 30 días)
N/A
N/A el 30 de Mzo. de 2017
Respondida: Thorsten el 30 de Mzo. de 2017
I'm trying to obtain the colour of a specific coordinate on an image. For example: X is an image with size width:300 and height:300. I would like to know the colour at x:10 and y:10 coordinate. I couldn't write any code because I don't know if this is even possible in matlab?
Thank you.

Respuesta aceptada

Thorsten
Thorsten el 30 de Mzo. de 2017
col = I(x, y, :);

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by