1pfstmo_mantiuk06(1)         General Commands Manual        pfstmo_mantiuk06(1)
2
3
4

NAME

6       pfstmo_mantiuk06 - Tone mapping in the contrast domain
7

SYNOPSIS

9       pfstmo_mantiuk06  [--factor <val>] [--equalize-contrast <val>] [--satu‐
10       ration <val>] [--verbose] [--quiet] [--help]
11

DESCRIPTION

13       This command implements two tone mapping  operators:  contrast  mapping
14       and contrast equalization. Both operators can produce very sharp images
15       (sometimes non-photorealistic) while minimizing contrast reversal (halo
16       artifacts). More information on these operators can be found in:
17
18              Rafal Mantiuk, Karol Myszkowski, Hans-Peter Seidel.
19              A  Perceptual  Framework for Contrast Processing of High Dynamic
20              Range Images
21              In: ACM Transactions on Applied Perception 3 (3),  pp.  286-308,
22              2006.
23              http://www.mpi-inf.mpg.de/~mantiuk/contrast_domain/
24
25       This version contains several performance improvements made by Ed Bram‐
26       bley.
27
28       If you find this TMO useful in your research project, please  cite  the
29       paper above.
30
31       The result of this TMO requires gamma correction.
32

OPTIONS

34       --equalize-contrast <val>, -e <val>
35              Use  the  contrast equalization algorithm. If this option is not
36              specified, the contrast mapping algorithm will be used. The con‐
37              trast  equalization  algorithm  requires  scaling parameter that
38              controls the amount sharpenning, which can range from 0.1  (very
39              sharp) to 1 (less sharp).
40
41              contrast equalization results in very sharp, but also less natu‐
42              ral images. contrast equalization may also enhance noise in low-
43              quality images.
44
45       --factor <val>, -f <val>
46              Contrast  scaling  factor  (values 0-1) determines how much con‐
47              trast magnitudes should be reduced. This option cannot  be  used
48              with  equalize-contrast.  The  lower  value results in a sharper
49              image. Default value: 0.3
50
51       --saturation <val>, -s <val>
52              Saturation correction (values 0-2). The lower value  results  in
53              stronger desaturation. Default value: 0.8
54
55       --verbose, -v
56              Print additional information during program execution.
57
58       --quiet, -q
59              Do not display progress report.
60
61       --help, -h
62              Print list of commandline options.
63

EXAMPLES

65       pfsin  memorial.hdr  |  pfstmo_mantiuk06  -f  0.5  | pfsgamma -g 2.2  |
66       pfsout memorial.png
67
68              Tone map an image using contrast mapping and save it in the  PNG
69              format.
70
71       pfsin  memorial.hdr  |  pfstmo_mantiuk06  -e  0.5  | pfsgamma -g 2.2  |
72       pfsout memorial.png
73
74              The same as above, but use the contrast equalization algorithm.
75
76       pfsin memorial.hdr | pfstmo_mantiuk06 -f 0.5 -s 1 | pfsview
77
78              For optimal results you can output the  result  to  pfsview  and
79              manually adjust the dynamic range window. Then save the image in
80              pfsview by selecting 'Save image...' from the  'Frame'  menu  or
81              pressing 's'.
82
83       pfsin  bridge.jpg --linear |  pfsclamp --min 0.007 | pfstmo_mantiuk06 |
84       pfsview
85
86              Enhance the  low-dynamic  range  image  'bridge'  and  view  the
87              result. pfsclamp command reduces noise for low code values.
88

SEE ALSO

90       pfsgamma(1) pfsclamp(1) pfsin(1) pfsout(1) pfsview(1)
91

BUGS

93       Please  report  bugs  and  comments  to  the  pfstools discussion group
94       (http://groups.google.com/group/pfstools).
95
96
97
98                                                           pfstmo_mantiuk06(1)
Impressum