Grasshopper

algorithmic modeling for Rhino

is there an intended method to re-assemble the exported hi-res images? I needt o put a few together and I'm hoping there's a way to automate the process, to avoid having to do a whole lot of fiddly assembly. It may be a dumb question, but what's the best way to do this?

Views: 1505

Replies to This Discussion

Hi Gabriel,

nothing from me. I simply just import the images into XaraX and snap the corners together. I suppose you could write a script in Photoshop or Illustrator to do this for you.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
thanks David. I thought I might be overlooking something kind of obvious.
to anyone interested, I think I may be onto a solution. it's not working for me just yet but it seems like it should once i figure it out...for photoshop, at least

http://forums.adobe.com/message/2508502#2508502
Hi David, why just not have a full nice his res image instead of many small?
The images I write require 32 bits per pixel. If you export a hi-res image of -say- 5000 x 5000 pixels, that amounts to:

(5000 x 5000 x 32) / (8 bits per byte) = 100,000,000 bytes = 100 MB

Bitmap images require this memory to be continuous. So even if you have 1GB of memory still available for the Rhino+Grasshopper process, if this memory is all fragmented into bits and pieces smaller than 100MB, you'll crash on a memory error.

By limiting the size to 1000 x 1000, the total memory consumption per segment is about 4MB. If you cannot find 4MB of free memory, you're pretty much f*cked either way.

I do know it's annoying, and I can definitely allow you to override the size limitation, but I'd really rather not add something which is guaranteed to crash if I can help it.

Another solution is that I'd write a separate small program that reads the images from the disk and stitches them together automatically. This would be a new process which is thus not tied to Rhino+Grasshopper memory pool.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
try photoshop contact sheet automation. don't flatten the layers. this process gets about 80% of the work done.

the settings:


the result:

that script I mentioned does ALL the work for you. Let me know if you have trouble with it
You can use photomerge in Photoshop, this will do it automatically for you
which version of cs are you using? cs 2 photomerge doesn't work for me.
CS 4, but I would assume it would work for previous versions. Let me go check real quick
Well, I guess the image is too repetitive for Photomerge?
Sorry for the mislead suggestion, in theory it should work, as it works seamlessly for panoramic-type images which led me to believe that it would work for the split up grasshopper images.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service