|
23 | 23 | "# From 3D Segmentation to USD: A Complete Workflow for Hierarchical Mesh Conversion, USD Export, and NVIDIA Omniverse Integration\n", |
24 | 24 | "In this tutorial, we’ll cover:\n", |
25 | 25 | "\n", |
26 | | - "- **Download the Model Bundle**: First, we download a pre-trained model bundle from the MONAI Model Zoo. This model bundle contains the necessary models and configurations for medical image analysis, which can accelerate our development process.\n", |
| 26 | + "- **Download the MONAI Bundle**: First, we download a pre-trained model bundle from the MONAI Model Zoo. This model bundle contains the necessary models and configurations for medical image analysis, which can accelerate our development process.\n", |
27 | 27 | "\n", |
28 | 28 | "- **Run the Inference Workflow of the Bundle**: Using the downloaded model bundle, we run its built-in inference workflow to automatically segment or analyze the input medical imaging data and obtain the desired results.\n", |
29 | 29 | "\n", |
|
56 | 56 | "!python -c \"import pxr\" || pip install -q usd-core\n", |
57 | 57 | "!python -c \"import trimesh\" || pip install -q trimesh\n", |
58 | 58 | "!apt update\n", |
59 | | - "!apt install -y libgl1-mesa-glx" |
| 59 | + "!apt install -y libgl1-mesa-glx\n", |
| 60 | + "!apt install libxrender1" |
60 | 61 | ] |
61 | 62 | }, |
62 | 63 | { |
|
164 | 165 | "source": [ |
165 | 166 | "## Generate segmentation from MAISI\n", |
166 | 167 | "\n", |
167 | | - "### Download the Model Bundle\n", |
| 168 | + "### Download the MONAI Bundle\n", |
168 | 169 | "In this section, we download the MAISI bundle from monai model-zoo." |
169 | 170 | ] |
170 | 171 | }, |
|
280 | 281 | "We define a function `nii_to_mesh` to handle the conversion of NIfTI files to OBJ files. The workflow is as follows:\n", |
281 | 282 | "\n", |
282 | 283 | "- **Preprocessing**:\n", |
283 | | - "The function uses a series of transformations (`Compose`, `LoadImaged`, `BorderPadd`, and `SqueezeDimd`) to load and preprocess the input NIfTI file, ensuring it is ready for segmentation.\n", |
| 284 | + "The function uses a series of transformations (`LoadImaged`, `BorderPadd`, and `SqueezeDimd`) to load and preprocess the input NIfTI file, ensuring it is ready for convertion.\n", |
284 | 285 | "\n", |
285 | 286 | "- **Organ Label Mapping**:\n", |
286 | 287 | "It iterates over a dictionary mapping organ names to their respective label values. For each organ:\n", |
|
479 | 480 | "cell_type": "markdown", |
480 | 481 | "metadata": {}, |
481 | 482 | "source": [ |
482 | | - "## Convert 3D model contain all organs to OpenUSD format\n", |
| 483 | + "## Convert 3D model contain all organs to USD format\n", |
483 | 484 | "\n", |
484 | 485 | "[Universal Scene Description (OpenUSD)](https://openusd.org/release/index.html) is an extensible ecosystem of file formats, compositors, renderers, and other plugins for comprehensive 3D scene description." |
485 | 486 | ] |
|
0 commit comments