summaryrefslogtreecommitdiff
path: root/gamma.h
blob: 4f0608d482ad242493b8f6bcfc14eb7e26dae034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/***************************************************************************
    gamma.h  -  prototypes and stuff for gamma.c
                             -------------------
    begin                : Thu Jan 13 2000
    copyright            : (C) 1998-2000 by pnm2ppa project
    email                : 
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef _GAMMA_H
#define _GAMMA_H

#include "image.h"

/* empirical color correction curve */
int Make_GammaCurve ( double , double , double );

/* array of trial gamma values */
double GammaValue ( int );

/* produces color calibration page  */
int ProduceGamma (image_t *, unsigned char *line );

#endif