[772] | 1 | /* --------------- */ |
---|
| 2 | /* --- nrio2.h --- */ |
---|
| 3 | /* --------------- */ |
---|
| 4 | |
---|
| 5 | /* |
---|
| 6 | * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved |
---|
| 7 | * Univ Paris Sud XI, CNRS |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef _NR_IO2_H_ |
---|
| 11 | #define _NR_IO2_H_ |
---|
| 12 | |
---|
| 13 | #ifdef __cplusplus |
---|
| 14 | #pragma message ("C++") |
---|
| 15 | extern "C" { |
---|
| 16 | #endif |
---|
| 17 | |
---|
| 18 | #ifdef VERBOSE_PRAGMA |
---|
| 19 | //#pragma message ("- *** include nrio2.h ***") |
---|
| 20 | #endif |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | /* |
---|
| 24 | * ---------------------- |
---|
| 25 | * --- display_matrix --- |
---|
| 26 | * ---------------------- |
---|
| 27 | */ |
---|
| 28 | |
---|
| 29 | IMAGE_EXPORT(void) display_si8matrix (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 30 | IMAGE_EXPORT(void) display_ui8matrix (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 31 | IMAGE_EXPORT(void) display_si16matrix (sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 32 | IMAGE_EXPORT(void) display_ui16matrix (uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 33 | IMAGE_EXPORT(void) display_si32matrix (sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 34 | IMAGE_EXPORT(void) display_ui32matrix (uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 35 | IMAGE_EXPORT(void) display_si64matrix (sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 36 | IMAGE_EXPORT(void) display_ui64matrix (uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 37 | |
---|
| 38 | IMAGE_EXPORT(void) display_f32matrix (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 39 | IMAGE_EXPORT(void) display_f64matrix (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 40 | |
---|
| 41 | IMAGE_EXPORT(void) display_rgb8matrix (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 42 | IMAGE_EXPORT(void) display_rgbx8matrix(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 43 | |
---|
| 44 | /* |
---|
| 45 | * ------------------------ |
---|
| 46 | * --- display_matrix_T --- |
---|
| 47 | * ------------------------ |
---|
| 48 | */ |
---|
| 49 | |
---|
| 50 | IMAGE_EXPORT(void) display_si8matrix_T (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 51 | IMAGE_EXPORT(void) display_ui8matrix_T (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 52 | IMAGE_EXPORT(void) display_si16matrix_T(sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 53 | IMAGE_EXPORT(void) display_ui16matrix_T(uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 54 | IMAGE_EXPORT(void) display_si32matrix_T(sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 55 | IMAGE_EXPORT(void) display_ui32matrix_T(uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 56 | IMAGE_EXPORT(void) display_si64matrix_T(sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 57 | IMAGE_EXPORT(void) display_ui64matrix_T(uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 58 | |
---|
| 59 | IMAGE_EXPORT(void) display_f32matrix_T (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 60 | IMAGE_EXPORT(void) display_f64matrix_T (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 61 | |
---|
| 62 | IMAGE_EXPORT(void) display_rgb8matrix_T (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 63 | IMAGE_EXPORT(void) display_rgbx8matrix_T(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 64 | |
---|
| 65 | /* |
---|
| 66 | * ----------------------------- |
---|
| 67 | * --- display_matrix_number --- |
---|
| 68 | * ----------------------------- |
---|
| 69 | */ |
---|
| 70 | |
---|
| 71 | IMAGE_EXPORT(void) display_si8matrix_number (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 72 | IMAGE_EXPORT(void) display_ui8matrix_number (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 73 | IMAGE_EXPORT(void) display_si16matrix_number(sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 74 | IMAGE_EXPORT(void) display_ui16matrix_number(uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 75 | IMAGE_EXPORT(void) display_i32matrix_number (sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 76 | IMAGE_EXPORT(void) display_ui32matrix_number(uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 77 | IMAGE_EXPORT(void) display_si64matrix_number(sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 78 | IMAGE_EXPORT(void) display_ui64matrix_number(uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 79 | |
---|
| 80 | IMAGE_EXPORT(void) display_f32matrix_number (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 81 | IMAGE_EXPORT(void) display_f64matrix_number (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 82 | |
---|
| 83 | IMAGE_EXPORT(void) display_rgb8matrix_number (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 84 | IMAGE_EXPORT(void) display_rgbx8matrix_number(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *name); |
---|
| 85 | |
---|
| 86 | /* |
---|
| 87 | * -------------------- |
---|
| 88 | * --- write_matrix --- |
---|
| 89 | * -------------------- |
---|
| 90 | */ |
---|
| 91 | |
---|
| 92 | IMAGE_EXPORT(void) write_si8matrix (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 93 | IMAGE_EXPORT(void) write_ui8matrix (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 94 | IMAGE_EXPORT(void) write_si16matrix (sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 95 | IMAGE_EXPORT(void) write_ui16matrix (uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 96 | IMAGE_EXPORT(void) write_si32matrix (sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 97 | IMAGE_EXPORT(void) write_ui32matrix (uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 98 | IMAGE_EXPORT(void) write_si64matrix (sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 99 | IMAGE_EXPORT(void) write_ui64matrix (uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 100 | |
---|
| 101 | IMAGE_EXPORT(void) write_f32matrix (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 102 | IMAGE_EXPORT(void) write_f64matrix (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 103 | |
---|
| 104 | IMAGE_EXPORT(void) write_rgb8matrix (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 105 | IMAGE_EXPORT(void) write_rgbx8matrix(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 106 | |
---|
| 107 | /* |
---|
| 108 | * ---------------------- |
---|
| 109 | * --- write_matrix_T --- |
---|
| 110 | * ---------------------- |
---|
| 111 | */ |
---|
| 112 | |
---|
| 113 | IMAGE_EXPORT(void) write_si8matrix_T (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 114 | IMAGE_EXPORT(void) write_ui8matrix_T (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 115 | IMAGE_EXPORT(void) write_si16matrix_T (sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 116 | IMAGE_EXPORT(void) write_ui16matrix_T (uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 117 | IMAGE_EXPORT(void) write_si32matrix_T (sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 118 | IMAGE_EXPORT(void) write_ui32matrix_T (uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 119 | IMAGE_EXPORT(void) write_si64matrix_T (sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 120 | IMAGE_EXPORT(void) write_ui64matrix_T (uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 121 | |
---|
| 122 | IMAGE_EXPORT(void) write_f32matrix_T (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 123 | IMAGE_EXPORT(void) write_f64matrix_T (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 124 | |
---|
| 125 | IMAGE_EXPORT(void) write_rgb8matrix_T (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 126 | IMAGE_EXPORT(void) write_rgbx8matrix_T(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 127 | |
---|
| 128 | /* |
---|
| 129 | * --------------------------- |
---|
| 130 | * --- write_matrix_number --- |
---|
| 131 | * --------------------------- |
---|
| 132 | */ |
---|
| 133 | |
---|
| 134 | IMAGE_EXPORT(void) write_si8matrix_number (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 135 | IMAGE_EXPORT(void) write_ui8matrix_number (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 136 | IMAGE_EXPORT(void) write_si16matrix_number (sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 137 | IMAGE_EXPORT(void) write_ui16matrix_number (uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 138 | IMAGE_EXPORT(void) write_si32matrix_number (sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 139 | IMAGE_EXPORT(void) write_ui32matrix_number (uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 140 | IMAGE_EXPORT(void) write_si64matrix_number (sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 141 | IMAGE_EXPORT(void) write_ui64matrix_number (uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 142 | |
---|
| 143 | IMAGE_EXPORT(void) write_f32matrix_number (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 144 | IMAGE_EXPORT(void) write_f64matrix_number (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 145 | |
---|
| 146 | IMAGE_EXPORT(void) write_rgb8matrix_number (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 147 | IMAGE_EXPORT(void) write_rgbx8matrix_number(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 148 | |
---|
| 149 | /* |
---|
| 150 | * ----------------------------- |
---|
| 151 | * --- write_matrix_T_number --- |
---|
| 152 | * ----------------------------- |
---|
| 153 | */ |
---|
| 154 | |
---|
| 155 | IMAGE_EXPORT(void) write_si8matrix_T_number (sint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 156 | IMAGE_EXPORT(void) write_ui8matrix_T_number (uint8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 157 | IMAGE_EXPORT(void) write_si16matrix_T_number (sint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 158 | IMAGE_EXPORT(void) write_ui16matrix_T_number (uint16 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 159 | IMAGE_EXPORT(void) write_si32matrix_T_number (sint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 160 | IMAGE_EXPORT(void) write_ui32matrix_T_number (uint32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 161 | IMAGE_EXPORT(void) write_si64matrix_T_number (sint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 162 | IMAGE_EXPORT(void) write_ui64matrix_T_number (uint64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 163 | |
---|
| 164 | IMAGE_EXPORT(void) write_f32matrix_T_number (float32 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 165 | IMAGE_EXPORT(void) write_f64matrix_T_number (float64 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 166 | |
---|
| 167 | IMAGE_EXPORT(void) write_rgb8matrix_T_number (rgb8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 168 | IMAGE_EXPORT(void) write_rgbx8matrix_T_number(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *format, char *filename); |
---|
| 169 | |
---|
| 170 | /* |
---|
| 171 | * --------------------- |
---|
| 172 | * --- fwrite_matrix --- |
---|
| 173 | * --------------------- |
---|
| 174 | */ |
---|
| 175 | |
---|
| 176 | IMAGE_EXPORT(void) fwrite_si8matrix (sint8 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 177 | IMAGE_EXPORT(void) fwrite_ui8matrix (uint8 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 178 | IMAGE_EXPORT(void) fwrite_si16matrix (sint16 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 179 | IMAGE_EXPORT(void) fwrite_ui16matrix (uint16 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 180 | IMAGE_EXPORT(void) fwrite_si32matrix (sint32 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 181 | IMAGE_EXPORT(void) fwrite_ui32matrix (uint32 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 182 | IMAGE_EXPORT(void) fwrite_si64matrix (sint64 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 183 | IMAGE_EXPORT(void) fwrite_ui64matrix (uint64 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 184 | |
---|
| 185 | IMAGE_EXPORT(void) fwrite_f32matrix (float32 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 186 | IMAGE_EXPORT(void) fwrite_f64matrix (float64 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 187 | |
---|
| 188 | IMAGE_EXPORT(void) fwrite_rgb8matrix(rgb8 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 189 | IMAGE_EXPORT(void) fwrite_rgbx8matrix(rgbx8 **m,long nrl,long nrh,long ncl, long nch, char *filename); |
---|
| 190 | |
---|
| 191 | /* |
---|
| 192 | * -------------------- |
---|
| 193 | * --- fread_matrix --- |
---|
| 194 | * -------------------- |
---|
| 195 | */ |
---|
| 196 | |
---|
| 197 | IMAGE_EXPORT(void) fread_si8matrix (char *filename, sint8 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 198 | IMAGE_EXPORT(void) fread_ui8matrix (char *filename, uint8 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 199 | IMAGE_EXPORT(void) fread_si16matrix (char *filename, sint16 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 200 | IMAGE_EXPORT(void) fread_ui16matrix (char *filename, uint16 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 201 | IMAGE_EXPORT(void) fread_si32matrix (char *filename, sint32 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 202 | IMAGE_EXPORT(void) fread_ui32matrix (char *filename, uint32 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 203 | IMAGE_EXPORT(void) fread_si64matrix (char *filename, sint64 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 204 | IMAGE_EXPORT(void) fread_ui64matrix (char *filename, uint64 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 205 | IMAGE_EXPORT(void) fread_f32matrix (char *filename, float32 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 206 | IMAGE_EXPORT(void) fread_f64matrix (char *filename, float64 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 207 | |
---|
| 208 | IMAGE_EXPORT(void) fread_rgb8matrix (char *filename, rgb8 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 209 | IMAGE_EXPORT(void) fread_rgbx8matrix(char *filename, rgbx8 **m,long nrl,long nrh,long ncl, long nch); |
---|
| 210 | |
---|
| 211 | /* |
---|
| 212 | * ------------------------------- |
---|
| 213 | * --- display_matrix_positive --- |
---|
| 214 | * ------------------------------- |
---|
| 215 | */ |
---|
| 216 | |
---|
| 217 | void display_si8matrix_positive (sint8 * *m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 218 | void display_ui8matrix_positive (uint8 * *m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 219 | void display_si16matrix_positive(sint16 **m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 220 | void display_ui16matrix_positive(uint16 **m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 221 | void display_si32matrix_positive(sint32 **m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 222 | void display_ui32matrix_positive(uint32 **m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 223 | void display_si64matrix_positive(sint64 **m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 224 | void display_ui64matrix_positive(uint64 **m, int i0, int i1, int j0, int j1, int iformat, char *name); |
---|
| 225 | |
---|
| 226 | // ------------------------------- |
---|
| 227 | // --- write_matrix_positive --- |
---|
| 228 | // ------------------------------- |
---|
| 229 | |
---|
| 230 | void write_ui8matrix_positive (uint8 **m,int i0, int i1, int j0, int j1, int iformat, char *filename); |
---|
| 231 | void write_ui16matrix_positive(uint16 **m,int i0, int i1, int j0, int j1, int iformat, char *filename); |
---|
| 232 | void write_ui32matrix_positive(uint32 **m,int i0, int i1, int j0, int j1, int iformat, char *filename); |
---|
| 233 | |
---|
| 234 | /* ------------------------ */ |
---|
| 235 | /* -- PGM IO for bmatrix -- */ |
---|
| 236 | /* ------------------------ */ |
---|
| 237 | |
---|
| 238 | IMAGE_EXPORT(uint8 **) LoadPGM_ui8matrix(char *filename, int *nrl, int *nrh, int *ncl, int *nch); |
---|
| 239 | IMAGE_EXPORT(uint8 **) LoadPGM_bmatrix (char *filename, int *nrl, int *nrh, int *ncl, int *nch); |
---|
| 240 | IMAGE_EXPORT(void) LoadPGM_bmatrix2 (char *filename, int *nrl, int *nrh, int *ncl, int *nch, uint8 **m); |
---|
[798] | 241 | IMAGE_EXPORT(void) MLoadPGM_bmatrix (char *filename, int nrl, int nrh, int ncl, int nch, uint8 **m); |
---|
[772] | 242 | |
---|
| 243 | IMAGE_EXPORT(void) SavePGM_bmatrix (uint8 **m, int nrl, int nrh, int ncl, int nch, char *filename); |
---|
| 244 | IMAGE_EXPORT(void) SavePGM_ui8matrix(uint8 **m, int nrl, int nrh, int ncl, int nch, char *filename); |
---|
| 245 | |
---|
[798] | 246 | IMAGE_EXPORT(rgb8 **) LoadPPM_rgb8matrix (char *filename, int *nrl, int *nrh, int *ncl, int *nch); |
---|
| 247 | IMAGE_EXPORT(void) LoadPPM_rgb8matrix2(char *filename, int *nrl, int *nrh, int *ncl, int *nch, rgb8 **m); |
---|
[772] | 248 | |
---|
[798] | 249 | IMAGE_EXPORT(void) SavePPM_rgb8matrix(rgb8 **m, int nrl, int nrh, int ncl, int nch, char *filename); |
---|
| 250 | |
---|
| 251 | |
---|
| 252 | |
---|
[772] | 253 | #ifdef __cplusplus |
---|
| 254 | } |
---|
| 255 | #endif |
---|
| 256 | |
---|
| 257 | #endif // _NR_IO2_H_ |
---|
| 258 | |
---|