Do radial division on image from the centroid
Mostrar comentarios más antiguos

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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Segmentation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!