Count Black pixels in regions of rgb image

1 view (last 30 days)
hey all,
I am trying to count the number of black pixels in a region of a segmented skin cancer image, but I don't want to account for the black pixels surrounding the image. Any idea how I can do it in a simple way?
Attached is an example of the images I am working on.
Thank you !
Chris

Answers (0)

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!