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.
Comment
Hi Nass,
Did you produced this image in Rhino? If the answer is yes how did you setup a fisheye camera in Rhino?
Thanks,
Mostapha
If you want to do it in Grasshopper you would need to look into Image Processing a little bit.
A starting point could be :
http://en.wikipedia.org/wiki/Sobel_operator
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:
http://de.wikipedia.org/wiki/Marching_Squares which is similar to Marching Cubes where there is a lot of discussion in Grasshopper forum and you can find some nice implementations there:
http://www.grasshopper3d.com/page/search-results?cx=007664031582976...
Have fun.
This image is very simple and honestly saying you can draw it in Rhino in just two minutes.
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.
From the Image or the data?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!