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

mio_crdidbm(crdidbm) CRD Image Database mio_crdidbm(crdidbm)

NAME

mio_crdidbm - CRD Image Database I/O

DESCRIPTION

This class reads images that are in the CRD Image Database. This class delegates all unrecognized messages to an internal instance of crdidbm. The user must specify a hospital_pid, modality, system, patient, study, series and image. The image number is selected with the slice= message.

SUPERCLASS

mio_16bit

INSTANCE VARIABLES

none

MESSAGES

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

filename? returns the filename for the current slice.

pixel_size? returns the pixel width (x, y) in millimeters.

resolution? returns the resolution.

EXAMPLE

/* Illustrate the reader for images in the CRD Image Database */ /* In: scripts/crdidbm/mio_crdidbm.scr */

/* Connect to a server on the local host */ mio_crdidbm new: anidbm_mio host=local database=default initialize! print: database ;

/* List the available hospital pids */ anidbm_mio print: all_hospital_pids;

/* List the available modalities for the first hospital pid */ anidbm_mio hospital_pid_goto: 1 print: all_modalities;

/* Print the file prefix and resolution of the first image */ anidbm_mio print: prefix print: resolution;

/* Get a pointer to the data for slice 1 */ anidbm_mio print: data;

SEE ALSO

mio_16bit, mio, crdidbm


Please send comments and suggestions to
consult@rpi.edu