EyesWeb XMI Forum
http://forum.eyesweb.infomus.org/

minimun blob size in ExtractBlobs
http://forum.eyesweb.infomus.org/viewtopic.php?f=24&t=24
Page 1 of 1

Author:  AndreiRT [ 23 Jun 2008, 07:09 ]
Post subject:  minimun blob size in ExtractBlobs

dear forum,

I would like to ask some ideas about how I could eliminate small blobs from the list given by ExtractBlobs. I mean, I would like to eliminate them before calling ExtractBlobs, not after. I know I can get blob info with ExtractBlob2DInfo but I don't see how to loop throught the list of blobs (output of ExtractBlobs) and delete all the blobs smaller then a determined area.

thank you,
andrei

Author:  paolo [ 07 Jul 2008, 10:12 ]
Post subject:  Re: minimun blob size in ExtractBlobs

Hi,

you can use the ListRemoveIf block, which removes blobs which area is not in the specified range. Keep into account the fact that this block uses normalized area, thus, a blob with area spans the whole image.

Paolo

Author:  AndreiRT [ 09 Jul 2008, 17:32 ]
Post subject:  Re: minimun blob size in ExtractBlobs

thank you, it was what I was looking for.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/