Lens distortion correction division model 1p
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
io_png.h
1
/*
2
Copyright (c) 2010-2013, AMI RESEARCH GROUP <lalvarez@dis.ulpgc.es>
3
License : CC Creative Commons "Attribution-NonCommercial-ShareAlike"
4
see http://creativecommons.org/licenses/by-nc-sa/3.0/es/deed.en
5
*/
6
7
#ifndef _IO_PNG_H
8
#define _IO_PNG_H
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
#define IO_PNG_VERSION "0.20110825"
15
16
#include <stddef.h>
17
18
/* io_png.c */
19
char
*io_png_info(
void
);
20
unsigned
char
*io_png_read_u8(
const
char
*fname,
size_t
*nxp,
size_t
*nyp,
21
size_t
*ncp);
22
unsigned
char
*io_png_read_u8_rgb(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
23
unsigned
char
*io_png_read_u8_gray(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
24
float
*io_png_read_f32(
const
char
*fname,
size_t
*nxp,
size_t
*nyp,
25
size_t
*ncp);
26
float
*io_png_read_f32_rgb(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
27
float
*io_png_read_f32_gray(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
28
int
io_png_write_u8(
const
char
*fname,
const
unsigned
char
*data,
29
size_t
nx,
size_t
ny,
size_t
nc);
30
int
io_png_write_f32(
const
char
*fname,
const
float
*data,
31
size_t
nx,
size_t
ny,
size_t
nc);
32
int
ami_write_png(
char
name[200],
unsigned
char
*red,
unsigned
char
*green,
unsigned
char
*blue,
int
width,
int
height);
33
int
ami_read_png(
char
name[200],
unsigned
char
**red,
unsigned
char
**green,
unsigned
char
**blue,
int
*width,
int
*height);
34
35
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
/* !_IO_PNG_H */
sf_source_reviewed
ami_image
io_png
io_png.h
Generated on Thu May 22 2014 08:57:06 for Lens distortion correction division model 1p by
1.8.6