From 7c57b32a65b10b1ade7d3fc09b0fcd246ef1dffa Mon Sep 17 00:00:00 2001 From: 2wenty1ne Date: Fri, 1 Nov 2024 15:11:23 +0100 Subject: [PATCH] added lung seperation function --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index f94aa1e..e0dae08 100644 --- a/main.py +++ b/main.py @@ -15,3 +15,6 @@ print(f"Size: \n{xSi = }\n{ySi = }\n{zSi = }\n") print(f"2) Das Bild hat in den drei Raumrichtungen {xSi * ySi * zSi} Voxel. \n") print(f"3) Die Methode GetSize() gibt den Typ tuple zurück. \n") +lungs = stik.ConnectedThreshold(img, seedList= (120,140,100), lower=-1100, upper=-200) + +