Do radial division on image from the centroid
古いコメントを表示

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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Region and Image Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!