Reads ACR NEMA file format, type SPI into AVS field type. The resulting field is a uniform scalar 2D field.
ui_parent | filename | The port is connected to the user interface object by default when it is instanced. |
field | Unifrom Scalar Field this is a 2D field |
out_obj | output renderable object |
The read ACR-NEMA module reads ACR-NEMA SPI data files and converts them into AVS field format. SPI is a standard based on the old ACR/NEMA standard used by Siemens and Philips. SPI make use of ACR/NEMA data elements and groups. SPI store the integer in little endian format (Least Significant before Most Significant).
filename
This is connected to the user interface object. The user interface passes a filename and path as a string to the read_acr_nema module This module can then read the file so it can be mapped into an AVS/Express field.
field
The output field is a 2D uniform scalar field.
out_obj
The output field (2D uniform scalar field) as a renderable object.
The User Macro Read_acr_nema combines the Functional Module read_acr_nema with the UI Macro UI_acr_nema, via the use of the uniform scalar field object that maps the output of read_acr_nema into a 2D uniform scalar field. The result is a usable macro in the visualization library.
An example application Read_ACR_NEMA_Eg is provided, which reads in the provided acr nema file. Details of this file are given below.
image.acr-nema:- this is a test image in ACR-NEAM SPI from Philips MR
This image displays a section of a Pig's Heart
iac_proj/read_acr/acr_macs.v contains the UI Macro UI_acr_nema, the functional Macro Read_acr_nema and the Example Application Read_ACR_NEMA Eg.
The ACR_NEMA_Macs library inherits its process. As this library contains no procedural code, the process is not important.
Andrea Marchetti Istituto di Elaborazione dell'Informazione del CNR Via S. Maria, 46 - 56100 Pisa Ph. +39 50 593420 Fax +39 50 593503 e-mail andrea@www-sei.iei.pi.cnr.it www http://www-sei.iei.pi.cnr.it/~andrea/home.html
May. 12, 1995
J. Leng April 1998
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester UK M13 9PL
read_acr_nema