CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 240 of file oInterfileIO.hh.

Member Data Documentation

bool Intf_fields::bed_position_provided

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

Definition at line 277 of file oInterfileIO.hh.

FLTNB Intf_fields::bed_relative_position

Number of bed positions Bed relative position in mm

Definition at line 276 of file oInterfileIO.hh.

uint32_t Intf_fields::cmtx_size[3]

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

Definition at line 318 of file oInterfileIO.hh.

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 279 of file oInterfileIO.hh.

FLTNB Intf_fields::cvox_offset[3]

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

Definition at line 324 of file oInterfileIO.hh.

FLTNB Intf_fields::cvox_size[3]

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

Definition at line 321 of file oInterfileIO.hh.

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 251 of file oInterfileIO.hh.

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 331 of file oInterfileIO.hh.

string Intf_fields::direction_rotation

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

Definition at line 384 of file oInterfileIO.hh.

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 248 of file oInterfileIO.hh.

FLTNB Intf_fields::extent_rotation

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

Definition at line 381 of file oInterfileIO.hh.

FLTNB Intf_fields::first_angle

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

Definition at line 388 of file oInterfileIO.hh.

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 367 of file oInterfileIO.hh.

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 339 of file oInterfileIO.hh.

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 343 of file oInterfileIO.hh.

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 328 of file oInterfileIO.hh.

uint32_t Intf_fields::mtx_size[7]

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 260 of file oInterfileIO.hh.

int Intf_fields::nb_bed_positions

Definition at line 275 of file oInterfileIO.hh.

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 294 of file oInterfileIO.hh.

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 288 of file oInterfileIO.hh.

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 371 of file oInterfileIO.hh.

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 257 of file oInterfileIO.hh.

uint32_t Intf_fields::nb_energy_windows

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

Definition at line 374 of file oInterfileIO.hh.

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 254 of file oInterfileIO.hh.

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 357 of file oInterfileIO.hh.

uint16_t Intf_fields::nb_projections

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

Definition at line 377 of file oInterfileIO.hh.

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 285 of file oInterfileIO.hh.

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 282 of file oInterfileIO.hh.

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 347 of file oInterfileIO.hh.

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 291 of file oInterfileIO.hh.

string Intf_fields::originating_system

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

Definition at line 245 of file oInterfileIO.hh.

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 305 of file oInterfileIO.hh.

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 301 of file oInterfileIO.hh.

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 242 of file oInterfileIO.hh.

string Intf_fields::process_status

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

Definition at line 352 of file oInterfileIO.hh.

string Intf_fields::projection_angles

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

Definition at line 391 of file oInterfileIO.hh.

FLTNB Intf_fields::quant_units

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

Definition at line 312 of file oInterfileIO.hh.

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 394 of file oInterfileIO.hh.

FLTNB Intf_fields::rescale_intercept

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

Definition at line 315 of file oInterfileIO.hh.

FLTNB Intf_fields::rescale_slope

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

Definition at line 309 of file oInterfileIO.hh.

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 297 of file oInterfileIO.hh.

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 272 of file oInterfileIO.hh.

FLTNB Intf_fields::study_duration

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

Definition at line 336 of file oInterfileIO.hh.

FLTNB Intf_fields::vox_offset[3]

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

Definition at line 264 of file oInterfileIO.hh.

FLTNB Intf_fields::vox_size[3]

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

Definition at line 268 of file oInterfileIO.hh.


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