getSamplesPerPixel() {
    return typeof this.fileDirectory.SamplesPerPixel !== 'undefined'
      ? this.fileDirectory.SamplesPerPixel : 1;
  }
Returns the number of samples per pixel.
@returns {Number} the number of samples per pixel