MATLAB: How to find out the image center

image analysisMATLAB

How to find out the image center and its x,y co-ordinate with out using [x,y]=ginput(n) matlab command?
How to import these data into matlab work space?

Best Answer

A=rgb2gray(imread('bull1.jpg'));
center=size(A)/2+.5;