Bug correction in the slicer class

This commit is contained in:
Hombre
2010-08-31 23:32:33 +02:00
parent 375a76a34e
commit 8ce354a58e
2 changed files with 2 additions and 8 deletions

View File

@@ -23,8 +23,6 @@
//maximum number of pixel per block
#define PIXELS_PER_BLOCK 250000
namespace rtengine {
/*
* Used to specify a subregion of an image and to specify a cell in this subregion
*/
@@ -56,10 +54,8 @@ class Slicer {
public:
unsigned int blockNumber; // number of block for the sub-region
unsigned int maxPixelNumber; // number of pixel of the biggest block (for memory allocation purpose)
Slicer(unsigned int imageWidth, unsigned int imageHeight, Block *subRegion, unsigned int pixels, const char* nomFichier);
Slicer(unsigned int imageWidth, unsigned int imageHeight, Block *subRegion, unsigned int pixels);
void get_block(unsigned int blockId, Block *block);
};
};
#endif