Commit 24928fc8 authored by Locatelli's avatar Locatelli
Browse files

Correct Load tif image

parent e844ad94
......@@ -99,7 +99,7 @@ void SimulatedPslDriver::read() {
TIFFReadScanline(tif, buf, row, 0);
data = (uint16*) buf;
for(uint32 i = 0; i < w;++i) {
tab[row + i * h] = data[i];
tab[h - row + i * h] = data[i];
sum = sum + data[i];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment