Scénario de test & Cas d'usage
Processing and analysis of biomedical images (e.g., DICOM).
Discover all actions of bioMedImageSimulation of a pre-loaded CT scan table containing a 3D image blob.
| 1 | |
| 2 | DATA casuser.ct_scans; |
| 3 | LENGTH _id_ $32 _path_ $255 _image_ binary; |
| 4 | _id_='patient_001'; |
| 5 | _path_='/mnt/ |
| 6 | data/scan01.dcm'; |
| 7 | _image_='000102030405060708090A0B0C0D0E0F'x; |
| 8 | /* Simulated binary blob representing 3D volume */ |
| 9 | RUN; |
| 10 |
| 1 | |
| 2 | PROC CAS; |
| 3 | TABLE.tableInfo / TABLE={name='ct_scans', caslib='casuser'}; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | |
| 2 | PROC CAS; |
| 3 | bioMedImage.buildSurface / images={TABLE={name='ct_scans', caslib='casuser'}} outputFaces={name='tumor_faces', replace=true} outputVertices={name='tumor_vertices', replace=true} intensities={1200}; |
| 4 | |
| 5 | RUN; |
| 6 |
The action should successfully identify the isosurface at intensity 1200. Two output tables 'tumor_faces' and 'tumor_vertices' are created, containing the geometric primitives required to render the 3D shape of the tumor.