
Generate MONAI MAISI 3D Synthetic CT and Multi-Organ Label Masks
Source:R/maisi-synthetic.R
ai_generate_maisi.RdGenerates paired 3D synthetic CT DICOM slices (ImageType = "DERIVED\\SECONDARY\\SYNTHETIC") and multi-organ integer segmentation masks
along with a provenance manifest (maisi_manifest.json). Supports local
deterministic "phantom" synthesis or an external MONAI MAISI "http"
inference endpoint.
Arguments
- out_dir
Output directory for synthetic DICOM series and manifest.
- anatomy_list
Character vector of target organ names (e.g.
c("liver", "spleen", "left_kidney", "right_kidney")).- dims
Integer vector
c(rows, cols, slices)(defaultc(32L, 32L, 16L)).- spacing
Numeric vector
c(dx, dy, dz)in mm.- mode
Synthesis mode:
"phantom"(pure-R offline) or"http"(MAISI REST service).- endpoint
Optional MAISI HTTP endpoint URL when
mode = "http".