My Assistant
Getting straight and smooth horizons in navcam panoramas |
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" |
|
|
|
![]() |
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. 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. |
|
|
|
||
Nirgal Getting straight and smooth horizons in navcam panoramas Oct 4 2006, 02:55 PM
Ant103 I just post a part of answer in "Cabo Verde... Oct 4 2006, 03:22 PM
Nirgal QUOTE (Ant103 @ Oct 4 2006, 05:22 PM) I j... Oct 4 2006, 03:41 PM
algorimancer QUOTE (Nirgal @ Oct 4 2006, 10:41 AM) Do ... Oct 4 2006, 06:50 PM
mhoward QUOTE (Nirgal @ Oct 4 2006, 03:41 PM) Ant... Oct 4 2006, 07:42 PM
Tesheiner In addition, I remember to have posted something s... Oct 4 2006, 03:31 PM
Nirgal QUOTE (Tesheiner @ Oct 4 2006, 05:31 PM) ... Oct 4 2006, 03:38 PM
Indian3000 I had also some problems with the telemetry of the... Oct 4 2006, 07:08 PM
Nirgal Thanks for the cook receipe
My autostitch work fl... Oct 4 2006, 09:04 PM
slinted Good thread!
I've been using PTAssembler ... Oct 4 2006, 09:59 PM![]() ![]() |
|
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 |
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. |
|