Grasshopper

algorithmic modeling for Rhino

Image sampler to output as points not polygons

I'm a relative novice to Grasshopper, advanced Rhino user. I'm trying to link an image sampler such that it gives me a field of points. 

I can do this to get circles or polygons to form a perforated pattern based on the image but if I want just points to use as a base for manipulation later  what should I do?

Thanks!!

Views: 1105

Replies to This Discussion

The image sampler doesn't out put any geometry. The data that comes out is a value of the interrogated image at a supplied reference location. You can have it as either colour, brightness, hue, saturation or one of the channels. How you use this data is up to you. You could have a Smaller Than component which returns a list of True/False values based on a target brightness. This pattern could then be used to Cull a set of points that represent the reference location of the image so you only get the values which are darkest etc.

Thanks Danny! How is brightness quantified? A screenshot is attached here, perhaps the "larger than" component isn't set up correctly?

L is the list of items you wish to cull on P is the boolean pattern. swap these around and it should work

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service