I run the following code on my QQVGA Grayscale image:
img.mean(1, threshold=True, offset=5, invert=False)
blobs = img.find_blobs([(0,64)], pixels_threshold= 1)
Unfortunately, only the blobs marked with “Red-Arrows” are detected.
There are at least 35 tiny-blobs left undetected, in each image.
Am I missing something?
Kindly provide some guidance, please.
However, blobs of 1pixel wide X 1 pixel Height (single pixel Blobs) are not getting detected when I set: pixels_threshold= 1, area_threshold=1
Tried with setting “pixels_threshold= 0, area_threshold” too.
Any suggestion would be of great help, please.
Hi, that’s because of the default x and y stride. The algorithm doesn’t sample all pixels to go faster. Set the x_stride and y_stride to 1.
As a note… I heavily recommend to read the API when you have issues… You’ve asked two questions now that would have been answered by reading the API for find blobs. You’ll save time on yourself by looking at the method documentation.