Skip to content

Commit eb3974e

Browse files
committed
volumetry
Signed-off-by: neuronflow <florian.kofler@tum.de>
1 parent 5ead40a commit eb3974e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

AURORA/tutorial.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,21 +401,21 @@
401401
},
402402
{
403403
"cell_type": "code",
404-
"execution_count": 12,
404+
"execution_count": 14,
405405
"metadata": {},
406406
"outputs": [
407407
{
408408
"name": "stdout",
409409
"output_type": "stream",
410410
"text": [
411-
"non-tumor voxels: 8834339\n"
411+
"metasis volume (including edema) 93661\n"
412412
]
413413
}
414414
],
415415
"source": [
416-
"# now we can use the capabilities of numpy without having to re-read a nifti file, for example we could compute the number of non-tumor voxels as follows:\n",
417-
"non_tumor_voxels = results[\"segmentation\"] == 0\n",
418-
"print(\"non-tumor voxels:\", np.count_nonzero(non_tumor_voxels))"
416+
"# now we can use the capabilities of numpy without having to re-read a nifti file, for example we could compute the number of metastasis voxels (the volume of the metastasis) as follows:\n",
417+
"whole_metastasis_voxels = results[\"segmentation\"] > 0\n",
418+
"print(\"metasis volume (including edema)\", np.count_nonzero(whole_metastasis_voxels))"
419419
]
420420
}
421421
],

0 commit comments

Comments
 (0)