Find only 1 blob based on threshold
Hi,
I'm trying to figured out how can i extract only 1 blob from a binary image, i based the detection whit an op object just to filter the other blobs, like a threshold.
If someone have time to help me out :)
Thanks
Max Patch
Copy patch and select New From Clipboard in Max.
Luis Marques
Hi! ;)
With frame subtraction you get a very unstable image because framesub measures the amount of movement/change in a image so its hard to track a precise blob.
Check this, I hope it helps.
Max Patch
Copy patch and select New From Clipboard in Max.
Best wishes!
hi,
thanks for the reply! great example. but extracting the coordinates now is impossible, due to the lack os cv.jit.label before the cv.jit.blob's...
Any solution? Applying the cv.jit.label after the op==1, will fix it?
Thanks
Luis Marques
Hi!
You're right!
Only worked with cv.jit.centroid.
Max Patch
Copy patch and select New From Clipboard in Max.
Best wishes!