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

3 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2012 年 10 月 31 日
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..

採用された回答

Sachin Ganjare
Sachin Ganjare 2012 年 10 月 31 日
[rows columns numberOfColorChannels] = size(yourImage);
y_center = rows / 2; x_center = columns / 2;

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by