Re: [PD] Multiblob and matrices...
Simon Ball wrote: Thanks for these, that's made it much clearer. However, in my version of pd (0.40.3-extended - mac, OSX 10.4.11) the [pix_blobtracker] doesn't seem to load. Is this a subpatch that makes use of multiblob that I don't have, or is it an object that I am missing? its an abstraction you should be able to find in the extra/Gem/ directory (which you might not be able to open from the finder because its within the Pd.app bundle :-() try creating [Gem/pix_blobtracker] instead. fgmasdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Multiblob and matrices...
2009/4/8 Simon Ball sballm...@googlemail.com: Thanks for these, that's made it much clearer. However, in my version of pd (0.40.3-extended - mac, OSX 10.4.11) the [pix_blobtracker] doesn't seem to load. Is this a subpatch that makes use of multiblob that I don't have, or is it an object that I am missing? hi simon, for pd-extended to create all the objects, I had to add declare -stdpath extra/Gem (for pix_blobtracker) declare -stdpath extra/iemmatrix (for all the mtx_ objects) and create an instance of mtx_mul that gets loaded before mtx_* I don't know if declare will work with 0.40. check your console to see if the mtx_ objects get loaded correctly. marius. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Multiblob and matrices...
Simon Ball wrote: I assume that the patches you've provided (greatly appreciated) collate the data in someway in order for me to be able to unpack it? However, I'm not sure that I even understand exactly how 'unpack' and 'route' work, which is obviously a problem! in this case i would highly recommend to read the documentation of Pd. (esp. work through all examples in doc/2.control.examples/) you will not be able to do much meaningful things in Pd without at least a basic understanding on how to deal with messages. fgm,asdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Multiblob and matrices...
Hello, 2 examples +/- from help patches that may help ++ Benjamin Simon Ball a écrit : Thanks for the response. However, I am still struggling with this. I probably need a much more basic explanation. Sorry. I assume that the patches you've provided (greatly appreciated) collate the data in someway in order for me to be able to unpack it? However, I'm not sure that I even understand exactly how 'unpack' and 'route' work, which is obviously a problem! If anyone can provide a more simplified explanation I would really appreciate it. I'm not that familiar with programming, so layman's terms are all I can manage! Thanks Simon On Sat, Apr 4, 2009 at 2:14 PM, IOhannes m zmoelnig zmoel...@iem.at mailto:zmoel...@iem.at wrote: Simon Ball wrote: Hi List hi. it seems like i received this email multiple times... However, there are few areas I am still confused about. First of all, I am unsure of how to extract muliple co-ordinates from [pix_multiblob]. I understand that the data from multiblob is collated within a matrix. I am able to see this in the pd window when I print. However, I am unsure how to use a matrix. Is there a certain object that I should be sending to from [pix_multiblob]? And in turn, how would I convert the matrix into xy co-ordinates. there is a separate library dedicated to the kind of matrices output by [pix_multiblob]; it's called iemmatrix. however, you should have an understanding of matrices in order to use it. matrices of this form are simple messages which you can treat like any other message. attached are two examples on how to extract the rows of a matrix (and pix_multiblob will give you one row per blob; so this is interesting data), one using iemmatrix ([pix_rows]) and one using zexy ([pix_rowz]). it is left as an exercise for the user to make a pd-vanilla implementation. just send the mtx-output of [pix_multiblob] to the object, and you will get nice lists for each blob, starting with the index of the blob (zero-based) and then comes the data. use [route] to filter the relevant blobs and [unpack] to access the data. In the archives I found a response to similar a question saying there was a gem example with matrix and multiblob, but I can not seem to find it. Any idea what and where this is? there's an abstraction called [pix_blobtracker] which uses [pix_multiblob] and matrix operations to track blobs. Hope thats not too many questions. And is it easier for the list if I divide questions up (for archive purposes perhaps)? personally i would prefer separate threads for separate questions for starters. it always ends in confusion, but we could try to delay this... gmsdr IOhannes #N canvas 0 0 552 353 10; #X obj 153 163 mtx; #X msg 153 143 col; #X obj 153 123 t b a b; #X obj 153 208 list prepend; #X obj 153 184 t a b; #X obj 196 185 i; #X obj 225 187 + 1; #X msg 214 165 0; #X obj 153 97 inlet; #X obj 153 236 outlet; #X text 72 48 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 265 depends on [iemmatrix]; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 2 1 0 1; #X connect 2 2 7 0; #X connect 3 0 9 0; #X connect 4 0 3 0; #X connect 4 1 5 0; #X connect 5 0 6 0; #X connect 5 0 3 1; #X connect 6 0 5 1; #X connect 7 0 5 1; #X connect 8 0 2 0; #N canvas 166 277 450 419 10; #X msg 176 195 \$2; #X obj 184 249 repack; #X obj 144 221 list split 3; #X obj 184 321 list prepend; #X obj 144 170 t a a b; #X obj 184 274 t a b; #X obj 216 297 i; #X obj 246 298 + 1; #X msg 234 276 0; #X obj 144 145 inlet; #X obj 184 351 outlet; #X text 72 108 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 375 depends on [zexy]; #X connect 0 0 1 1; #X connect 1 0 5 0; #X connect 2 1 1 0; #X connect 3 0 10 0; #X connect 4 0 2 0; #X connect 4 1 0 0; #X connect 4 2 8 0; #X connect 5 0 3 0; #X connect 5 1 6 0; #X connect 6 0 7 0; #X connect 6 0 3 1; #X connect 7 0 6 1; #X connect 8 0 6 1; #X connect 9 0 4 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 509 42 863 826 10; #X obj 9 265 cnv 15 430 145 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 40 267 Inlets:; #X text 39 352 Outlets:; #X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 18 226 Arguments:; #X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0
Re: [PD] Multiblob and matrices...
Thanks for the response. However, I am still struggling with this. I probably need a much more basic explanation. Sorry. I assume that the patches you've provided (greatly appreciated) collate the data in someway in order for me to be able to unpack it? However, I'm not sure that I even understand exactly how 'unpack' and 'route' work, which is obviously a problem! If anyone can provide a more simplified explanation I would really appreciate it. I'm not that familiar with programming, so layman's terms are all I can manage! Thanks Simon On Sat, Apr 4, 2009 at 2:14 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: Simon Ball wrote: Hi List hi. it seems like i received this email multiple times... However, there are few areas I am still confused about. First of all, I am unsure of how to extract muliple co-ordinates from [pix_multiblob]. I understand that the data from multiblob is collated within a matrix. I am able to see this in the pd window when I print. However, I am unsure how to use a matrix. Is there a certain object that I should be sending to from [pix_multiblob]? And in turn, how would I convert the matrix into xy co-ordinates. there is a separate library dedicated to the kind of matrices output by [pix_multiblob]; it's called iemmatrix. however, you should have an understanding of matrices in order to use it. matrices of this form are simple messages which you can treat like any other message. attached are two examples on how to extract the rows of a matrix (and pix_multiblob will give you one row per blob; so this is interesting data), one using iemmatrix ([pix_rows]) and one using zexy ([pix_rowz]). it is left as an exercise for the user to make a pd-vanilla implementation. just send the mtx-output of [pix_multiblob] to the object, and you will get nice lists for each blob, starting with the index of the blob (zero-based) and then comes the data. use [route] to filter the relevant blobs and [unpack] to access the data. In the archives I found a response to similar a question saying there was a gem example with matrix and multiblob, but I can not seem to find it. Any idea what and where this is? there's an abstraction called [pix_blobtracker] which uses [pix_multiblob] and matrix operations to track blobs. Hope thats not too many questions. And is it easier for the list if I divide questions up (for archive purposes perhaps)? personally i would prefer separate threads for separate questions for starters. it always ends in confusion, but we could try to delay this... gmsdr IOhannes #N canvas 0 0 552 353 10; #X obj 153 163 mtx; #X msg 153 143 col; #X obj 153 123 t b a b; #X obj 153 208 list prepend; #X obj 153 184 t a b; #X obj 196 185 i; #X obj 225 187 + 1; #X msg 214 165 0; #X obj 153 97 inlet; #X obj 153 236 outlet; #X text 72 48 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 265 depends on [iemmatrix]; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 2 1 0 1; #X connect 2 2 7 0; #X connect 3 0 9 0; #X connect 4 0 3 0; #X connect 4 1 5 0; #X connect 5 0 6 0; #X connect 5 0 3 1; #X connect 6 0 5 1; #X connect 7 0 5 1; #X connect 8 0 2 0; #N canvas 166 277 450 419 10; #X msg 176 195 \$2; #X obj 184 249 repack; #X obj 144 221 list split 3; #X obj 184 321 list prepend; #X obj 144 170 t a a b; #X obj 184 274 t a b; #X obj 216 297 i; #X obj 246 298 + 1; #X msg 234 276 0; #X obj 144 145 inlet; #X obj 184 351 outlet; #X text 72 108 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 375 depends on [zexy]; #X connect 0 0 1 1; #X connect 1 0 5 0; #X connect 2 1 1 0; #X connect 3 0 10 0; #X connect 4 0 2 0; #X connect 4 1 0 0; #X connect 4 2 8 0; #X connect 5 0 3 0; #X connect 5 1 6 0; #X connect 6 0 7 0; #X connect 6 0 3 1; #X connect 7 0 6 1; #X connect 8 0 6 1; #X connect 9 0 4 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Multiblob and matrices...
Simon Ball wrote: Hi List hi. it seems like i received this email multiple times... However, there are few areas I am still confused about. First of all, I am unsure of how to extract muliple co-ordinates from [pix_multiblob]. I understand that the data from multiblob is collated within a matrix. I am able to see this in the pd window when I print. However, I am unsure how to use a matrix. Is there a certain object that I should be sending to from [pix_multiblob]? And in turn, how would I convert the matrix into xy co-ordinates. there is a separate library dedicated to the kind of matrices output by [pix_multiblob]; it's called iemmatrix. however, you should have an understanding of matrices in order to use it. matrices of this form are simple messages which you can treat like any other message. attached are two examples on how to extract the rows of a matrix (and pix_multiblob will give you one row per blob; so this is interesting data), one using iemmatrix ([pix_rows]) and one using zexy ([pix_rowz]). it is left as an exercise for the user to make a pd-vanilla implementation. just send the mtx-output of [pix_multiblob] to the object, and you will get nice lists for each blob, starting with the index of the blob (zero-based) and then comes the data. use [route] to filter the relevant blobs and [unpack] to access the data. In the archives I found a response to similar a question saying there was a gem example with matrix and multiblob, but I can not seem to find it. Any idea what and where this is? there's an abstraction called [pix_blobtracker] which uses [pix_multiblob] and matrix operations to track blobs. Hope thats not too many questions. And is it easier for the list if I divide questions up (for archive purposes perhaps)? personally i would prefer separate threads for separate questions for starters. it always ends in confusion, but we could try to delay this... gmsdr IOhannes #N canvas 0 0 552 353 10; #X obj 153 163 mtx; #X msg 153 143 col; #X obj 153 123 t b a b; #X obj 153 208 list prepend; #X obj 153 184 t a b; #X obj 196 185 i; #X obj 225 187 + 1; #X msg 214 165 0; #X obj 153 97 inlet; #X obj 153 236 outlet; #X text 72 48 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 265 depends on [iemmatrix]; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 2 1 0 1; #X connect 2 2 7 0; #X connect 3 0 9 0; #X connect 4 0 3 0; #X connect 4 1 5 0; #X connect 5 0 6 0; #X connect 5 0 3 1; #X connect 6 0 5 1; #X connect 7 0 5 1; #X connect 8 0 2 0; #N canvas 166 277 450 419 10; #X msg 176 195 \$2; #X obj 184 249 repack; #X obj 144 221 list split 3; #X obj 184 321 list prepend; #X obj 144 170 t a a b; #X obj 184 274 t a b; #X obj 216 297 i; #X obj 246 298 + 1; #X msg 234 276 0; #X obj 144 145 inlet; #X obj 184 351 outlet; #X text 72 108 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 375 depends on [zexy]; #X connect 0 0 1 1; #X connect 1 0 5 0; #X connect 2 1 1 0; #X connect 3 0 10 0; #X connect 4 0 2 0; #X connect 4 1 0 0; #X connect 4 2 8 0; #X connect 5 0 3 0; #X connect 5 1 6 0; #X connect 6 0 7 0; #X connect 6 0 3 1; #X connect 7 0 6 1; #X connect 8 0 6 1; #X connect 9 0 4 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list