Download Segment - Technical Manual

Transcript
CHAPTER 15. UNIT IMPLEMENTATION
r = getechotime(self )
Returns the Echo Time.
r = getflipangle(self )
Returns the FlipAngle field.
images = getimages(self )
Return the images contained in the dicom file.
The return data will be a struct with the fields
’im’ - The pixeldata as NxM single matrix
’spacetimepos’ - the position of the image in space and time
’triggertime’ - The trigger time of the image
’instancenumber’ - The instance number of the image
’multiframenumber’ - The position in PixelData buffer of
the image.
images = getimagesframetime(self, nFrames)
Used by get images when numberofframes are greater
then one and the frame incremental pointer
is set to frametime.
images = getimagesmultirrtimeslice(self, nFrames)
Used by get images when numberofframes are greater
then one and the frame incremental pointer
is set to rr timeslice.
images = getimagesmultislice(self, nFrames)
Used by getimages as a default multiframe parser.
images = getimagessingleframe(self )
Used by get images when there is only
one frame.
r = getimagetype(self )
Returns the image type.
r = getinstancenumber(self )
Returns the instance number of the dicom.
line = getline(self )
Gets the line of the image. A line consist
of the orientation vectors and the projection
of the position onto the orientation vectors.
186