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

2 Ansichten (letzte 30 Tage)
Elysi Cochin
Elysi Cochin am 31 Okt. 2012
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..

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by