Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pfssize(1) [debian man page]

pfssize(1)						      General Commands Manual							pfssize(1)

NAME
pfssize - Resize frames SYNOPSIS
pfssize [--x <new_width>] [--y <new_height>] [--ratio <scale_ratio>] [--maxx <max_width>] [--maxy <max_heigh>] [--minx <max_width>] [--miny <max_heigh>] [--filter <filter-name>] DESCRIPTION
Resize all frames and all channels in the stream. Note that resampling is done on each channel as it is - for color images resampling is usually done in linear (not gamma corrected) XYZ color space. OPTIONS
--x <new_width>, -x <new_width> New x resolution in pixels. --y <new_height>, -y <new_height> New y resolution in pixels. --ratio <scale_ratio>, -r <scale_ratio> Resize both width and height using the given ratio. Ratio equal 1 is the original size, lower than 1 makes the frames smaller and greater than 1, enlarges the frames. --minx <max_width>, --miny <max_heigh> Make sure that the resulting image has at least <min_width> width and/or <min_height> height. Cannot be used in combination with -x, -y and --ratio. --maxx <max_width>, --maxy <max_heigh> Make sure that the resulting image has at most <max_width> width and/or <max_height> height. Cannot be used in combination with -x, -y and --ratio. --filter <filter-name>, -f <filter-name> Use filter <filter-name> for upsampling (on downsampling, box filter is always used). Available filters: BOX Box filter. This is the fastest and the filter, but it also causes visible aliasing artifacts. LINEAR (deafult) Bi-linear filter. MITCHELL Mitchell filter. From Mitchell and Netravali, Reconstruction Filters in Computer Graphics,In Computer Graphics, vol. 22 (4) 1988. Since the filter contains negative parts, it may cause halo artifacts and it may result in negative values for HDR images. EXAMPLES
pfsin memorial.hdr | pfssize -r 0.25 | pfsout memorial_small.hdr Lower the resolution of memorial.hdr four times. SEE ALSO
pfsin(1) pfsout(1) BUGS
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>. pfssize(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)
Man Page

Featured Tech Videos