Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, August 26, 2013 5:51:49 AM(UTC)

mohamed  
mohamed

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.

File Attachment(s):
SimpleBlob.zip (13kb) downloaded 62 time(s).

Edited by moderator Monday, June 1, 2020 2:58:05 PM(UTC)  | Reason: Not specified

Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, May 26, 2020 8:55:17 AM(UTC)

Amin  
Amin

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.

File Attachment(s):
FindBlobsV20.zip (14kb) downloaded 26 time(s).
FindBlobsV20Screenshot.png
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.069 seconds.