[PD] Help with [pix_multiblob]'s outlet.
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Sep 26 09:20:26 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-09-25 16:19, Eduardo Rosario wrote:
> Ain't got no problem getting the list of numbers from the rightmost outlet,
> but don't really understand what each one of those stands for:
> centerX(weighted), centerY(weighted), size(weighted), minX, minY, maxX,
> maxY, area.
what exactly is it that you don't understand?
the "weighted" elements take the luminance of the blobs and interpret
them as 'mass': this mans, the brighter a pixel in the blob gets, the
more important it is.
"centerX(weighted)" is the X coordinate of the centre of gravity,
"size(weighted)" is he total 'weight' of the blob,
the 'unweighted' elements, are mere 2D geometric properties, "minY" is
the minimum Y coordinate of the blob, and "area" is a (normalized) count
of all pixels covered by a blob.
> I know [pix_multiblob] makes a matrix to get the results, but I
> don't know how does that work neither.
a matrix is a 2D array of N*M elements to store numbers.
N is the number of rows in the array, in our case the number of detected
blobs. M is the number of columns in the array, in our case 8
(centerX(weighted)...area)
the iemmatrix library deals with these arrays (if you don't want to
parse the simple message yourself)
fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6AJ7QACgkQkX2Xpv6ydvQtYQCfeoFHcxTdI0796kk0XrG6NxB/
8eEAoNlqXH9vGlJJ8m5AeC4CKB+Jclmb
=ti55
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110926/e88481b3/attachment-0001.bin>
More information about the Pd-list
mailing list