Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pfsclamp(1) [debian man page]

pfsclamp(1)						      General Commands Manual						       pfsclamp(1)

NAME
pfsclamp - Clamp color and luminance channel values to be within the specified range SYNOPSIS
pfsclamp [--min <minimum>] [--max <maximum>] [--percentile] [--zero] [--rgb] DESCRIPTION
Use this command to clamp values of luminance and color channels to be within the specified range. I.e. if a value in the channel is above the specified maximum or below specified minimum, set the value to either minimum or maximum. The command operates directly on XYZ channels. OPTIONS
--min <val> Lower bound for clamping. Default value: 0.0001 (10^-4) --max <val> Upper bound for clamping. Default value: 100000000 (10^8) --percentile, -p Treat given min and max values as a percentile. --zero, -z Set values out of clamping range to zero, instead of setting to specified maximum and minimum. --rgb Perform clamping in RGB space. EXAMPLES
pfsin memorial.hdr | pfsclamp | pfsout memorial_cl.hdr Remove possible out-of-range values, for examples zeros, from memorial image. pfsin memorial.hdr | pfsclamp --max 0.95 -p | pfsout memorial_cl.hdr Remove 5% of the brightest pixels from the original image. SEE ALSO
pfsin(1) pfsout(1) BUGS
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de> and Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>. pfsclamp(1)

Check Out this Related Man Page

pfsstat(1)						      General Commands Manual							pfsstat(1)

NAME
pfsstat - Show frame / image statistics SYNOPSIS
pfsstat DESCRIPTION
This command will show a short text statistic on each image in the pfs stream. In the statistics you can find: File - name of the input file Width, Height - image dimensions Minimum - minimum luminance of an image(*), given in linear units (relative luminance in cd/m^2) and logarithmic units Maximum - maximum luminance of an image(*) Average - average luminance of an image(*) Mean - mean luminance of an image(*) (*) Before min, max, average, median and dynamic range is computed, the following processing is performed on an image: 1) negative and zero values are replaced with the smallest positive value (to compute logarithms); 2) the image is low-pass filtered. The low-pass filtering removes few very dark or very bright pixels that can significantly influence estimation of the dynamic range. The percentile, instead of a low-pass filter, is sometimes used for the same purpose. However, a low-pass filter is preferred to the percentile in pfstools since, tak- ing into account the processing that is happening in the human visual system, low-frequency band filter is more plausible. Note: This command requires GNU Octave. EXAMPLES
pfsin memorial.hdr | pfsstat Show statistics for the memorial image. BUGS
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>. pfsstat(1)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk to print mon and max values of ranges

HI all I'm trying to write an awk script to print the min and max value in a range(s) contained in another file - the range values are in $2 EG 114,7964,1,y,y,n 114,7965,1,y,y,n 114,7966,1,y,y,n 114,7967,1,y,y,n 114,7969,1,y,y,n 114,7970,1,y,y,n 114,7971,1,y,y,n 114,7972,1,y,y,n... (3 Replies)
Discussion started by: Mudshark
3 Replies

2. OS X (Apple)

Looking for a command line tool that converts a .wmv file into .mpg

I need a simple command line executable that allows me to convert a wmv file into an mpg file like this: wmv2mpg inputfile.mwv > outputfile.mpg I cannot find it on internet. I tried installing mencoder but I cannot get it to work. Thanks. (4 Replies)
Discussion started by: karman
4 Replies

3. Shell Programming and Scripting

To get max/min Date/Timestamp from a file

I want to get maximum/minimum date/timestamp from a data file ? Sample Input File ============= rec#,order_dt,ext_ts 1,2010-12-01,2010-12-01 17:55:23.222222 2,2011-11-05,2010-12-01 19:55:23.222222 3,2009-10-01,2010-12-01 18:55:23.222222 for above file Maximum Order_dt = 2011-11-05... (5 Replies)
Discussion started by: vikanna
5 Replies

4. Shell Programming and Scripting

top 10 highest and lowest percentile from a column

Hi, I want to extract the the top 10 and lowest 10 percentile for a column of values. For example in column 2 for this file: JOE 1 JAY 5 JAM 6 JIL 8 JIB 4 JIH 3 JIG 2 JIT 7 JAM 9 MAR 10 The top 10 lowest will be: JOE 1 and the top 10 highest will be: (2 Replies)
Discussion started by: kylle345
2 Replies

5. Shell Programming and Scripting

How to get min and max values using awk?

Hi, I need your kind help to get min and max values from file based on value in $5 . File1 SP12.3 stc 2240806 2240808 + ID1_N003 ID2_N003T0 SP12.3 sto 2241682 2241684 + ID1_N003 ID2_N003T0 SP12.3 XE 2239943 2240011 + ID1_N003 ID2_N003T0 SP12.3 XE 2240077 2241254 + ID1_N003 ... (12 Replies)
Discussion started by: redse171
12 Replies

6. Shell Programming and Scripting

Calculate 5th percentile based on another column

I would like to have some help in calculating 5th percentile value of column 2 for each site, the input is like below:site val1 val2 002 10 25.3 002 20 25.3 002 30 25.3 002 40 20 002 50 20 002 60 20 002 70 20 002 80 30 002 90 30 002 100 30 002 120 30 003 20 30.3 003 20 30.3 003 30 20... (2 Replies)
Discussion started by: wuhuai
2 Replies

7. UNIX for Beginners Questions & Answers

Create a list from minimum and maximum

Using the input file for each row , using columns 1 (min) and 2 (max) , and with increment of 4 each time I want to create the output file. Input file 1000 1012 2000 2001 2000 2008 3000 3001 Output desired 1000 2000 2001 1004 2000 2001 1008 2000 2001 1012 2000 2001 2000 3000 3001... (5 Replies)
Discussion started by: jiam912
5 Replies