Patches item #3436466, was opened at 2011-11-11 00:39 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507081&aid=3436466...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Pd patch Group: None
Status: Pending Resolution: Accepted
Priority: 5 Private: No Submitted By: Ricardo Fabbri (ricardofabbri) Assigned to: Nobody/Anonymous (nobody) Summary: multiblob help improvement
Initial Comment: Hi,
I documented a crucial limitation about pix_multiblob, namely, that it limits blobs to 10K pixels (e.g. 100x100), since it needs to avoid stack overflow in its recursion-based algorithm. In the attached patch I am also explaining what "weighted" means, based on what the sourcecode does.
As a workaround to the pix_multiblob limitation, people should be using pix_opencv_floodfill instead. Otherwise the results will be weird for any object greater than 10K pixels in area.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2011-11-13 07:49
Message: i took the new impementation from your repository.
----------------------------------------------------------------------
Comment By: Ricardo Fabbri (ricardofabbri) Date: 2011-11-11 21:19
Message: I am working on the new implementation; in the meantime, multiblob_help_describe_weighted_rfabbri.patch only describes what weighted means; if you accept this patch we can close this; I will submit the new pix_multiblob implementation on a new patch or through a git repo.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2011-11-11 04:31
Message: i think a new implementation would be great, so please go ahead!
----------------------------------------------------------------------
Comment By: Ricardo Fabbri (ricardofabbri) Date: 2011-11-11 00:44
Message: In fact, I could write a stack-based implementation for pix_multiblob, if you agree.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507081&aid=3436466...