Commit c1cf2d50 authored by Emmanuel Christophe's avatar Emmanuel Christophe

work in progress

parent 586a0526
......@@ -169,7 +169,8 @@ namespace otb
int nTilesY = (int) ceil(totLines/256.)+1;
unsigned char * bufferTile = new unsigned char[256*256*3];
//Read all the required tiles
//Read all the required tiles
//FIXME assume RGB image
for(int numTileY=0; numTileY<nTilesY; numTileY++)
for(int numTileX=0; numTileX<nTilesX; numTileX++)
......@@ -530,7 +531,8 @@ namespace otb
//Copy the input in the tile buffer
//Copy the input into the tile buffer
//FIXME assume RGB image
for(int tileJ=0; tileJ<256; tileJ++)
long int yImageOffset=(long int) 256*floor(firstLine/256.)+256*numTileY-firstLine+tileJ;
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