pfstmo_reinhard05(1) General Commands Manual pfstmo_reinhard05(1)NAME
pfstmo_reinhard05 - Photoreceptor based dynamic range reduction
SYNOPSIS
pfstmo_reinhard05 [--brightness <val>] [--chromatic <val>] [--light <val>] [--verbose] [--help]
DESCRIPTION
This command implements a tone mapping operator as described in:
Dynamic Range Reduction Inspired by Photoreceptor Physiology. E. Reinhard and K. Devlin. In IEEE Transactions on Visualization and Com-
puter Graphics, 2005.
OPTIONS --brightness <val>, -b <val>
Brightness correction (-8..8), parameter 'f' in paper. Default value: 0.0
--chromatic <val>, -c <val>
Amount of chromatic adaptation (von Kries model) (0..1), parameter 'c' in paper. Default value: 0.0
--light <val>, -l <val>
Amount of light adaptation adaptation (0..1), parameter 'l' in paper. Default value: 1.0
--verbose
Print additional information during program execution.
--help
Print list of commandline options.
EXAMPLES
pfsin memorial.hdr | pfstmo_reinhard04 -s 0.5 | pfsout memorial.png
Tone map image and save it in png format.
SEE ALSO pfsgamma(1)pfsin(1)pfsout(1)pfsview(1)BUGS
Please report bugs and comments on implementation to Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>.
pfstmo_reinhard05(1)
Check Out this Related Man Page
pfstmo_durand02(1) General Commands Manual pfstmo_durand02(1)NAME
pfstmo_durand02 - Fast bilateral filtering for the display of HDR images
SYNOPSIS
pfstmo_durand02 [--sigma-s <val>] [--sigma-r <val>] [--base-contrast <val>] [--quiet] [--verbose] [--help]
DESCRIPTION
This command implements a tone mapping operator as described in:
F. Durand and J. Dorsey.
Fast Bilateral Filtering for the Display of High-Dynamic-Range Images.
In: In ACM Transactions on Graphics, 2002.
According to paper, results of this TMO require gamma correction.
Unless -g option is specified, this operator also employs color correction mechanism from:
Radoslaw Mantiuk, Rafal Mantiuk, Anna Tomaszewska, Wolfgang Heidrich.
Color Correction for Tone Mapping.
In: Computer Graphics Forum (Proc. of EUROGRAPHICS'09), 28(2), 2009.
http://zgk.wi.ps.pl/color_correction/
OPTIONS --sigma-s <val>, -s <val>
Sigma value for spatial kernel. Default value: 40
--sigma-r <val>, -r<val>
Sigma value for range kernel. Default value: 0.4
--base-contrast <val>, -c <val>
Contrast of the base layer. Default value is 5.0f. Lower value causes higher contrast compression and results in darker picture -
can help if after tone mapping too many pixels remain saturated.
Increasing this value will results in brighter and more 'dynamic' picture.
--original, -g
Use original algorithm as described in the paper with no extensions. For this operator the switch will disable color correction.
--verbose
Print additional information during program execution.
--quiet, -q
Do not display progress report.
--help, -h
Print list of commandline options.
EXAMPLES
pfsin memorial.hdr | pfstmo_durand02 | pfsgamma -g 2.2 | pfsout memorial.png
Tone map image and save it in png format.
SEE ALSO pfsgamma(1)pfsin(1)pfsout(1)pfsview(1)BUGS
Please report bugs and comments on implementation to Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>.
pfstmo_durand02(1)
if -o ]
then
echo "Expected valid value"
The above multiple if condition is NOT working in my script.
I am getting the error as '-a' not expected. Can anyone help with the syntax for this? (5 Replies)
I have an awk script like below
function abs(val) {
return val > 0 ? val : -val
}
# 1. Main input loop, executed for each line of input
BEGIN { RS = ORS = ">" }
{ if ( NF > 2 )
{
if ( abs( $1 - $(NF-2) ) < 40 ) { print }
}
}
The input file is something like... (2 Replies)
hello
every time i run the following code
for val in fileX fileY fileZ
do
$val=`ls -l $val | awk '{print $5}'`
done
i got error message command not found , i tried to add ' and " but nothing works
its only worked wen remove $val=
but i want the name of the file and the value
... (9 Replies)