My Autopano Pro forum

Sharing knowledge around Autopano

You are not logged in.

Announcement

The documentation of AutoPano Pro can be found online at our Wiki. Before posting a question, please check with the manual!

#1 2008-08-15 21:10:19

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

MDR : "pseudo HDR" without bracketing

This series of shots was taken before sunrise. In the sun direction the sky was very bright and the mounts and buidings seen against the light were quite dark but the night was over and  everything was visible.

This is a moment of the day where what you get from the camera is quite different from what you see.

I used an exposure compensation of -0.7 EV to avoid the sky being overblown where the sun was next torise (some quick tests showed this was enough) so that the ground looks very dark on the resulting source images:


Uploaded Images

Offline

 

#2 2008-08-15 21:19:28

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

No bracketing!

The manually adjusted but automatic exposure mode I puposedly used (the camera manufacturer call this "Electro Selective Pattern" + "exposure compensation") resulted in a difference of more than 2 EV between the left and the right side: not a suprise as the panorama FOV is larger than 180 degrees.

I developed each of the nine RAW files to 3 brightness levels: 0 (no change), +1 EV  and +2EV so that this resulted in 27 TIFF images:


Uploaded Images

Last edited by GURL (2008-08-15 21:21:48)

Offline

 

#3 2008-08-15 21:20:43

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

The next step was to stitch the brightest series (this was easy. I then saved the .pano project file and reused it to stitch the +1 EV series and the +2 EV series. Because the exact same yaw, pitch and roll values were used for the three layers they have a perfect match. No problem to use Smartblend to blend the source image for each layer: as the very same source image are used (they come from the same RAW files) resulting layers should be geometrically identical.

There are many possible ways to stitch the 0, +1 and +2 TIFF series using the same detection/optimisation results: one could use the move tool and copy the yaw, pitch and roll values or edit the file names in the .pano project file (they are between the <FullFilename> and the </FullFilename> tags.) The preferred method coul be to use different directory to place the source images but APP option (Detection tag) "Use relaive path for image location in project" must be selected for that:


Uploaded Images

Offline

 

#4 2008-08-15 21:23:07

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

Finally I used Enfuse (EnfuseGUI actually) to fuse the resulting 3 layers:


Uploaded Images

Offline

 

#5 2008-08-15 21:25:33

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

You could find this workflow being unusual and rather long to describe but in my opinion it's much more easy to apply than to shoot 4 or 5 levels of bracketing followed by the dificult stitching of the corresponding4 or 5 layers.

The most important point is that Smartblend can avoid any ghosting. There are no problem for the correspondancebetween layer because each layer come from the same series of source images (this is never possible when using bracketing.)

I don't know how large are the differences in subject lighting this method can overcome: my guess is that in the example the gain was of about 4 EV...

Pro:
- no bracketing
- easy detection/optimization (no very dark to very bright image links)
- Smartblend can remove gost as usual (no gost between layers.)
- AUTO color mode, anchors and Levels tool can be used (to increase DR)
- Enfuse/Tufuse compatibility (more usual tools could be used, too.)
- anchors can be used when different exposure settings were used while shooting (more, less noise)
- the Levels tool (gamma included) can be used

Cons:
- RAW source images only
- somewhat tricky to render the 3 TIFF series with exactly the same yaw, pitch & roll values
- noise (but which noise ?)

The noise issue would be interesting to develop, but, to keep it short:
- use a low ISO value (tripod wanted)
- use the lowest sharpness setting you can afford
... and above all be realist: believe your eyes, only your eyes, not rumors about noise!

The tests I made comforted me: it's worth trying.

Here is another version from the same source image where I used anchors and the Levels tool:


Uploaded Images

Offline

 

#6 2008-08-15 22:18:50

DrSlony
Member
From: Poland, Zielona Góra
Registered: 2007-11-03
Posts: 963
Website

Re: MDR : "pseudo HDR" without bracketing

Thank you GURL!

I sometimes use the same .pano file for rendering bracketed shots. I first put all shots that have visible shadows and highlights, e.g. 0EV shots, into a main dir, lets call it /forest/
I create as many subdirs as there are brackets, typically 3 (for that balcony pano I posted recently 5), /forest/1/ /forest/2/ /forest/3/ and forget about them for now.
I use the 0EV layer because it has details in the shadows and in the highlights (sky), if there are clouds then the clouds are still visible, perhaps only slightly blown out but visible enough to be able to place CPs, if there are no clouds then it doesnt matter since a bad stitch wont be visible.
Once I have set everything up on that pano I save it to /forest/forest.pano and close it in APP.
I now move the 0EV images from /forest/ to /forest/2/, the -2EV images to /forest/1/ and the +2 to /forest/3/
I make sure that all the images in /1/, /2/ and /3/ have the same name, 001.raw 002.raw 003.raw 004.raw 005.raw --- 033.raw for example.
I now open the forest.pano and APP says "Oi! I cant find the files!" So it opens a window and all I have to do is point it to the correct dir. So I point it once to /1/, then open the /forest/forest.pano again and point it to /2/, and then again to /3/.
Now I have 3 panos with identical settings waiting to be rendered. I can also use smartblend, but of course this method wont get rid of ghosting. In some situations tufuse chooses quite wisely so I dont have ghosts, or you could use photomatix's anti-ghosting feature. I'm not fond of the anti-ghosting feature in Qtpfsgui. Photomatix's antighosting isn't good for waves either (in my experience), the brightest parts tend to get suddenly black.
Another problem with this is that although the .pano files have identical settings, there CAN be some differences between the layers, sometimes the smartblend image-crossover-border can be 'here' in layer 1, moved 20px 'there' in layer 2, and 'here' again in layer 3.

I chose the above method because it lets me do global tonemapping afterwards and I can use smartblend. The problem with slight differences isn't serious because typically they appear in quite dark places, although it does happen that they fall in a visible place. I hope that the stacking feature in APP-2 will make this method obsolete, but untill then thats what I use.

Your method seems great for places that don't have very great brightness differences, or for places that have many moving things, like markets!

Offline

 

#7 2008-08-15 22:53:59

mgg310
Member
Registered: 2008-05-22
Posts: 47

Re: MDR : "pseudo HDR" without bracketing

GURL, thanks from me, too. As a beginner I found your explanation very clear and easy to follow and understand.
One question. Have you tried using the Auto Bracketing function available in TuFusion (the free GUI for TuFuse)?
Mike.


Panasonic DMC-FZX7; Raynox DCR 5000 super wide angle converter 0.5x.

Offline

 

#8 2008-08-15 23:01:15

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

mgg310 wrote:

Have you tried using the Auto Bracketing function available in TuFusion (the free GUI for TuFuse)?

Not yet, but I will !

Offline

 

#9 2008-08-17 10:46:11

Castillonis
Member
Registered: 2008-03-06
Posts: 61

Re: MDR : "pseudo HDR" without bracketing

I tried tufusion.exe and tufusePro.exe on Windows XP and was able to blend three different exposure jpegs, but I was not able to get it to fuse my RAW .CR2 images.  I invoked dcraw.exe -v -i on a RAW file to get it to display the meta information using a cygwin xterm with a bash shell to verify that it can read my RAW files.  Still, this is on three different exposures.  I would really like to duplicate GURL's work flow from a single RAW file.  I had been contemplating this in the past because it involved fewer files and less possibility of softening due to misaligned images.  I thought about writing an action (macro) for photoshop or a script to invoke dcraw.exe and automate this task, but I am having trouble doing this manually sad

GURL, Thank you for sharing your work flow and documenting it well smile

Offline

 

#10 2008-08-18 21:36:35

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

Castillonis , I tried Tufusion and TufusePro on Windows XP for RAW files, too.

Tufusion: when using it I had to rename my Olympus .ORF RAW files as .CR2 to make Tufusion accepting to send them to dcraw,  yikes/lol what a workaround! (It looks like dcraw was smart enough to process them correctly...)
I was not able to make Tufusion fuses a normal version and two brighter ones (0EV, +1EV and +2EV): a single brighter one is possible.

Tufuse: Tufuse accept Olympus RAW files normally. Like when using Tufusion, I was not able to instruct Tufuse to fuse the normal version and two brighter ones (0EV, +1EV and +2EV) : a single brighter one is possible.
Because my camera RAW files are known for having no "headroom" (that is one can't save any overblown part of an image by developing it using -n EV compensation) I figured this was a severe limitation but my first tests seem to negate this...

Tufuse Pro don't preserve EXIF (focal length, etc) which is a pity sad

Last edited by GURL (2008-08-18 21:38:22)

Offline

 

#11 2008-08-19 23:04:01

Castillonis
Member
Registered: 2008-03-06
Posts: 61

Re: MDR : "pseudo HDR" without bracketing

The software ExifTool by Paul Harvey can read, write and edit meta data for many different RAW formats.  It is available for Windows and Mac OS X.  There is also a Perl language library.  I might attempt prototyping a solution in Perl if I have enough time.

http://www.sno.phy.queensu.ca/~phil/exiftool/

Le logiciel ExifTool par Paul Harvey pouvez lire, écrire et éditer les méta-données pour de nombreux formats RAW différents. Il est disponible pour Windows et Mac OS X. Il est également un langage Perl bibliothèque. Je pourrais tenter une solution de prototypage en Perl si j'ai assez de temps.

Offline

 

#12 2008-08-20 14:46:19

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 1942
Website

Re: MDR : "pseudo HDR" without bracketing

I finally realized that three different methods exist to increase the "visible dynamic range" of "under exposed" but not blown out RAW shots:

(1) Enfuse or Tufuse

http://wiki.panotools.org/Enfuse

wiki.panotools.org  wrote:

Enfuse merges overlapping images using the Mertens-Kautz-Van Reeth exposure fusion algorithm. This is a quick way to blend differently exposed images into a nice output image, without producing intermediate HDR images that are then tonemapped to a viewable image. This simplified process often works much better than the currently known tonemapping algorithms.

http://www.tawbaware.com/tufusepro_help … utobracket

Max Lyons  wrote:

Autobracket TuFuse Pro can fuse each input image with a lighter and/or darker version of itself. When the "darken" or "brighten" sliders are set to non-zero values, then darker and/or brighter versions of each input image are created and fused with the original image(s). This can be useful to boost shadows and/or constrain highlights in a single image. For example, fusing a single image with a brighter version of itself will produce a final image with brightened shadow regions

(2) The "Nikon/D-Lighting & Sony/DRO & Olympus/SAT" method created by Apical:

http://www.apical-imaging.com/UserFiles/ad-iso.pdf

Michael Tusch  wrote:

[Our] image processing engine iridix generates a unique tone mapping curve for each pixel of the image, based on the behavior of the human visual system. [It's] "natural”, it’s calibrated to give an image as close as possible to what you see with your eyes when you take the picture (although you can increase or decrease the strength of the effect manually).

(3) Photop "Image - Adjustments - Shadow/Highlight" method (French: Tons foncés/Tons clairs):

PS help  wrote:

The Shadow/Highlight command does not simply lighten or darken an image; it lightens or darkens based on the surrounding pixels (local neighborhood) in the shadows or highlights.

(1) and possibly (2) are to be used before submiting images to APP/APG:
-  APP/APG is much more easy to use and faster because a single source image is used where "real bracketing" would use two or more.
- Smartblend can do its useful job and avoid ghosting.
- If the different RAW images are shot using different exposure values the APP AUTO color mode can take care of the differences.

(3) is to be used at post-processing level when the resulting panorama shadows are still too dark (not the default values but only a limited amount of shadows adjustment if you want to avoid what is known as the "HDR look"!)

Résumé: Shot a single "underexposed" series of RAW, process them using Enfuse or Tufuse, stitch them as usual, use PS Shadow/highlight if the result is still too dark.

Problems: Tufuse can process RAW directly but then the above "0, +1 and +2 EV" process is not possible and with both Enfuse and Tufuse EXIF are lost.

An example follows, where bracketing was not possible because the wind was moving the plants.


Uploaded Images

Offline

 

#13 2008-08-20 16:00:36

hankkarl
Member
From: Connecticut, USA
Registered: 2006-02-21
Posts: 1151
Website

Re: MDR : "pseudo HDR" without bracketing

The Photomatix tonemapping plugin can do more than Shadow/Highlights.

I had a portrait of two people in dark suits with a very dark background (someone else took the picture) so that all you saw were faces and hands--there was no separation of the suits from the backdrop.  I was able to use the PM plugin to make the background lighter (or at least a different color) than the suits and it didn't affect the faces all that much.  S/H was not able to do this.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson