AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Filter blobs by size

The forum is to discuss topics related to different areas of image processing and computer vision.

Filter blobs by size

Postby kaaijmvd » Tue Oct 01, 2019 12:21 pm

The BlobFilter filters blobs on width and/or height of the blob. Is it also possible to filter on size (number of pixels)?
kaaijmvd
 
Posts: 2
Joined: Mon Sep 23, 2019 1:40 pm

Re: Filter blobs by size

Postby andrew.kirillov » Tue Oct 01, 2019 12:46 pm

You need to provide your own custom filter. Easy to do. Implement IBlobsFilter interface and then check blobs' area.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3451
Joined: Fri Jan 23, 2009 9:12 am
Location: UK




Return to Image Processing and Computer Vision