Image Version 2
This class provides an interface to reading the image metric file:
- InterOp/ImageMetrics.bin
- InterOp/ImageMetricsOut.bin
The file format for image metrics is as follows:
Header
illumina::interop::io::read_metrics (Function that parses this information)
byte 0: version number (2) byte 1: record size (6 + 2*channelCount + 2*channelCount)
Extended Header
illumina::interop::io::generic_layout<image_metric, 2> (Class that parses this information)
byte 2: channel count (uint8)
n-Records
illumina::interop::io::layout::base_cycle_metric (Class that parses this information)
2 bytes: lane number (uint16) 2 bytes: tile number (uint16) 2 bytes: cycle number (uint16)
illumina::interop::io::generic_layout<image_metric, 2> (Class that parses this information)
2*channelCount bytes: minimum contrast (uint16) 2*channelCount bytes: maximum contrast (uint16)