フィルターのクリア

how to divide the image into equal sectors from central point.

1 回表示 (過去 30 日間)
DAT VUONG
DAT VUONG 2018 年 4 月 12 日
コメント済み: Jan 2018 年 5 月 30 日
I want to do following task.
  • # 1. Divide the image into equal sectors from a central point of the image
  • # 2. count the number of pixel in each sectorThis is code for find central point
C= imread('LED.png);
A=rbg2gray(C);
binaryImage= A>250;
labeledImage = bwlabel(binaryImage);
measurements = regionprops(labeledImage, 'Centroid', 'BoundingBox');
xCentroid = measurements.Centroid(1);
yCentroid = measurements.Centroid(2);
boundingBox = measurements.BoundingBox;

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by