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

조회 수: 2 (최근 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개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by