Skip to content

mjirik/vebase

Repository files navigation

Build Status Coverage Status PyPI version

vebase

Vessel Basin Segmentation

import vebase.livseg

p1 = "D:/liver_datasets_outputs/wokrin/1/MASKS_DICOM/liver/"
p2 = "D:/liver_datasets_outputs/wokrin/1/MASKS_DICOM/portalvein/"
p1_i = "D:/liver_datasets_outputs/wokrin/1/MASKS_DICOM/liver/image_1"
p2_i = "D:/liver_datasets_outputs/wokrin/1/MASKS_DICOM/liver/image_2"

# load ncsry data
l_data = vebase.livseg.load_vdata(p2,p1,p1_i,p2_i)
# build volumes
voda_ = vebase.livseg.vebavoda_sk(l_data)
# choose important nodes of portal vein
tree_red = vebase.livseg.tree_reduction(voda_[0],voda_[1], voda_[2],l_data[3]) 

print(tree_red)

About

Blood Vessel Basin segmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages