scaleHisto
[ XITE Reference Manual | XITE home ]
Name
scaleHisto - scale a cumulative histogram
Syntax
#include <xite/histo.h>
void scaleHisto( histogram cumHisto,
histogram scHisto, int range );
Description
Scale a cumulative histgram for use as histogram
transformation. scale implies that all values
are linearly scaled to the interval [0..<range>].
Identical in- and out-parameter is legal.
cumHisto - input cumulative histogram
scHisto - output scaled cumulative histogram
range - Number of levels in scHisto, typically 256
Return value
Author
Tor L|nnestad & Otto Milvang
Id
$Id: scaleHisto.c,v 1.17 1995/08/23 14:55:44 svein Exp $