Find an Island of points or "strongly connected components"

#1

Hi Everyone,

I am trying to group an island of points that are represent a grouping across a canvas as in the image below.

I can isolate the points and find the outeredge using some proximty rules but I cannot order the points to draw a curve of the edge condition. the main issue I am having is figuring out how to isolate each grouping/cluster of colour. So far I have managed to group a horizontal and vertical break up of the points but can’t seem to get the two to correlate.

Any help would be greatly appreciated as this is keeping me up at night.

0 Likes

#2

Do you think you could post the DYN or any error messages?

0 Likes

#3

Hi Tom,

Unfortunately I do not have status enough to post my .dyn yet. Below is a screen shot though - thanks for your help.

0 Likes

#4

The tutorial on zero-touch uses the AForge library to detect edges of an image, and create geometry of that in Dynamo
Sounds like what you are trying to do ?

http://dynamoprimer.com/en/10_Packages/10-5_Zero-Touch.html

Andrew

0 Likes

#5

Thanks Andrew that is exactly what I want to do. I’ll let you know how I get on.

0 Likes