Find only 1 blob based on threshold


    Feb 24 2010 | 9:29 pm
    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
    Luis Marques

    • Feb 25 2010 | 1:10 am
      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.
      Best wishes!
    • Feb 25 2010 | 1:46 am
      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
    • Feb 25 2010 | 4:01 am
      Hi! You're right! Only worked with cv.jit.centroid.
      Best wishes!