Borrar filtros
Borrar filtros

how to plot in red colour on image

9 visualizaciones (últimos 30 días)
mohd
mohd el 19 de Abr. de 2012
hi.. i have coordinate (x y)on image. i want to plot to red color on that image. how to do this. thanks

Respuesta aceptada

Image Analyst
Image Analyst el 19 de Abr. de 2012
Maybe you mean
plot(columnX, rowY, 'r+', 'MarkerSize', 30, 'LineWidth', 3);
If not, describe what you mean by "plot to red".

Más respuestas (1)

Geoff
Geoff el 19 de Abr. de 2012
You mean you want to change the pixel at x,y to red?
img(y,x,:) = [255 0 0]

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by