Feature #1667

Read DESY/dpdak tiff files to BornAgain GUI

Added by ganeva 12 months ago. Updated 12 months ago.

Status:ResolvedStart date:24 Nov 2016
Priority:NormalDue date:
Assignee:jan% Done:

100%

Category:-
Target version:Sprint 33

Description

Some DESY tiff files are not loaded correctly in BornAgain GUI. File is loaded, but instead of the GISAXS pattern, user see an empty image (see the attached screenshot).

Information about the tiff file:

% gdalinfo file.tif 
Driver: GTiff/GeoTIFF
Files: file.tif
Size is 487, 619
Coordinate System is `'
Metadata:
  TIFFTAG_DATETIME=2016:04:04 20:25:30
  TIFFTAG_DOCUMENTNAME=D:\path\file.tif
  TIFFTAG_IMAGEDESCRIPTION=IDL TIFF file
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_SOFTWARE=IDL 8.1, ITT Visual Information Solutions
  TIFFTAG_XRESOLUTION=100
  TIFFTAG_YRESOLUTION=100
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  619.0)
Upper Right (  487.0,    0.0)
Lower Right (  487.0,  619.0)
Center      (  243.5,  309.5)
Band 1 Block=487x4 Type=Float32, ColorInterp=Gray

I will attach the example tiff file to this issue as soon as I will get permission from user.

Screen Shot 2016-11-24 at 10.01.34.png (26.9 KB) ganeva, 24 Nov 2016 10:03

sum_saxs_h3_spot_00002r_p00001.tif - DESY data file (624 KB) ganeva, 28 Nov 2016 09:21

Screen Shot 2016-11-28 at 09.16.17.png - Screenshot how it should look like (566 KB) ganeva, 28 Nov 2016 09:22


Subtasks

History

#1 Updated by pospelov 12 months ago

  • Status changed from New to Sprint
  • Target version set to Sprint 33

#2 Updated by ganeva 12 months ago

I've got a user permission to upload the data file to redmine.

#3 Updated by jan 12 months ago

  • Status changed from Sprint to Resolved
  • Assignee set to jan

TiffHandler now reads TIFF files with IEEE float sample format.

Also available in: Atom PDF