<<<<<<<<<<<<<<<<<

mio_pet4096(mio) Volume I/O mio_pet4096(mio)

NAME

mio_pet4096 - GEMS 4096 PET I/O

DESCRIPTION

This class reads images that are in the GE Medical Systems 4096 PET format (types 5 and 6 only).

SUPERCLASS

mio

INSTANCE VARIABLES

none

MESSAGES (volume specific)

low_level_read returns the data for the current prefix and slice. Internal.

filename? returns the filename for the data. Note that, for 4096 PET, all slices are kept in one file. Hence this message will return the prefix, which is also the name of the file.

filename= functions the same as prefix= for this class.

resolution? returns the resolution.

max? returns the maximum intensity in the PET volume given. Note this value may be different from that for an individual slice.

min? returns the minimum intensity in the PET volume given. Note this value may be different from that for an individual slice.

writeout! writes out the current slice in sv_ip_sun format (16bit/pixel row major) into a file named prefix.slicenumber. Note the slice number printed out via print:slice starts from 1. Also, make sure to send read! after changing the slice number via slice= since the slice will have to be read in before writing out.

scan_info! prints out scan (i.e., image) related information for the given input data.

study_info! prints out information on various study specific settings for the given input data.

equipment_info! prints out information on the equipment that was used to get the input data.

detector_info! prints out information on detector setting for the study.

gating_info! prints out information on gating set-up for the study.

hospital_info! prints out hospital related information for the given input data.

patient_info! prints out patient related information for the given input data.

MESSAGES (slice specific)

Make sure to quote the messages listed below due to case sensitivity.

Stot? returns the total number of counts for the current slice.

Cal? returns the slice calibration factor for the current slice.

Mag? returns the image magnification number for the current slice.

Spos? returns the slice position.

Sca? returns the scatter number for the current slice.

Ran? returns randoms for the current slice.

Dtc? returns the dead time correction factor for the current slice.

Offs? returns the offset for the current slice.

NOTE

The message compute_number_slices! is a no-op for this class, since there is only one file for all the pet slices. All other messages implemented in its super classes are available.

EXAMPLES

/* read slice number 10 from a 4096 PET set */

mio_pet4096 new: mio_name prefix= "/home/cgsp/u1/changhs/images/duke.mr.pet2/pet/pcr.pet.1.orig" slice= 10 read! ;

/* * read slice number 10 from a 4096 PET set * and display it using the sv_ip_display object */

mio_pet4096 new: a prefix="pet.im"; mio_to_sv_ip new: c data_in=`a'; sv_ip_rescale new: r src_min=0 src_max=[a max?] data_in=`c'; sv_ip_display new: d data_in=`r' render!;

SEE ALSO

mio_16bit, mio


Please send comments and suggestions to
consult@rpi.edu