Go to the source code of this file.
|
|
igtl_uint64 igtl_export | igtl_image_get_data_size (igtl_image_header *header) |
|
void igtl_export | igtl_image_set_matrix (float spacing[3], float origin[3], float norm_i[3], float norm_j[3], float norm_k[3], igtl_image_header *header) |
|
void igtl_export | igtl_image_get_matrix (float spacing[3], float origin[3], float norm_i[3], float norm_j[3], float norm_k[3], igtl_image_header *header) |
|
void igtl_export | igtl_image_set_matrix_4x4 (float _matrix[4][4], igtl_image_header *header) |
|
void igtl_export | igtl_image_get_matrix_4x4 (float _matrix[4][4], igtl_image_header *header) |
|
void igtl_export | igtl_image_convert_byte_order (igtl_image_header *header) |
|
igtl_uint64 igtl_export | igtl_image_get_crc (igtl_image_header *header, void *image) |
|
◆ IGTL_IMAGE_COORD_LPS
#define IGTL_IMAGE_COORD_LPS 2 |
◆ IGTL_IMAGE_COORD_RAS
#define IGTL_IMAGE_COORD_RAS 1 |
◆ IGTL_IMAGE_DTYPE_SCALAR
#define IGTL_IMAGE_DTYPE_SCALAR 1 |
◆ IGTL_IMAGE_DTYPE_VECTOR
#define IGTL_IMAGE_DTYPE_VECTOR 3 |
◆ IGTL_IMAGE_ENDIAN_BIG
#define IGTL_IMAGE_ENDIAN_BIG 1 |
◆ IGTL_IMAGE_ENDIAN_LITTLE
#define IGTL_IMAGE_ENDIAN_LITTLE 2 |
◆ IGTL_IMAGE_HEADER_SIZE
#define IGTL_IMAGE_HEADER_SIZE 72 |
◆ IGTL_IMAGE_HEADER_VERSION
#define IGTL_IMAGE_HEADER_VERSION 1 |
◆ IGTL_IMAGE_STYPE_TYPE_FLOAT32
#define IGTL_IMAGE_STYPE_TYPE_FLOAT32 10 |
◆ IGTL_IMAGE_STYPE_TYPE_FLOAT64
#define IGTL_IMAGE_STYPE_TYPE_FLOAT64 11 |
◆ IGTL_IMAGE_STYPE_TYPE_INT16
#define IGTL_IMAGE_STYPE_TYPE_INT16 4 |
◆ IGTL_IMAGE_STYPE_TYPE_INT32
#define IGTL_IMAGE_STYPE_TYPE_INT32 6 |
◆ IGTL_IMAGE_STYPE_TYPE_INT8
#define IGTL_IMAGE_STYPE_TYPE_INT8 2 |
◆ IGTL_IMAGE_STYPE_TYPE_UINT16
#define IGTL_IMAGE_STYPE_TYPE_UINT16 5 |
◆ IGTL_IMAGE_STYPE_TYPE_UINT32
#define IGTL_IMAGE_STYPE_TYPE_UINT32 7 |
◆ IGTL_IMAGE_STYPE_TYPE_UINT8
#define IGTL_IMAGE_STYPE_TYPE_UINT8 3 |
◆ igtl_image_convert_byte_order()
Converts endianness of each member variable in igtl_image_header from host byte order to network byte order, or vice versa.
◆ igtl_image_get_crc()
Calculates CRC of image data body including header and array of pixel data.
◆ igtl_image_get_data_size()
Calculates size of the pixel array, which will be transferred with the specified header.
◆ igtl_image_get_matrix()
void igtl_export igtl_image_get_matrix |
( |
float |
spacing[3], |
|
|
float |
origin[3], |
|
|
float |
norm_i[3], |
|
|
float |
norm_j[3], |
|
|
float |
norm_k[3], |
|
|
igtl_image_header * |
header |
|
) |
| |
Calculates size of the pixel array, which will be transferred with the specified header.
◆ igtl_image_get_matrix_4x4()
Gets the image orientation/origin matrix in 4x4 format
◆ igtl_image_set_matrix()
void igtl_export igtl_image_set_matrix |
( |
float |
spacing[3], |
|
|
float |
origin[3], |
|
|
float |
norm_i[3], |
|
|
float |
norm_j[3], |
|
|
float |
norm_k[3], |
|
|
igtl_image_header * |
header |
|
) |
| |
Generates image orientation/origin matrix from spacing, origin and normal vectors.
◆ igtl_image_set_matrix_4x4()
Sets the image orientation/origin matrix in 4x4 format