Skip to content

Commit b0ed0c4

Browse files
authored
17 Add load medical image notebook (#19)
* [DLMED] add load images notebook * [DLMED] update notebook content
1 parent 61eace4 commit b0ed0c4

File tree

4 files changed

+437
-1
lines changed

4 files changed

+437
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ This notebook compares the performance of `Dataset`, `CacheDataset` and `Persist
3131
#### [integrate_3rd_party_transforms](./integrate_3rd_party_transforms.ipynb)
3232
This tutorial shows how to integrate 3rd party transforms into MONAI program.
3333
Mainly shows transforms from BatchGenerator, TorchIO, Rising and ITK.
34+
#### [load_medical_imagesl](./load_medical_images.ipynb)
35+
This notebook introduces how to easily load different formats of medical images in MONAI and execute many additional operations.
3436
#### [mednist_GAN_tutorial](./mednist_GAN_tutorial.ipynb)
3537
This notebook illustrates the use of MONAI for training a network to generate images from a random input tensor.
3638
A simple GAN is employed to do with a separate Generator and Discriminator networks.

automatic_mixed_precision.ipynb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,25 @@
673673
"plt.legend(loc='best')\n",
674674
"plt.show()"
675675
]
676+
},
677+
{
678+
"cell_type": "markdown",
679+
"metadata": {},
680+
"source": [
681+
"## Cleanup data directory\n",
682+
"\n",
683+
"Remove directory if a temporary was used."
684+
]
685+
},
686+
{
687+
"cell_type": "code",
688+
"execution_count": null,
689+
"metadata": {},
690+
"outputs": [],
691+
"source": [
692+
"if directory is None:\n",
693+
" shutil.rmtree(root_dir)"
694+
]
676695
}
677696
],
678697
"metadata": {

brats_segmentation_3d.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@
727727
"name": "python",
728728
"nbconvert_exporter": "python",
729729
"pygments_lexer": "ipython3",
730-
"version": "3.6.9"
730+
"version": "3.6.10"
731731
}
732732
},
733733
"nbformat": 4,

0 commit comments

Comments
 (0)