Following my post regarding the Drago TMO for Qtpfsgui, here are some notes on the Manntiuk operator. An image created with this TMO is appended.
Qtpfsgui Mantiuk Notes
Test Image: Test1.hdr (Hass Burn images 357, 359, 361, April 2009 copyright DARW)
Initial Set-Up: As per Qtpfsgui Drago Notes.
Mantiuk Tone Mapping Operator
This recently updated TMO (new version in Qtpfsgui 1.9.3) has little documentation available for users. However, original published papers are available (see Technical Notes). The authors are R Mantiuk, K Myszkowski and H-P Seidel.
As before, these notes take an empirical approach. Having loaded an HDR file and switched to the TMO panel, the Mantiuk operator is selected from the drop down menu. There are four parameter options available: a radio button to switch on/off Contrast Equalisation, Contrast Factor, Saturation, Factor, Detail Factor (this is the new addition in version 1.9.3).
Leaving aside Contrast Equalisation for the moment, the default settings and ranges for the parameters are:
Contrast Factor: 0.100 default, range 0.001 – 10.000;
Saturation Factor: 0.800 default, range 0.000 – 2.000;
Detail Factor: 1.0 default, range 1.0 – 99.0.
With these default settings and pre-gamma also at its default of 1.000, the resulting image has an unsaturated aspect and is somewhat dark. Examination of the histogram shows a warped Gaussian-like distribution with both black and white adjustments possible. Adjusting pre-gamma to lower values (0.500) gives greater saturation, to higher values a lighter and progressively less saturated image.
Starting from default values and increasing Saturation Factor to 1.600 gives a reasonable degree of saturation, but the image is still dark unless Adjust Levels is used.
Increasing the Contrast Factor (1.100) appears to smooth out some details, but increasing it to much higher values (5.000 – 10.000) gives rise to an other-worldly look with details restored and enhanced. This is what I consider a characteristic Mantiuk image, not quite realistic but not over the top; an artistic or painterly feel. However, the image is still somewhat dark.
Reverting to default settings and increasing the new parameter, Detail Factor, slowly starts to introduce the “Mantiuk Look”. By a value of 20, this characteristic look is pronounced.
Compiling these different findings to set a Contrast Factor of 5.0, Saturation Factor of 1.6, Detail Factor of 20, and pre-gamma of 0.5 gives a characteristic Mantiuk Look of good saturation, detail, contrast and other-worldliness, brightened by use of the Adjust Levels tool.
The final option in the Mantiuk TMO is Contrast Equalisation. Reverting to default settings and activating this option gives a pale greyed-out image. Reducing pre-gamma to 0.5 results in a more saturated version. Reverting pre-gamma to default and increasing the Contrast Factor leads to images similar to those without Contrast Equalisation activated. The other parameters act as before. Overall, the benefit of Contrast Equalisation is not clear, but see Technical Aspects below.
Technical Aspects:
The terms “Contrast Factor”, Saturation Factor” and “Detail” may be thought to be self-explanatory. Indeed, changing these parameters does affect contrast, saturation and detail. The term “Contrast Equalisation” appears from the original paper by Mantiuk et al. to mean something akin to histogram equalisation as found in image processing software. Indeed, perusal of the published work provides some important points about this TMO that are probably not generally known.
First, the TMO is based on what the authors call the gradient domain method. The algorithm works by converting an image into a form dominated by changes in contrast. This contrast image can then be altered (contrast enhancement) and the result inversely transformed back into a visual form. In fact, the authors refer to their method as contrast mapping, one application of which is tone mapping. They assert that this method leads to a reduction of (halo) artefacts and of discontinuities. However, Mantiuk et al. also point out:
“Our method does not address the.....issue of trying to make images
look realistic and natural. Instead we try to fit to the dynamic
range of the display so that no information is lost due to saturation
of luminance values and at the same time, small contrast details,
such as textures, are preserved.”
Second, Mantiuk et al. point out that:
“Our tone mapping method is likely to magnify camera noise if its amplitude
exceeds the threshold contrast .......... Therefore, to
obtain good results, the noise should be removed from images prior
to the contrast mapping.”
In practical terms, this implies users should have carried out noise reduction prior to using this TMO.
Third, the Contrast Equalisation function is said to lead to sharpening and visualisation of detail:
“The results of the contrast equalization algorithm may appear like
the effect of a sharpening filter. ... Sharpening filters tend to enhance local contrast at
the cost of global contrast, which results in images that have (a) flat
appearance..... Sharpening filters also introduce ringing and halo
artefacts, especially in the areas of high local contrast, .... The results of the contrast
equalization algorithm are free of these artefacts.”
In my hands, I cannot see any benefit regarding sharpening or detail.
Conclusions:
The Mantiuk TMO is a more complex algorithm than some. It can produce realistic images, but given the authors' comments, it is not designed for natural looking images, but for the preservation of information, texture and detail. In that regard, the Mantiuk TMO does generate painterly images that, for landscapes and the like can have a pleasing aspect. Overdoing this look leads to OTT or “fantasy” images. Overall, this would not be the first choice of a TMO for a purist, but provides good scope for artistic images.
Sources:
As per those in Drago Notes.
See also:
A Perceptual Framework for Contrast Processing of High Dynamic Range Images
R. Mantiuk, K. Myszkowski, and H.-P. Seidel
In ACM Transactions on Applied Perception, 2006
and Ed Bramley's page: http://www.damtp.cam.ac.uk/user/ejb48/hdr/index.html
Cheers
David