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? EX. image http://img839.imageshack.us/img839/2002/bull1.jpg Best Answer A=rgb2gray(imread('bull1.jpg')); center=size(A)/2+.5; Related SolutionsMATLAB: How can i separate all the connected regions in a binary image and display them individually. Use bwlabel() and ismember[labeledImage, numRegions] = bwlabel(binaryImage);props = regionprops(labeledImage, 'Area')% Compute all the areas.allAreas = [props.Area]% Display each blob in its own figure.for k = 1 : numRegions thisRegion = ismember(labeledImage, k); figure; imshow(thisRegion); drawnow;end MATLAB: I am not getting the BoundingBox See my Image Segmentation Tutorial where I demonstrate that: http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial---blobsdemo-- Related QuestionWant to find the circular regionsHow to find out the distance between the inner and outer edge of the image using the Matlab command [x,y]=ginput(1)Centroid of thin-edged (One Pixel thickness) connected blobsCentroid of an imageProblem with output of imrotate function.
Best Answer