HdrSlice(this.name, this.width, this.height, this.type, this.bitsPerSample) : data = allocateDataForType(width * height, type, bitsPerSample);