File: gamma.h

package info (click to toggle)
pnm2ppa 1.13-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,676 kB
  • ctags: 464
  • sloc: ansic: 7,505; sh: 4,222; makefile: 125; python: 8
file content (36 lines) | stat: -rw-r--r-- 1,314 bytes parent folder | download | duplicates (7)
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