I am currently working on a project that aims to create a program that counts cells on a specific image using image processing. I currently have the image altered so that the cells apear as white circular shapes on a solid black background (pictured below.)
I then used the code:
stats = regionprops('table',WBcells,'Centroid','MajorAxisLength','MinorAxisLength');
which produced the following table:
Now I need to figureout how to count values from the MajorAxisLength Column that are larger than 5 pixels and smaller than 26 pixels. If someone could please help me with this or give suggestions on a better way to count the cells that would be very helpful!