Image analysis in Grasshopper

With the “Image sampler” utility in Grasshopper we can read the pixels of an image and analyse them.

For instance, we can take the image the image of a bubble

bubble

and take it to Grasshopper, scanning only the pixels with certain amount of black:

IMAGE_SAMPLER_bubbles

And draw the connectivity lines … and then bake them into Rhino!

IMAGE_SAMPLER_curves

 

We could even take all the images of the Munich Stadium test structure model.

Fabric_Investigations-2hqvs8v

You can find the GH definition in:

https://www.dropbox.com/s/3uyr0gvpls147c5/image_sampler.gh?dl=0

Miguel

Advertisements
This entry was posted in COSYPARAMETRICS 2. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s