I can convert my RGB image to grayscale and then change it to binary format using histogram and if-functions. So, I have a binary image with white background and some separate black points. How can I quickly count the number of black points in white background? Is there any function in MATLAB?

More Abdulvahed Khaledi Darvishan's questions See All
Similar questions and discussions