1 | /* --------------- */ |
---|
2 | /* --- nrio3.h --- */ |
---|
3 | /* --------------- */ |
---|
4 | |
---|
5 | /* |
---|
6 | * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved |
---|
7 | * Univ Paris Sud XI, CNRS |
---|
8 | */ |
---|
9 | /* -------------------- */ |
---|
10 | /* --- display_cube --- */ |
---|
11 | /* -------------------- */ |
---|
12 | IMAGE_EXPORT(void) display_i8cube (int8 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
13 | IMAGE_EXPORT(void) display_i16cube (int16 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
14 | IMAGE_EXPORT(void) display_ui16cube(uint16 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
15 | IMAGE_EXPORT(void) display_i32cube (int32 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
16 | IMAGE_EXPORT(void) display_ui32cube(uint32 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
17 | IMAGE_EXPORT(void) display_i64cube (int64 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
18 | IMAGE_EXPORT(void) display_f32cube (float32 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
19 | |
---|
20 | /* ---------------- */ |
---|
21 | /* -- write_cube -- */ |
---|
22 | /* ---------------- */ |
---|
23 | IMAGE_EXPORT(void) write_i8cube (int8 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
24 | IMAGE_EXPORT(void) write_i16cube (int16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
25 | IMAGE_EXPORT(void) write_ui16cube(uint16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
26 | IMAGE_EXPORT(void) write_i32cube (int32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
27 | IMAGE_EXPORT(void) write_ui32cube(uint32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
28 | IMAGE_EXPORT(void) write_i64cube (int64 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
29 | IMAGE_EXPORT(void) write_f32cube (float32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); |
---|
30 | |
---|
31 | IMAGE_EXPORT(void) fread_i8cube(char *filename, int8 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
32 | IMAGE_EXPORT(void) fread_i16cube(char *filename, int16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
33 | IMAGE_EXPORT(void) fread_ui16cube(char *filename, uint16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
34 | IMAGE_EXPORT(void) fread_i32cube(char *filename, int32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
35 | IMAGE_EXPORT(void) fread_ui32cube(char *filename, uint32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
36 | IMAGE_EXPORT(void) fread_i64cube(char *filename, int64 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
37 | IMAGE_EXPORT(void) fread_f32cube(char *filename, float32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
38 | |
---|
39 | /* ----------------- */ |
---|
40 | /* -- fwrite_cube -- */ |
---|
41 | /* ----------------- */ |
---|
42 | IMAGE_EXPORT(void) fwrite_i8cube(int8 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); |
---|
43 | IMAGE_EXPORT(void) fwrite_i16cube(int16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); |
---|
44 | IMAGE_EXPORT(void) fwrite_ui16cube(uint16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); |
---|
45 | IMAGE_EXPORT(void) fwrite_i32cube(int32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); |
---|
46 | IMAGE_EXPORT(void) fwrite_ui32cube(uint32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); |
---|
47 | IMAGE_EXPORT(void) fwrite_i64cube(int64 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); |
---|