Scénario de test & Cas d'usage
Processing and analysis of biomedical images (e.g., DICOM).
Discover all actions of bioMedImageCreation of a synthetic dataset representing a heart scan with noise.
| 1 | |
| 2 | DATA casuser.heart_scan_noisy; |
| 3 | LENGTH _id_ $32 _image_ binary; |
| 4 | _id_='heart_study_01'; |
| 5 | _image_='FF00FF00AA55AA55'x; |
| 6 | /* Simulated noisy binary |
| 7 | data */ |
| 8 | RUN; |
| 9 |
| 1 | |
| 2 | PROC CAS; |
| 3 | bioMedImage.buildSurface / images={TABLE={name='heart_scan_noisy', caslib='casuser'}} outputFaces={name='smooth_heart_faces', replace=true} outputVertices={name='smooth_heart_vertices', replace=true} thresholds={{low=800, high=1500}} smoothing={iterations=10, relaxationFactor=0.8}; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | |
| 2 | PROC CAS; |
| 3 | SIMPLE.numRows / TABLE={name='smooth_heart_vertices'}; |
| 4 | SIMPLE.numRows / TABLE={name='smooth_heart_faces'}; |
| 5 | |
| 6 | RUN; |
| 7 |
The action creates a 3D surface covering the density range 800-1500. The number of vertices should be consistent with a simplified mesh due to the high smoothing iterations (10) and relaxation factor (0.8), effectively reducing noise artifacts.