IPB
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Polar Projections, turning a 360 degree pan into a...
Phil Stooke
post Jun 13 2005, 08:19 PM
Post #1


Solar System Cartographer
****

Group: Members
Posts: 10265
Joined: 5-April 05
From: Canada
Member No.: 227



I have posted several polar projections of MER panoramas (and Apollo and Surveyor pans in other places). This is how I do it...

I use Photoshop... any recent version is OK.

The tool to use is Filter>Distort>polar coordinates.

polar coordinates can work both ways - rectangular coordinates to circular or back. In map terms it lets you go from a cylindrical projection to an azimuthal (polar) one... in fact I have frequently used this with maps (for instance, take the cylindrical map of Titan from the JPL Cassini website, crop the southern half, and turn it into a pole-centered view of the southern hemisphere...)

For these pans you do the following.

1. 'polar coordinates' turns a rectangle into an ellipse. If you want a circle you have to make the rectangle a square. So I begin by resampling the pan to a square shape.. a 5000 by 1000 pixel pan becomes a 3000 by 3000 square. I cut off any unwanted sky first.

2. 'polar coordinates' puts the top of the rectangle at the center of the circle. So rotate the pan 180 degrees.

3. Then press the button and see what happens! You get a pan with the same horizon foreshortening as the original but wrapped into a circle.

4. I prefer a more maplike geometry, so the foreshortened distant areas need to be expanded relative to the foreground. I find it easier to do it this way:
- in step 1, I begin by making the 5000 by 1000 pan tall and narrow, maybe 3000 (wide) by 8000 (high). Then I select everythig except the near-horizon area and use edit>transform>scale (in my version, layer>transform>scale in others) to shrink the height of the selection about 10% or 15%. I keep repeating that with progressively smaller selections until at the end I'm only selecting a narrow strip of foreground and shrinking that. The result: the pan is now stretched higher near the horizon, and compressed near the foreground. Try it - trial and error will get decent results quite soon. NOTE: you could do this with some calculated figures to get more accurate geometry, but I just guess.

- then that modified pan is adjusted to be 3000 by 3000 pixels... usually with a bit of white space included at the bottom.

- then on to step 3 and see how it looks.

Let's keep them coming!

Phil


--------------------
... because the Solar System ain't gonna map itself.

Also to be found posting similar content on https://mastodon.social/@PhilStooke
Maps for download (free PDF: https://upload.wikimedia.org/wikipedia/comm...Cartography.pdf
NOTE: everything created by me which I post on UMSF is considered to be in the public domain (NOT CC, public domain)
Go to the top of the page
 
+Quote Post

Posts in this topic
- Phil Stooke   Polar Projections   Jun 13 2005, 08:19 PM
- - um3k   I suspect step 4 could be made (much) easier by us...   Jun 13 2005, 09:33 PM
- - Phil Stooke   I have always stayed away from the displace filter...   Jun 14 2005, 01:33 AM
|- - dilo   Phil, thank you very much for sharing these infos....   Jun 14 2005, 03:49 AM
|- - dilo   Hi, just managed to make polar projection through ...   Jun 25 2005, 08:35 AM
- - Decepticon   Does anyone know how each rover is doing with sola...   Jun 25 2005, 12:52 PM
- - Phil Stooke   Dilo, very nice polar projection. I have never tr...   Jun 25 2005, 01:48 PM
|- - dilo   Hi Phil, I'm happy you like it! I have to...   Jun 25 2005, 03:04 PM
|- - djellison   QUOTE (dilo @ Jun 25 2005, 03:04 PM)Hi Phil, ...   Aug 29 2005, 10:57 AM
|- - dilo   QUOTE (djellison @ Aug 29 2005, 10:57 AM)I...   Sep 14 2005, 09:03 PM
|- - dilo   remaining attachments:   Sep 14 2005, 09:05 PM
- - Phil Stooke   I mentioned the heatshield map, and I just posted ...   Jun 25 2005, 07:23 PM
|- - dilo   Really funny and useful, I think . Wath do you ...   Jun 26 2005, 05:34 AM
- - Phil Stooke   Dilo, your new projections are very good. I hope ...   Jun 26 2005, 02:03 PM
- - Bill Harris   FWIW, PaintShop Pro has a Polar Coordinate distort...   Jun 26 2005, 02:21 PM
|- - dilo   QUOTE (Bill Harris @ Jun 26 2005, 02:21 PM)FW...   Jun 26 2005, 08:39 PM
- - Bill Harris   With PSP8, it's under Effects->Distortion ...   Jun 28 2005, 10:38 AM
|- - dilo   Thanks, Bill... I was using PSP7, so this could be...   Jun 28 2005, 07:44 PM
- - Bill Harris   Absolutely! The availability of these images ...   Jun 29 2005, 02:53 AM
- - Nix   That's a fact Bill! There are so many imag...   Jul 1 2005, 07:52 AM
|- - dilo   QUOTE (NIX @ Jul 1 2005, 07:52 AM)I've be...   Jul 1 2005, 08:29 PM
|- - tedstryk   It would be neat to have a gallery system akin to ...   Jul 1 2005, 09:18 PM
- - 4th rock from the sun   Perhaps we could "store" the images on t...   Jul 1 2005, 10:53 PM
- - djellison   Well - there are some utils out there to generate ...   Jul 4 2005, 01:49 PM
- - Ian R   Slightly OT, here's a polar projection of a pa...   Sep 3 2005, 04:11 AM
- - djellison   VERY cool...only problem, I wanted it to do the th...   Sep 14 2005, 09:35 PM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 17th December 2024 - 06:33 AM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.