Skip to content

Commit

Permalink
17 Add load medical image notebook (#19)
Browse files Browse the repository at this point in the history
* [DLMED] add load images notebook

* [DLMED] update notebook content
  • Loading branch information
Nic-Ma authored Sep 7, 2020
1 parent 61eace4 commit b0ed0c4
Show file tree
Hide file tree
Showing 4 changed files with 437 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ This notebook compares the performance of `Dataset`, `CacheDataset` and `Persist
#### [integrate_3rd_party_transforms](./integrate_3rd_party_transforms.ipynb)
This tutorial shows how to integrate 3rd party transforms into MONAI program.
Mainly shows transforms from BatchGenerator, TorchIO, Rising and ITK.
#### [load_medical_imagesl](./load_medical_images.ipynb)
This notebook introduces how to easily load different formats of medical images in MONAI and execute many additional operations.
#### [mednist_GAN_tutorial](./mednist_GAN_tutorial.ipynb)
This notebook illustrates the use of MONAI for training a network to generate images from a random input tensor.
A simple GAN is employed to do with a separate Generator and Discriminator networks.
Expand Down
19 changes: 19 additions & 0 deletions automatic_mixed_precision.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,25 @@
"plt.legend(loc='best')\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Cleanup data directory\n",
"\n",
"Remove directory if a temporary was used."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if directory is None:\n",
" shutil.rmtree(root_dir)"
]
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion brats_segmentation_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.9"
"version": "3.6.10"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit b0ed0c4

Please sign in to comment.