fxbit / aforge

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

Extracting particular blob #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At this point BlobCounterBase class allows to retrieve all objects’ 
rectangles (GetObjectRectangles()) or all objects (GetObjects()). But 
there is not way to extract particular object (there is no way also to 
reference it).

Use case. For example, using GetObjectRectangles() we retrieve all 
rectangles and then, after their processing, we need to extract only the 
biggest blob. GetObjects() will give entire objects’ collection, but not 
just one blob, what is not efficient from performance stand point.

Original issue reported on code.google.com by andrew.k...@gmail.com on 16 Feb 2008 at 1:40

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 16 Feb 2008 at 1:42

GoogleCodeExporter commented 9 years ago
BlobCounterBase class is extended with two additional methods: 
GetObjectInformation
(), which allows to collect blobs without initialized image, and 
ExtractBlobsImage
(), which allows to extract blob's image. Blob class got new additional ID 
property. 
The Owner property was removed - looks useless.

Committed in revision 450, will be released in version 1.6.1.

Original comment by andrew.k...@gmail.com on 18 Feb 2008 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 17 May 2008 at 6:28

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 19 May 2008 at 6:08