Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
// std include
#include <stdio.h>
uint32_t* buf = (uint32_t*)buffer;
unsigned char *pt_lut;
uint32_t a;
- float b;
unsigned char v;
int lut_idx, lut_off;
size_t num_read;
for (i = 0; i < GetDimensions(0); i++) {
fread (&a, sizeof(uint32_t), 1, fp);
buf[i] = a;
- b = a;
}
/* Read first pixel of second row */
fread (&a, sizeof(uint32_t), 1, fp);
buf[i++] = a;
- b = a;
/* Decompress the rest */
lut_idx = 0;
}
buf[i] = r21 + r12 + diff - r11;
- b = buf[i];
i++;
}