CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
Public Attributes | List of all members
Intf_fields Class Reference

Interfile fields.
This structure contains all the Interfile keys currently managed by CASToR
Declared in oInterfileIO.hh. More...

#include <oInterfileIO.hh>

Collaboration diagram for Intf_fields:
Collaboration graph

Public Attributes

string path_to_image
 
string originating_system
 
uint8_t endianness
 
uint32_t data_offset
 
string nb_format
 
uint8_t nb_dims
 
uint32_t mtx_size [7]
 
FLTNB vox_offset [3]
 
FLTNB vox_size [3]
 
FLTNB slice_thickness_mm
 
int nb_bed_positions
 
FLTNB bed_relative_position
 
bool bed_position_provided
 
uint16_t ctr_to_ctr_separation
 
uint16_t nb_time_frames
 
uint16_t nb_resp_gates
 
uint16_t nb_card_gates
 
uint32_t nb_total_imgs
 
uint8_t nb_bytes_pixel
 
int8_t slice_orientation
 
int8_t pat_rotation
 
int8_t pat_orientation
 
FLTNB rescale_slope
 
FLTNB quant_units
 
FLTNB rescale_intercept
 
uint32_t cmtx_size [3]
 
FLTNB cvox_size [3]
 
FLTNB cvox_offset [3]
 
bool is_mtx_size_different
 
int data_type
 
FLTNB study_duration
 
vector< FLTNBimage_duration
 
vector< FLTNBimage_start_time
 
uint32_t nb_time_windows
 
string process_status
 
uint32_t nb_img_in_frame_groups
 
vector< FLTNBframe_group_pause
 
uint16_t nb_detector_heads
 
uint32_t nb_energy_windows
 
uint16_t nb_projections
 
FLTNB extent_rotation
 
string direction_rotation
 
FLTNB first_angle
 
string projection_angles
 
string radius
 

Detailed Description

Interfile fields.
This structure contains all the Interfile keys currently managed by CASToR
Declared in oInterfileIO.hh.

Definition at line 217 of file code/include/image/oInterfileIO.hh.

Member Data Documentation

◆ bed_position_provided

bool Intf_fields::bed_position_provided

True if the relative bed position has been provided from the datafile

Definition at line 254 of file code/include/image/oInterfileIO.hh.

◆ bed_relative_position

FLTNB Intf_fields::bed_relative_position

Number of bed positions Bed relative position in mm

Definition at line 253 of file code/include/image/oInterfileIO.hh.

◆ cmtx_size

uint32_t Intf_fields::cmtx_size

(C)astor reconstruction dimensions of the images (x,y,z).
Initialized only if interpolation is required on a recovered image.

Definition at line 295 of file code/include/image/oInterfileIO.hh.

◆ ctr_to_ctr_separation

uint16_t Intf_fields::ctr_to_ctr_separation

Recovered from the key 'centre-centre slice separation (pixels)'. Not currently implemented.
Used to compute gap between two slices (gap = ctr-ctr slice separation - slice_thickness_mm).

Definition at line 256 of file code/include/image/oInterfileIO.hh.

◆ cvox_offset

FLTNB Intf_fields::cvox_offset

(C)astor image position offset (x,y,z).
Initialized only if interpolation is required on a recovered image.

Definition at line 301 of file code/include/image/oInterfileIO.hh.

◆ cvox_size

FLTNB Intf_fields::cvox_size

(C)astor voxel size of the reconstructed images (x,y,z).
Initialized only if interpolation is required on a recovered image.

Definition at line 298 of file code/include/image/oInterfileIO.hh.

◆ data_offset

uint32_t Intf_fields::data_offset

Data offset in the image file, as defined by the fields "data offset in bytes" or "data starting block".
Associated with 'imagedata byte order' intf key.

Definition at line 228 of file code/include/image/oInterfileIO.hh.

◆ data_type

int Intf_fields::data_type

Type of projeted/reconstructed dataset (Static|Dynamic|Gated|Tomographic|Curve|ROI|GSPECT|Other).
(Curve|ROI|Other) are considered as 'Static'.
Associated with 'type of data' intf key.

Definition at line 308 of file code/include/image/oInterfileIO.hh.

◆ direction_rotation

string Intf_fields::direction_rotation

Direction of rotation : CCW (counter-clockwise), CW (clockwise).
Associated with 'direction of rotation' intf key.

Definition at line 361 of file code/include/image/oInterfileIO.hh.

◆ endianness

uint8_t Intf_fields::endianness

Indicate if bytes follow a Little Endian or Big Endian ordering.
Associated with 'imagedata byte order' intf key.

Definition at line 225 of file code/include/image/oInterfileIO.hh.

◆ extent_rotation

FLTNB Intf_fields::extent_rotation

Angular span ex: 180, 360.
Associated with 'extent of rotation' intf key.

Definition at line 358 of file code/include/image/oInterfileIO.hh.

◆ first_angle

FLTNB Intf_fields::first_angle

Angle of the first view.
Associated with 'start angle' intf key.

Definition at line 365 of file code/include/image/oInterfileIO.hh.

◆ frame_group_pause

vector< FLTNB > Intf_fields::frame_group_pause

< Pause between time windows ?
Should be specific to each time frame.
Not used in the current implementation.
Associated with 'pause between images (sec)' intf key. ""pause between frame groups (sec)".
Associated with 'pause between frame groups (sec) ' intf key.

Definition at line 344 of file code/include/image/oInterfileIO.hh.

◆ image_duration

vector< FLTNB > Intf_fields::image_duration

"image duration (sec)". Duration of the frame.
Should be specific to each time frame.
Associated with 'image duration (sec)' intf key.

Definition at line 316 of file code/include/image/oInterfileIO.hh.

◆ image_start_time

vector< FLTNB > Intf_fields::image_start_time

"image start time (sec)". Start time of the frame.
Should be specific to each time frame.
Associated with 'image start time (sec)' intf key.

Definition at line 320 of file code/include/image/oInterfileIO.hh.

◆ is_mtx_size_different

bool Intf_fields::is_mtx_size_different

Bool indicating the original matric/voxel sizes are different to the reconstruction size,
hence requiring interpolation if the image is read.

Definition at line 305 of file code/include/image/oInterfileIO.hh.

◆ mtx_size

uint32_t Intf_fields::mtx_size

Dimensions of the images (x,y,z) and non-spatial dimensions, such as number of frames.
Support for sinogram reading (and sinogram dimensions) is not yet implemented.
Associated with the 'matrix size[x]' and 'number of time frames' intf key.

Definition at line 237 of file code/include/image/oInterfileIO.hh.

◆ nb_bed_positions

int Intf_fields::nb_bed_positions

Definition at line 252 of file code/include/image/oInterfileIO.hh.

◆ nb_bytes_pixel

uint8_t Intf_fields::nb_bytes_pixel

number of bytes for each pixel/voxel of the image data.
Associated with 'number of bytes per pixel' intf key.

Definition at line 271 of file code/include/image/oInterfileIO.hh.

◆ nb_card_gates

uint16_t Intf_fields::nb_card_gates

Number of cardiac gates in a dynamic series of images.
Associated with 'number of cardiac gates' intf key (CASToR-specific key).

Definition at line 265 of file code/include/image/oInterfileIO.hh.

◆ nb_detector_heads

uint16_t Intf_fields::nb_detector_heads

Number of detector heads in the system.
Associated with 'number of detector heads' intf key.

Definition at line 348 of file code/include/image/oInterfileIO.hh.

◆ nb_dims

uint8_t Intf_fields::nb_dims

Total number of dimensions in the image data.
=3 by default. Computed from the other interfile keys

Definition at line 234 of file code/include/image/oInterfileIO.hh.

◆ nb_energy_windows

uint32_t Intf_fields::nb_energy_windows

Total number of energy windows.
Associated with 'number of energy windows' intf key.

Definition at line 351 of file code/include/image/oInterfileIO.hh.

◆ nb_format

string Intf_fields::nb_format

Type of each pixel/voxel data. Assumed to be similar for each slice.
Associated with 'number format' intf key.

Definition at line 231 of file code/include/image/oInterfileIO.hh.

◆ nb_img_in_frame_groups

uint32_t Intf_fields::nb_img_in_frame_groups

number of images in a frame.
Associated with 'number of images this frame group' intf key.

Definition at line 334 of file code/include/image/oInterfileIO.hh.

◆ nb_projections

uint16_t Intf_fields::nb_projections

Number of projection in acquired data.
Associated with 'number of projections' intf key.

Definition at line 354 of file code/include/image/oInterfileIO.hh.

◆ nb_resp_gates

uint16_t Intf_fields::nb_resp_gates

Number of respiratory gates in a dynamic series of images.
Associated with 'number of respiratory gates' intf key (CASToR-specific key).

Definition at line 262 of file code/include/image/oInterfileIO.hh.

◆ nb_time_frames

uint16_t Intf_fields::nb_time_frames

Number of time frames in a dynamic series of images.
Associated with 'number of time frames' intf key.

Definition at line 259 of file code/include/image/oInterfileIO.hh.

◆ nb_time_windows

uint32_t Intf_fields::nb_time_windows

Number of time windows.
This key is not used in the current implementation.
To define a number of gates, 'number of respiratory gates' and 'number of cardiac gates' must be used.
Associated with 'number of time windows' intf key.

Definition at line 324 of file code/include/image/oInterfileIO.hh.

◆ nb_total_imgs

uint32_t Intf_fields::nb_total_imgs

Total number of images in the associated data files.
Associated with 'total number of images' intf key.

Definition at line 268 of file code/include/image/oInterfileIO.hh.

◆ originating_system

string Intf_fields::originating_system

Name of the system as used and defined in CASTOR.
Associated to 'originating system' intf key.

Definition at line 222 of file code/include/image/oInterfileIO.hh.

◆ pat_orientation

int8_t Intf_fields::pat_orientation

slice orientation : head-in (=0, default), feet-in (=1).
Associated with 'patient orientation' intf key.
NOT used in the current implementation.

Definition at line 282 of file code/include/image/oInterfileIO.hh.

◆ pat_rotation

int8_t Intf_fields::pat_rotation

patient rotation : supine (=0, default), prone (=1).
Associated with 'patient rotation' intf key.
NOT used in the current implementation.

Definition at line 278 of file code/include/image/oInterfileIO.hh.

◆ path_to_image

string Intf_fields::path_to_image

Absolute or relative path to the image file. Will be converted to absolute path in the struct.
Associated with 'name of data file' intf key.

Definition at line 219 of file code/include/image/oInterfileIO.hh.

◆ process_status

string Intf_fields::process_status

"acquired" or "reconstructed" (default).
Associated with 'process status' intf key.

Definition at line 329 of file code/include/image/oInterfileIO.hh.

◆ projection_angles

string Intf_fields::projection_angles

All projection angles (for each view).
Associated with 'projection_angles' intf key.

Definition at line 368 of file code/include/image/oInterfileIO.hh.

◆ quant_units

FLTNB Intf_fields::quant_units

multiplicative calibration values. Initialized from 'quantification units'.
Associated with 'imagedata byte order' intf key.

Definition at line 289 of file code/include/image/oInterfileIO.hh.

◆ radius

string Intf_fields::radius

Distance between center of rotation and detector, for each view.
Associated with 'Center of rotation to detector distance' and 'Radius' intf keys.

Definition at line 371 of file code/include/image/oInterfileIO.hh.

◆ rescale_intercept

FLTNB Intf_fields::rescale_intercept

additive (intercept) calibration values.
Associated with 'uantification units' and 'rescale intercept' intf keys.

Definition at line 292 of file code/include/image/oInterfileIO.hh.

◆ rescale_slope

FLTNB Intf_fields::rescale_slope

multiplicative calibration values. Initialized from 'rescale slope'.
Associated with 'imagedata byte order' intf key.

Definition at line 286 of file code/include/image/oInterfileIO.hh.

◆ slice_orientation

int8_t Intf_fields::slice_orientation

slice orientation : transverse (=0, default), sagittal (=1), coronal (=2).
Associated with 'slice orientation' intf key.
NOT used in the current implementation.

Definition at line 274 of file code/include/image/oInterfileIO.hh.

◆ slice_thickness_mm

FLTNB Intf_fields::slice_thickness_mm

Read from the key 'slice thickness (pixels)'.
Conversely to the key name, the value is assumed to be given in mm.

Definition at line 249 of file code/include/image/oInterfileIO.hh.

◆ study_duration

FLTNB Intf_fields::study_duration

Acquisition duration.
Associated with 'study duration (sec)' intf key.

Definition at line 313 of file code/include/image/oInterfileIO.hh.

◆ vox_offset

FLTNB Intf_fields::vox_offset

Image position offset (x,y,z).
Associated with the 'first pixel offset (mm) [x]' intf key.

Definition at line 241 of file code/include/image/oInterfileIO.hh.

◆ vox_size

FLTNB Intf_fields::vox_size

Voxel dimensions in mm.
Associated with 'scaling factor (mm/pixel) [x]' intf key.

Definition at line 245 of file code/include/image/oInterfileIO.hh.


The documentation for this class was generated from the following file: