algorithmic modeling for Rhino

hallo everyone,

I am trying to get an outline or closed polyline from a fisheye picture that i produced. attached is the jpeg. Is there a way to get a closed outline where only the sky can be seen ( i.e: without the surrounding building).

thank you in advance.  


Views: 1454


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by Mostapha Sadeghipour Roudsari on November 20, 2013 at 10:29pm

Hi Nass,

Did you produced this image in Rhino? If the answer is yes how did you setup a fisheye camera in Rhino?



Comment by Richard Schaffranek on September 27, 2013 at 3:09am

If you want to do it in Grasshopper you would need to look into Image Processing a little bit.

A starting point could be :

This should give you the position of the outlines.

So if you would like to filter the sky than you would need to make a black and white image first.

Get the Edges with e.g the sobel operator and then connect the points using something like: which is similar to Marching Cubes where there is a lot of discussion in Grasshopper forum and you can find some nice implementations there: 

Have fun.

Comment by Piotr on September 26, 2013 at 5:10pm

This image is very simple and honestly saying you can draw it in Rhino in just two minutes.

Comment by Piotr on September 26, 2013 at 4:59pm

Import image to Photosop, make a mask with a magic wand, save selection as path, export path as AI file, open it in Rhino as vector graphic.

Comment by nass on September 26, 2013 at 9:13am
from image
Comment by Richard Schaffranek on September 26, 2013 at 9:12am

From the Image or the data?





  • Add Photos
  • View All


  • Add Videos
  • View All

© 2022   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service