[Gridflow-dev] [PD-dev] GridFlow/#labeling
matju at artengine.ca
Mon Aug 3 11:36:07 EDT 2009
On Sun, 2 Aug 2009, sisil mehta wrote:
> I just can find the #labeling file? i have gridflow 0.9.4 has it been
> replaced by some other file??
[#labeling] doesn't have a help file. This external is inside
gridflow/base/flow_objects.c , so you just have to load gridflow as a
whole ( -lib gridflow ) and you have it.
there's an example patch at
[#labeling] has four outlets:
outlet 3 gives the amount of pixels in the blob
outlet 2 gives a mean vector (where the centre of the blob is)
outlet 1 gives a covariance matrix (how much a blob spreads)
those outlets are sent to repeatedly for each blob, and then once of:
outlet 0 gives an "indexed color" version of the original binary picture
by replacing every "1" by the blob number (numbered from 2 upwards).
[#labeling 1] is a variant that has two outlets:
outlet 1 gives two-sided "polygons" made of all horizontal segments in a
outlet 0 is the same as before, except all blobs are horizontal
lines because all scanlines are considered separate.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
More information about the Gridflow-dev