» Cluster
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Cluster

plugin

about

Cluster is a simple algorithm for merging Pointclouds. May be useful for simplifying contourdata. sometimes it will be reasonable to use two Clusters in row..

ONLY >=v25

  • v0.8 - simple Algorithm coded

All hints and experiences are greatly appreciated.
discussionthread -http://vvvv.org/forum/following-tracked-objects-(n%3E1)

v1.0 Changelog

based on dbscan, now it works far more robust against noise. changed category from value to 2d. some extras like lifecycle, motionvectors & automatic linear movement after losing tracking, affinity of the points (0=noise, 1=empty, then the clusters) and so on, try it and leave your messages, ideas & hints here or in the thread linked above.

download

2dCluster_v1.0.zip
23.01.11 [23:56 UTC] by chmee | 1339 downloads
v1.0 - complete recoding
Show 1 older revisions

Older Revisions

Cluster_v0.8.zip
19.01.11 [13:15 UTC] by chmee | 974 downloads
v0.8 - inital contributed version

robe 19/01/2011 - 16:06

@chmee

Really Nice Contribution! It could be useful for lot of things..

kalle 21/01/2011 - 20:42

ah well,
the helpfile is referencing to Chaos.v4p which is a Subpatch? of the Group (2d) module i dropped somewhere in the 2.0-tikiwiki-forums.

so everybody starting this helppatch with a "virgin"-b25 installation will have 2 red nodes called "Chaos"...
unless this subpatch can be found in

"%VVVV%\modules\Group (2d)\Chaos.v4p"

dear chmee, pls don't take the following as offense:
dear devvvvs, pls DO take the following as offense:

after having a closer look at Cluster (Value) help.v4p
using the free XMLmarker (must-have!) i encountered a funny thing again:

vvvv's xml makes use of (at least two) new attributes called systemname and filename.
again those new attributes are neither documented nor part of the DTD of vvvv

have to complain about this in the bug section.

chmee 22/01/2011 - 00:31

no problem. good to find this way :D v1.0 is on the way and the help-patch will be a native one.. (didnt thought about your chaos ;)

kalle 22/01/2011 - 21:40

it's only partly my chaos :D

kalle 22/01/2011 - 21:41

of course you can use "my" chaos!
but you should distribute it then....

milo 03/04/2012 - 19:06

He Chmee, thanks for this great contribution. Is there a way to avoid multiple ID allocation?

Desaxismundi 03/04/2012 - 19:48

missed that one looks great :) tx!

mediadog 06/07/2012 - 06:26

Unless I misunderstand what the output pins are, "Members" is listing the cluster number that each X & Y input slice belongs to, correct?

But I'm seeing numbers in the "Members" output pin that are not in the "ID" output pin list. There's not even a very good overlap; for example, "Members" may contain 0, 2, 3, 4, 5, but "ID" only contains 4 slices of 0, 1, 2, 3. Note this is with constant input data so nothing is changing with time.

How do these pins correspond to each other? What does the "Members" data mean? I had hoped to be able to use that pin to group corresponding Z data, but no joy. Thanks!

mediadog 06/07/2012 - 06:41

I just noticed that in the help patch that the dots and the corresponding boxes usually do not have the same color, indicating mismatched IDs.

And I also just saw a case where the ID list had a number twice (6, 1, 5, 6) - should that be possible?

  • edit-

OK, so I'm guessing that in Members the IDs are +2 to make room for the affinity values 0 and 1, but the double 6 in the IDs still puzzles me.

anonymous user login

Shoutbox

~15d ago

~18d ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~24d ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~1mth ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~1mth ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~2mth ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~2mth ago

woei: @Joanie_AntiVJ: think so, looks doable