We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
blob detection (Read 4807 times)
blob detection
Jan 15th, 2007, 5:25pm
 
Got a question concerning the blob detection-library.
I`m using the library with a cam and have to detect the dark pixels. For bright pixels, for example, with luminosity above 0,2f its working very good. But if i want to detect the dark pixels and i set the rate to, for example, 0,1f or 0,05f it isn`t enough. is there a possibility to detect the dark pixels? (and what is this "f" behind the number for?)


Re: blob detection
Reply #1 - Mar 17th, 2008, 3:14pm
 
I think there is an option for the blob detection to be made with the dark pixels instead of the brightest pixels.

try this:


theBlobDetection.setPosDiscrimination(false);

instead of

theBlobDetection.setPosDiscrimination(true);



Page Index Toggle Pages: 1