Hi, I know that a similar question has been asked here https://www.mathworks.com/matlabcentral/answers/167735-how-to-determine-the-position-of-points-which-belong-to-a-circle. I have implemented the code shown in the above link inside the program attached. I want to obtain a cell array that contains all the pixel coordinates that belong to a circle (where radius and centroid is known) but it returns an entirely empty cell array (logical error). I have attached the code below with hope that someone will tell me what I did wrong. I'm not very experienced with Matlab. I also have a feeling that there is a more elegant way of doing this other than what you see in my code. Any help would be appreciated.
MATLAB: How to obtain a cell array containing the pixel coordinates of the area inside a circle
centroidcirclecoordinatesMATLABpixel
Related Question
- Find points of intersection circle with line
- How to crop circular area and measure the ratio of black and white from the binarized image
- How to discover intersecting circles
- I want to create a circle of radius 5 and then inside this circle 3 more circles of radius 1 with different centers and then generate random points in each circle separately?please help
Best Answer