LEADTOOLS Support
Imaging
Imaging SDK Questions
HOW TO: Use Machine Vision to find blobs in images
While some posts in this topic are more current, this topic was posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, August 26, 2013 5:51:49 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
The attached project performs simple blob detection in an image.
The sample image attached with the project contains discrete (distinct) blobs of different shapes and locations all against a plain white background.
The code loops for all pixels in the image and checks whether the pixel color is Black which indicates reaching a blob. When it does reach a blob, it uses the magic wand region selection function to select the blob and fill it with white to eliminate it. It then gives the region rectangle location and its center, and total count of the pixels (area) of the blob.
The project uses LEADTOOLS 18 .NET and C# VS 2010. To build it, extract the attached ZIP file into a folder directly inside the LEADTOOLS 18\Examples\DotNet\CS\ folder.
Edited by moderator Monday, June 1, 2020 2:58:05 PM(UTC)
| Reason: Not specified
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
#2
Posted
:
Tuesday, May 26, 2020 8:55:17 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
The attached C# project is updated to use the current version of LEADTOOLS, which is v20.
To build the project, it should should be extracted to a folder inside the "C:\LEADTOOLS 20\Examples\DotNet\CS" directory.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Imaging
Imaging SDK Questions
HOW TO: Use Machine Vision to find blobs in images
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.