Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CT-SEG to Datagraph #91

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Add CT-SEG to Datagraph #91

wants to merge 8 commits into from

Conversation

uyousafzai54
Copy link
Collaborator

@uyousafzai54 uyousafzai54 commented Jun 22, 2023

Added code to datagraph.py to create edge_type 7 (SEG -> CT) and added support to query them. Currently working on allowing SEGs to be converted to NIFTIs.

Needs manual testing before automated tests are added.

@uyousafzai54 uyousafzai54 self-assigned this Jun 22, 2023
@uyousafzai54
Copy link
Collaborator Author

uyousafzai54 commented Jun 27, 2023

Manual testing seems to work (dataset.csv generated file shown below). Will determine if an automated test can be added.

@uyousafzai54
Copy link
Collaborator Author

FIELD1 study patient_ID series_CT input_folder_CT series_SEG_CT input_folder_SEG_CT DataCollectionDiameter SliceThickness PatientPosition Manufacturer ScanOptions RescaleType RescaleSlope ManufacturerModelName PixelSize KVP XRayTubeCurrent ReconstructionDiameter ConvolutionKernel size_CT output_folder_CT output_folder_SEG_CT Modalities numRTSTRUCTs
0_R01-004 1.3.6.1.4.1.14519.5.2.1.4334.1501.208187082474832682405271850372 R01-004 1.3.6.1.4.1.14519.5.2.1.4334.1501.891418286389326370663529028512 NSCLC Radiogenomics/R01-004/09-09-1991-NA-CT CHEST WO-50372/4.000000-THIN LUNG WINDOW-28512 1.3.6.1.4.1.14519.5.2.1.4334.1501.120630046496246362953027314916 NSCLC Radiogenomics/R01-004/09-09-1991-NA-CT CHEST WO-50372/1000.000000-3D Slicer segmentation result-14916 500.0 1.25 FFS GE MEDICAL SYSTEMS HELICAL MODE HU 1.0 Discovery CT750 HD ('0.828125', '0.828125', '1.25') 120.0 610.0 424.0 LUNG (424, 424, 276) 0_R01-004/CT 0_R01-004/SEG_CT ['CT', 'SEG'] 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant