Man page - pfsclamp(1)
Packages contains this manual
- jpeg2hdrgen(1)
- pfsoutrgbe(1)
- pfsouthdrhtml(1)
- pfsextractchannels(1)
- pfsinrgbe(1)
- pfsout(1)
- pfsstat(1)
- pfscolortransform(1)
- pfsoutyuv(1)
- pfsoutppm(1)
- dcraw2hdrgen(1)
- pfsinimgmagick(1)
- pfsclamp(1)
- pfsgamma(1)
- pfsin(1)
- pfsplotresponse(1)
- pfsoctavelum(1)
- pfsoutimgmagick(1)
- pfsinme(1)
- pfsretime(1)
- pfsoctavergb(1)
- pfsrotate(1)
- pfsinhdrgen(1)
- pfstag(1)
- pfscat(1)
- pfssize(1)
- pfsindcraw(1)
- pfsdisplayfunction(1)
- pfsabsolute(1)
- pfsouttiff(1)
- pfscut(1)
- pfsinexr(1)
- pfspanoramic(1)
- pfshdrcalibrate(1)
- pfsinppm(1)
- pfspad(1)
- pfsoutpfm(1)
- pfsintiff(1)
- pfsinpfm(1)
- pfsflip(1)
- pfs_automerge(1)
- pfsoutexr(1)
- pfsinyuv(1)
apt-get install pfstools
Manual
pfsclamp
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
BUGS
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>.