Is there any way to get the histogram/stats of just the blob rather than the bounding rect? In the attached photo, we are finding healthy and unhealthy leaves. I want to get statistics on the blobs that we find, but I’m forced to get the stats for the bounding rect instead of the actual blob itself. Is there anyway to show the stats of the actual blob?
I’m more or less trying to get a better look at exactly what stats each of our blobs has to better identify healthy vs. unhealthy leaves when they’re not quite as obvious as below.