|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Hopefully, this is enough in the spirit of the forum, that the mods won't remove it for breaking the letter of the law. My "Before" image is not unaltered straight from camera. It's an equirectangular (360°x180° or spherical pano) that was made by stitching together four hand-held fisheye shots. For the interactive view (needs Flash), go here.
Before: ![]() After: ![]() This is a math-geek remapping thing, like little planets. There are numerous ways to represent a sphere on a flat 2-D plane. The most common way of representing the earth is the equirectangular one: your longitude and latitude become your x and y values on a cartesian plane. But among the more exotic remappings there's one called Peirce Quincuncial, which remaps the sphere to a square, where one pole is smack in the middle of the square, and the other is split among the four corners. The thing is, if you get a Peice Quincuncial remapping of a sphere, it's tileable, seamlessly. That's half of what's going on here. The other half is what's called Droste. Classical Droste effects are things like the Land o'Lakes butter logo: where someone's holding a picture of themselves holding a picture of themselves... etc. etc. Back in 2002, Hendrik Lenstra figured out the math for this kind of effect, similar to how Escher would tile things in his paintings. Once you have the math, you code it. So, Ben Reichardt aka breic on Flickr used Mathmap, a Gimp plugin. The power of Mathmap is that you can write a script for it in a C-like language. Any kind of mathematical transform can be encoded for Mathmap to perform on a graphic file. In this specific case, we're really lucky. Breic, who wrote the code for "Droste" is an open-source guy, and he freed the code. He's also someone who shoots and likes to remap equirectangulars, so he came up with code that not only does the Peirce Quincuncial remapping, it will also "drostify" it. Doing both, results in an image like the one I came up with. And it, too, is freely available on the Flickr Mathmap group. I am on a Mac, btw, so I didn't use Gimp or the Mathmap plugin directly, but I used an OSX standalone version called Mathmap Cocoa (it's available at the Mathmap website I linked to above). The basic steps in Mathmap Cocoa are:
If you don't have any equirectangulars to play with, you can skip the Peirce's Quincuncial, and just use the Droste filter (it comes with Mathmap these days), and just do a straight-up Droste-swirly instead: ![]() The steps are pretty much the same, only you won't have to check a "drostify" checkbox. The Flickr Escher Droste group has more information on how you can swirl around shapes other than circular by using masks, as well as how to use PS CS4 and Pixel Blender to do Droste.
__________________
I shoot with a Canon 5DmkII, 50D, and S90, and Pansonic G3. flickr stream and equipment list Last edited by inkista; 02-08-2011 at 04:04 AM. |
|
||||
|
Dont get me wrong, Inkista: you're the goddess of all that is awesome and I would be amazed to meet you... but all I got from this was "ooh pretty picture... mathmathmath... ooh pretty swirly picture!"
__________________
I am responsible for what I say; not what you understand. OsmosisStudios Gear List |
|
||||
|
Quote:
![]()
__________________
-Indigo D90, Minolta xg-9, Petri gx-1 A bunch of glass, mostly old, manual lenses. Flickr |
|
||||
|
And I didn't even post any equations!
![]() Sorry, guys, I knew I was pressurizing it at firehose levels, but if I broke it down into bite-sized chunks, it would've been PAGES and PAGES. And DPS limits you to only four graphics per post. Enjoy the pretty swirlies; don't worry about the math. Just look at the numbered steps.
__________________
I shoot with a Canon 5DmkII, 50D, and S90, and Pansonic G3. flickr stream and equipment list |
|
||||
|
You come up with the neatest looking things
__________________
Nikon D90 | Sony NEX-3 Nikkor 18-55 | Nikkor 70-300 | Nikkor 50 f/1.4D | Lensbaby 2.0 | Nikkor 85 f/1.8D | Nikkor 105 f/2.8 VR | Sigma 10-20 f/4-5.6 | Nikkor 10.5 f/2.8 Fisheye | Sony 16 f/2.8 | Sony 18-55 | 2xSB600 | Orbis Ring Flash Adapter My Flickr |
|
||||
|
My brain hurts ... I'm gonna reread this after coffee ...
__________________
http://www.flickr.com/photos/54311838@N00/ Feel free to edit and re-post my images to DPS only Nikon D90, Nikon V1, and a variable bunch of lenses. |
|
||||
|
I have no idea what you are talking about - and I am too sick with a cold to even try to comprehend it - but the effect is cool.
__________________
Stepping into the light - www.lifeimagesbyjill.blogspot.com/ - and - http://picasaweb.google.com/lifeimagesbyjill Canon G11, Power Shot Pro1 (L series 28-300), Canon EOS 450D (Rebel XSi) (18-55 & 55-250), Canon EOS 330X (film) (28-90 & 90-300) |
|
||||
|
OK, I think I get part of it. The pano is actually an equirectangular mapping from a sphere, and the Pierce quincuncial is a different mapping to the plane. Then you do the Droste magic on the plane. I like it! Very, very cool!
__________________
http://www.flickr.com/photos/54311838@N00/ Feel free to edit and re-post my images to DPS only Nikon D90, Nikon V1, and a variable bunch of lenses. |
|
||||
|
Quote:
Essentially, your latitude is mapped to the y coordinate, and your longitude is mapped to the x coordinate. The top and bottom of the rectangle are the top and bottom of the sphere, and the right and left sides wrap around to seam together. Most of the distortion happens at the poles. Quote:
If you do one from the top of the sphere, and one from the bottom, they join up seamlessly, and if you flip that 1x2 rectangle, it also tiles seamlessly, like this: ![]() Quote:
Quote:
__________________
I shoot with a Canon 5DmkII, 50D, and S90, and Pansonic G3. flickr stream and equipment list |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Each day we send out a quick email to thousands of DPS readers to notify them of updates. This email is just short excerpt of the first few lines of our latest post with a link if you want to read it all. You can unsubscribe from this this service at any time.
This service is provided by a third party (Feedburner) and you can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.
Enter your email address for
Daily Updates:
For those wanting a weekly summary of what happens on this site this free email newsletter is probably your best option. It includes a summary of the tips posted to the site each week. This newsletter is subscribed to by over 25000 readers (many who also subscribe to the other options above) - come join the community!
To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.
Enter your email address for
Free Weekly Newsletter: