[Gridflow-dev] #centroid: added two extra outlets

Mathieu Bouchard matju at artengine.ca
Thu Jun 16 18:16:19 EDT 2005


On Thu, 16 Jun 2005, Alexandre Castonguay wrote:

> It's just that there are two [#export] in the abstraction already and it 
> saves the two steps of packing and unpacking.

Actually I almost deleted #centroid.pd to rename [#centroid2] to 
[#centroid], because #centroid2 is several times faster. You should use 
[#centroid2] whenever possible. If you want to add the same feature to 
[#centroid2] it's only two more lines of code but it's C++.

> I see your point about scalability but how would it return more than two
> dimensions as it is?

It could return more if I am using voxels instead of pixels. For example, 
a voxel image would be shaped like (layers,rows,columns,channels), which 
is one more dimension than a pixel image. This is also equivalent to 
putting a whole movie in a grid: (frames,rows,columns,channels).

,-o--------o--------o--------o-. ,---. irc.freenode.net #dataflow |
| The Diagram is the Program tm| | ,-o-------------o--------------o-.
`-o------------o-------------o-' | | Mathieu Bouchard (Montréal QC) |
   | téléphone:+1.514.383.3801`---' `-o-- http://artengine.ca/matju -'


More information about the Gridflow-dev mailing list