i wanted to mark a point in the center of an image
2 次查看(过去 30 天)
显示 更早的评论
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..
0 个评论
采纳的回答
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!