18 #if !defined(AT_IMGPROC_H_INSIDE) 19 #error "Only <at/imgproc.h> can be included directly." 59 at_dicomu16_read(
const char* fname,
AtError **error);
68 #define at_dicom_read(dicom, filename, error) dicom = _Generic((dicom), \ 69 AtDicomU16*: at_dicomu16_read)(filename, error) 70 #define at_dicom_write(dicom, filename) _Generic((dicom), \ 71 AtDicomU16*: at_dicomu16_write)(dicom, filename) AtArrayU16 * image
Definition: dicom.h:49
char * unit
Definition: dicom.h:32
uint16_t pixel_representation
Definition: dicom.h:38
error
Definition: error.h:28
const char * filename
Definition: dicom.h:30
uint16_t samples_per_pixel
Definition: dicom.h:36
uint8_t pixel_data_tag_found
Definition: dicom.h:39
Dicom Base.
Definition: dicom.h:29
uint8_t * photo_interpretation
Definition: dicom.h:33
AtDicomBase base
Definition: dicom.h:47
uint8_t pd[2]
Definition: dicom.h:40
AtArrayU16 * luts
Definition: dicom.h:48
uint16_t bits_allocated
Definition: dicom.h:37
float slope
Definition: dicom.h:35
float intercept
Definition: dicom.h:34
char * modality
Definition: dicom.h:31
Dicom 16 bits.
Definition: dicom.h:46