Zhiwei-Zhai / Linking-CNN-GCN

Artery vein separation
52 stars 10 forks source link

How these ind.npy, graph.npy, and label.npy related? #4

Open ShanyChen opened 4 years ago

ShanyChen commented 4 years ago

Hi, Zhiwei Zhai, Thank you for providing those code. I saw the data you provided in your code. I was wondering what's the relation between ind.npy and graph.npy? I found that there are only 1649 skeletons in your data, but the max number of ind.npy is 1653. How these ind.npy, graph.npy, and label.npy related?
looking forward to your reply. LiuQing Chen

Zhiwei-Zhai commented 4 years ago

@ShanyChen Hi LiuQing Chen, Sorry for the late response. The ind.npy, patch.npy, and label.npy are linked by index: For node i, ind[i] reprensents the its id, patch[i] represents its local 3D patches, and label[i] for its labels. With the its id (ind[i]), the connected neighbor nodes can be identified within graph.npy. More details can be found in ./utils/ArteryVein_data.py Best, Zhiwei Zhai