reader for DECTRIS detector data
More...
#include <dectris_reader.hpp>
This type provides static method to read data from CBF files written by detectors from DECTRIS.
template<typename CBFT , typename CTYPE >
void pni::io::cbf::dectris_reader::read_data_byte_offset |
( |
std::ifstream & |
is, |
|
|
const pni::io::image_info & |
info, |
|
|
CTYPE & |
data |
|
) |
| |
|
static |
Static method to read byte offset compressed data from DECTRIS CBF files.
- Template Parameters
-
CBFT | type used for data in the file |
CTYPE | container type where to store the data |
- Parameters
-
is | input stream |
info | instance of ImageInfo for the image to read |
data | container instance where to store the data |
This static method reads the header data from a CBF file. The header information is collected and stored in an ImageInfo type. In addition the ct argument holds the ID of the compression use for this image.
- Parameters
-
is | input stream from which to read |
info | ImageInfo vector where to store image data |
ct | compression id |
- Returns
- position of data section
The documentation for this class was generated from the following files: