freebsd-ports/graphics/pfstmo/files/patch-src-reinhard02-pfstmo_reinhard02.1
Danilo Egea Gondolfo 86b70fb123 - Update from 1.2 to 1.5
- Add stage support

PR:		ports/191180
Submitted by:	ii@any.com.ru
2014-06-20 15:46:27 +00:00

63 lines
1.8 KiB
Groff

--- src/reinhard02/pfstmo_reinhard02.1.orig 2007-06-14 16:41:30.000000000 +0000
+++ src/reinhard02/pfstmo_reinhard02.1 2014-06-18 15:29:52.318951701 +0000
@@ -6,6 +6,7 @@
[--scales] [--key <val>] [--phi <val>]
[--range <val>] [--lower <val>] [--upper <val>]
[--temporal-coherent]
+[--border <val>]
[--verbose] [--help]
.SH DESCRIPTION
This command implements a tone mapping operator as described in:
@@ -17,32 +18,32 @@
According to the paper, results of this TMO require gamma correction.
.SH OPTIONS
.TP
-[--scales]
+[--scales] [-s]
Use scales to calculate local adaptation. That means: use local
version of this operator. By default, global version is used.
.TP
-[--key <val>]
+[--key <val>] [-k <val>]
Set key value for the image (refer to paper for details).
Default value: 0.18, accepted range <0..1>.
.TP
-[--phi <val>]
+[--phi <val>] [-p <val>]
Set phi value (refer to paper for details).
Default value: 1.0, accepted range >=0.0.
.TP
-[--range <val>]
+[--range <val>] [-r <val>]
Set range size (refer to paper for details).
Default value: 8, accepted range >1.
.TP
-[--lower <val>]
+[--lower <val>] [-l <val>]
Set lower scale size (refer to paper for details).
Default value: 1, accepted range >=1.
.TP
-[--upper <val>]
+[--upper <val>] [-u <val>]
Set upper scale size (refer to paper for details).
Default value: 43, accepted range >=1.
@@ -54,6 +55,13 @@
luminance value can change at most by 1% between two consecutive
frames.
.TP
+[--border <val>] [-b <val>]
+
+Use border mechanism with specified relative border width.
+Actual border size will be calculated as the minimal size of the image
+(width or height) multiplied on relative border width.
+Default value: 0 (don't use border mechanism), accepted range: 0 >= b < 0.5.
+.TP
--verbose
Print additional information during program execution.