i wanted to mark a point in the center of an image

2 visualizaciones (últimos 30 días)
i wanted to mark a point in the center of an image(any input image given)... to show the center point of the image also a line passing thru the center point.... what shud i do? please reply..

Respuesta aceptada

Sachin Ganjare
Sachin Ganjare el 31 de Oct. de 2012
[rows columns numberOfColorChannels] = size(yourImage);
y_center = rows / 2; x_center = columns / 2;

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by