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

Older Revisions

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

~2d ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~2d ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~9d ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~11d ago

~13d ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~16d ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~16d ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~23d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~30d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~30d ago