darrencoutts118 / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

BlobCounter - support for white background #372

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently as i've understood BlobCounter supports only BG colors less or equal 
to BackgroundThreshold property. It would be nice to have switch property that 
will enable grater or equal mode.

Currently i've roughly modified lib code to have such behaviour. 

Original issue reported on code.google.com by panthern...@gmail.com on 20 Nov 2013 at 6:59

GoogleCodeExporter commented 8 years ago
It might be easier just to invert an image, rather than making Blob Counter 
slower with extra cases.

Original comment by andrew.k...@gmail.com on 20 Nov 2013 at 8:18

GoogleCodeExporter commented 8 years ago
Is it can be done using Threshold class? Just found it... Or please can you 
clarify how this can be achieved.

Original comment by panthern...@gmail.com on 20 Nov 2013 at 9:37

GoogleCodeExporter commented 8 years ago
There is another class to invert image. If you check documentation, you will 
find that it is trivial to use. There are no properties, nothing.

Original comment by andrew.k...@gmail.com on 20 Nov 2013 at 9:42

GoogleCodeExporter commented 8 years ago
Thanks for pointing this! I'll check it.

Original comment by panthern...@gmail.com on 20 Nov 2013 at 9:59