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

Welcome Guest ( Log In | Register )

Getting straight and smooth horizons in navcam panoramas
Nirgal
post Oct 4 2006, 02:55 PM
Post #1


Member
***

Group: Members
Posts: 713
Joined: 30-March 05
Member No.: 223



Hi all,

I first thought that the problem of uneven horizons in navcam stitches must have been discussed a lot previously but to my surprise the forum search in the Tech&Imagery-board with key-word "horizon" did not yield that much relevant results ...
So far, for autostich one "solution" seems to be to try-and-error estimate the correct "greek" orientation
parameters (phi,psi,..) However I would like to know if there is a better and more deterministic way.
I also played with PTGui/hugin and manual control points on the horizon but this seemed even more cumbersome than getting the right orientation in autostitch.
The other problem ar the "edges"/"bumps" along the horizon exactly at the transition zones between individual panorama frames ...
Now I am not that an expert in the stitching part of the image processing (jut use Autostitch which does a sufficiently good job, except for the horizon-problem ) so the question goes to the real "stitching Gurus (->Nico, Tman and others ??) how to cope with the horizon :-)
Any recommendation for other pano programs that do better with flattening the horizon ?
One idea qould be to use some JPL Metadata about the actual rover orientation.
I understand that Micheal's MMB program does something like this but was unable to exploit this
horizon-information for deriving orientation parameters for external panorama programs.
Also, does anyone know if there is already a specification of the lens geometry of the MER navcam
available in the form to be usable for a panorama program like hugin etc. ? this would certainly also help
to yield undistorted horizons ...

Maybe this thread could serve as a collection of useful tips & hints specifically with respect to the
"horizon problem"

smile.gif
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Tesheiner
post Oct 4 2006, 08:41 PM
Post #2


Senior Member
****

Group: Moderator
Posts: 4280
Joined: 19-April 05
From: .br at .es
Member No.: 253



I'm quite happy with autostitch; sure the lack of control is a negative point but the results usually are very nice, specially for pancams. But let's do an example with a navcam mosaic.

Here is the 5x1 navcam mosaic taken after driving on sol 958.
Attached Image


And this is the process I almost always do to obtain such a mosaic:
1) Process all images with MichaelT's antivignetting tool.
2) Calculate the rotation angle (psi) to be applied on the first image in order to get a level horizon:
2.1) Use IrfanView (or any other tool) to measure the sides (dx, dy) of a rectangle whose opposite points are coincident with the horizon. In the above example, dx=820, dy=47
2.2) The rotation angle psi=atan(dy/dx). Psi=3.3º (aprox.)
3) Execute autostitch with the following non-default parameters:
- Scale: 25%
- Gain compensation: yes
- SIFT Image Size: Scale: 100%
- RANSAC Parameters: Max Iterations: 1500
- Auto Straighten: no
- Phi: -15º (*)
- Psi: 3.3º
4) If the result is acceptable, change scale to 100% and redo stitch.

(*) Note: Use -15º for navcam mosaics and -3º for pancam.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 17th December 2024 - 12:25 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.