I imagine this is nothing new to most of you but for a person who had never 
seen it before, It was baffling for a while. So I'm posting this because it 
took me a while to figure it out, I didn't see anything referring to this 
in the Hugin forums, manual or website, and it might be nice for someone to 
see what it looks like if they run into a similar problem.

 I originally posted about this in the Curiosity 
Panorama<https://groups.google.com/forum/?fromgroups#!topic/hugin-ptx/Om-WoNEalBw%5B1-25%5D>thread
 (but I think it got lost there.)

I downloaded images from the JPL web site to make a panorama and after much 
work, discovered that the finished image had a pronounced horizontal 
banding (as you can see here)

<https://lh5.googleusercontent.com/-o3aCXOiYIVA/UC5U6re8c9I/AAAAAAAAAGs/m_WK45ZWJLA/s1600/Mars+Pano1sm.jpg>
I have done a lot of panoramas, but have never had this problem. But I've 
never done such a large panorama using so many telephoto images. Anyway I 
wasn't sure what was going on, so I did some searching of the Hugin website 
and some experiments (set the camera response curve back to zero, etc.)

Looking at the panorama more closely . . . 

<https://lh4.googleusercontent.com/-9PqEF3CKkd8/UDAuuu09hnI/AAAAAAAAAG8/w2Hhb4-jZk8/s1600/Panorama+detail.jpg>
I decided the banding was systematically related to the rows of individual 
images. This made me think it was a vignetting problem (but It should have 
been fixed by the exposure optimization.) Because this panorama is so 
large, I added the images row by row to keep the things manageable and 
prevent bogging down. This made me think that it possivly had something to 
do with stitching the rows of images first. That's when I decided to 
post in the above forum, but got no response (It was probably lost in that 
forum. I should have started a new discussion from the start.)

Anyway, no advice. So I took a closer look at the panorama.

<https://lh5.googleusercontent.com/-fhdpocbOxVY/UDAxDPDcsvI/AAAAAAAAAHE/irsP4rurBrs/s1600/Panorama+detail+full.jpg>
I had noticed how closely the banding was related to the image edges. The 
banding is obvious on the macro scale but it's pretty subtle on a micro 
scale. The banding also seed to be disrupted near the edges where there was 
an image missing.

Finally, I noticed that each of the NASA images has a 2 pixel row of black 
at the top. I had not seen this in the image editor or in the Hugin 
cropping pane. I have also never seen this on any of my digital images. It 
seemed weird that such a thin line of black would effect such a large area 
of the images. Anyway I went into the cropping pane and took 4 pixels off 
the top of each of the images and ran a test.

<https://lh5.googleusercontent.com/-y3j3sWlupd8/UDA1eClANhI/AAAAAAAAAHU/pB2qIu5-HpM/s1600/Cropped+sm.jpg>
As you can see, the banding is gone in the upper part of the image (where I 
cropped the source images.
At "A" you can see that the effects near the edges have completely 
disappeared.
"B" indicates the area of the horizontal banding. It extends across the 
full width of the image (not just where the box is.) I did not crop the 
source files in this part of the panorama.

So the banding occurred in enblend and it was caused by a thin line of dark 
pixels at the edge of each image. I guess the pixels are either intrinsic 
to the camera or they are artifacts produced as the images were converted 
to jpegs. In any case it surprised me that those few hard to see pixels 
made such a huge and noticeable (but oddly also very subtle) difference in 
the final image.

It's also worth noting that it's pretty hard to see this problem in the 
current crop pane. And even harder to accurately crop it out. The crop pane 
should probably have some zoom capability (like the mask pane) for just 
such a situation. Else, why have a crop pane.   :-)

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to