Do radial division on image from the centroid
Show older comments

Hello,
I want to divide a binary image radially (in to 10 sections of 36 degrees each) and find the distance from the centroid to the middle of the perimeter of each of these sectors. So far I've found the centroid of the image as follows.
C = imread(filename);
bw = im2bw (C, graythresh(C)); % Threshhold each image
cc= bwconncomp (bw, 4); % The function bwconncomp finds all the connected componets in the binary image
celldata = regionprops(cc, 'centroid');
celldata_centroid = [celldata.Centroid];
I'm not quite sure what to do after this step. Please let me know if you have any suggestions. Thanks in advance
Accepted Answer
More Answers (0)
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!