man/man1/phisto.1
author Axel Jacobs <axel@jaloxa.eu>
Mon, 14 Apr 2014 22:18:50 +0100
changeset 68 67aa83bdbddd
parent 12 a5d25b4668ac
permissions -rw-r--r--
ltpict: Handle file names with spaces
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     1
.\" RCSid "$Id: phisto.1,v 1.4 2008/11/10 19:08:17 greg Exp $"
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     2
.TH PHISTO 1 3/12/98 RADIANCE
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     3
.SH NAME
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     4
phisto - compute a luminance histogram from one or more RADIANCE pictures
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     5
.SH SYNOPSIS
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     6
.B phisto
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     7
.B "picture .."
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     8
.SH DESCRIPTION
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     9
.I Phisto
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    10
is a script that calls
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    11
.I pfilt(1),
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    12
.I rcalc(1)
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    13
and
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    14
.I histo(1)
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    15
to compute a histogram of log luminance values for foveal samples in
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    16
the given picture files.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    17
A foveal sample covers approximately 1 degree, though this script does
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    18
not use this exact area.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    19
The minimum and maximum values are determined, and 100 histogram bins
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    20
are uniformly divided between these extrema.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    21
Foveal samples less than 1e-7 candelas/sq.meter are silently ignored.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    22
If no picture is named on the command line, the standard input is read.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    23
.PP
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    24
The primary function of this script is to precompute histograms for the
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    25
.I pcond(1)
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    26
program, which may then be used to compute multiple, identical exposures.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    27
This is especially useful for animations and image comparisons.
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    28
.SH EXAMPLE
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    29
.PP
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    30
To compute two identical tone mappings for image1.hdr and image2.hdr:
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    31
.IP "" .2i
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    32
phisto image1.hdr image2.hdr > both.histo
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    33
.br
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    34
pcond \-I \-h image1.hdr < both.histo > image1m.hdr
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    35
.br
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    36
pcond \-I \-h image2.hdr < both.histo > image2m.hdr
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    37
.SH AUTHOR
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    38
Greg Ward Larson
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    39
.SH "SEE ALSO"
a5d25b4668ac Added all existing man pages from HEAD-20110626.
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    40
histo(1), pcond(1), pfilt(1), pvalue(1), rcalc(1), total(1)