Do radial division on image from the centroid
Afficher commentaires plus anciens

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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Segmentation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!