Shad-o-Scan User Manual, Rev04
46
Shad-o-Scan 3001/4501 X-Ray Detector
Teledyne DALSA
Name
Description
Bits
Bytes Endian
offset
Header Version Version number of header
16
2
Big
0
File Type
0. Defectmap
1. Darkmap
2. Gainmap
8
1
Big
1
Serial Number
Serial number of the detector
128
16
Big
2
CRC
CRC of total data file excluding the header
16
2
Little 18
Width
Number of columns in full resolution of the detector
16
2
Big
20
Height
Number of rows in full resolution of the detector
16
2
Big
22
Binning
bit 0-3: horizontal binning
bit 4-7: vertical binning
8
1
Big
24
FullWell
Pixel mask. One (defect) map can be valid for
multiple fullwells
Bit 0: Valid for HFW
Bit 2: Valid for LFW
8
1
Big
25
Readout
directiom
bit 0-3:
0. left to right
1. right to left
bit 4-7:
0. top to bottom
1. bottom to top
8
1
Big
26
DivisionFactor
/ PixelFormat
DivisionFactor: Nominal value of gainmap as a power
of 2. A value of 15 means a division of 2 to the
power of 15
PixelFormat: Number of bits in the detector output
for the dark map
8
1
Big
27
Extra1
Reserved
16
2
Big
28
Extra2
Reserved
16
2
Big
30
Total
256
32
32
Example of defect map file header (hex format):
•
Header version: 02
•
Defectmap (offset 1, 00)
•
Serialnumber: 20299705
•
Width: 658 (offset 20, 02 92)
•
Height: 656 (offset 22, 2 90)
•
Binning: Horizontal 2, vertical 2 (offset 24, 22)
•
FullWell: HFW And LFW (offset 25, 0x05, 0b00000101 )
•
Readout direction: Top to Bottom, Right to Left (offset 26, 01)
Defect pixels;
Pixels
Value
0..728
1
729
0
730
0
731..826
1
827
0
828..836
1
837..839
0
840
1
841
0