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

Cluster

plugin 2d contour group multitouch trautner

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 | 1083 downloads
v1.0 - complete recoding
Show 1 older revisions

Older Revisions

Cluster_v0.8.zip
19.01.11 [13:15 UTC] by chmee | 759 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

~12h ago

joreg: We are complete: #NODE20 will feature 30 #vvvv workshops, from intro to masterclass, from user to developer: node20-workshops

~1d ago

joreg: Please help yourself to the latest #vvvv gamma 2020.2: vvvv-gamma-2020.2-release

~5d ago

nodeforum: E-mail invitations for NODE20’s Festival Hub have been sent out yesterday. In case of trouble let us know via help@nodeforum.org

~6d ago

david: @neuston: email is going out very soon!!!

~6d ago

neuston: @sunep Thx, but I have checked the spam folder but could not fine any

~6d ago

sunep: @neustron have you checked your spam folder? Mine went to spam.

~6d ago

neuston: I've not received any activation email for Talque, after purchased tickets of NODE20 last week. Is it normal? just want to confirm.

~6d ago

boplbopl: @tonfilm nice!

~6d ago

tonfilm: The first #vl #stride screenshots are here! vl.stride-earlyaccess-screenshots #visualprogramming #dotnet @stride3d #creativecoding #vvvv #gamedev