Page 1 of 1

Filter blobs by size

PostPosted: Tue Oct 01, 2019 12:21 pm
by kaaijmvd
The BlobFilter filters blobs on width and/or height of the blob. Is it also possible to filter on size (number of pixels)?

Re: Filter blobs by size

PostPosted: Tue Oct 01, 2019 12:46 pm
by andrew.kirillov
You need to provide your own custom filter. Easy to do. Implement IBlobsFilter interface and then check blobs' area.