Hey, It'll be gr8 if you can mail a copy of the same. and i had asked this question before in the mailing list-- I found a patch called pix-multiblob-help.pd in PD-extended. is it similar to the multiblob-for-gridflow patch that u had written?
Thanks a lot for all your help...I've just begun to get a hang of PD . There is an excellent tutorial here:http://en.flossmanuals.net/PureData . You should add this to puredata.info if it isnt already there.
Sisil.
On Thu, Aug 13, 2009 at 9:37 PM, Mathieu Bouchard matju@artengine.cawrote:
On Thu, 6 Aug 2009, sisil mehta wrote:
I know its too much to ask but can someone write a .pd file for giving a
result as shown in the png
I may have a copy of it somewhere but I'd have to find it. Basically this was an early prototype of a project-specific patch I made for an artist, and I don't think that it belongs in GridFlow. I agree to put a copy of the early prototype in GridFlow, but I expect to have to redo it from scratch, as I'd only find ulterior versions of this patch that are too project-specific.
doubts in places -like in some places its not clear what is connected
where(for instance the block with >=25 is connected to sqrt or #labeling or both?)
[#labeling]'s right outlet (blob area pixel count) is sending to both [>= 25] and to [sqrt]; the latter two don't send to each other. I think that the only visually ambiguous thing in there is the line to [sqrt], which could come from any outlet of [#labeling], but I don't make connections overlap with the bottom of an objectbox when there are several outlets, exactly for that reason, so it has to come out of the last outlet anyway.
and in the unused stuff: section theres a block with the symbols (* ...*),
i''m not sure what that is either.
This is a [display] object. it's like [print] but it displays in the patch itself.
This unused section is really unused: they're cutouts from earlier versions of the patch, that I kept aside just in case.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
On Thu, 13 Aug 2009, sisil mehta wrote:
I found a patch called pix-multiblob-help.pd in PD-extended. is it similar to the multiblob-for-gridflow patch that u had written?
Well... yes and no. If you compared the help file with what I've told you about [#labeling], you would see that several features don't match: with [#labeling] you're supposed to do the threshold yourself (with [# >=] or anything else); [#labeling] does not give you the min/max (bounding box) but [pix_multiblob] does not give you the variance. In my opinion the variance is a very useful measurement, but then that's why I wrote [#labeling] the way I did.
Also, [#labeling] gives you the data in little pieces instead of a big table like [pix_multiblob] does. You'd think it would be more in GridFlow's style to put data in big chunks (which is the normal way to do things in GridFlow) but I made this an exception to make it easy to filter out unwanted blobs using [spigot]. For example, in multiblob.png you can see that it only keeps blobs that have at least 25 pixels.
You could make any other filters you want: for example, you could keep only blobs that spread on a large amount of space (regardless of actual area of the blob); or you could keep directional blobs (long and narrow), which would keep narrow ovals and narrow rectangles, to reject circles and squares (which are as long as they are wide).
I don't know what the iemmatrix offers for processing [pix_multiblob]'s output. Perhaps Johannes can give some examples.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec