gustavocac / dcmtag2table

Code to generate a Pandas DataFrame with a custom list DICOM tags from a folder containing DICOM files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dcmtag2table

Code to generate a Pandas DataFrame with a custom list DICOM tags from a folder containing DICOM files

Usage

from dcmtag2table import dcmtag2table

list_of_tags = [ "PatientID", "StudyInstanceUID", "SeriesInstanceUID", "SOPInstanceUID" ]

folder = "/media/felipe/easystore/Datasets/RSNA2019/mdai/epm/"

df = dcmtag2table(folder, list_of_tags)

About

Code to generate a Pandas DataFrame with a custom list DICOM tags from a folder containing DICOM files

License:Apache License 2.0


Languages

Language:Jupyter Notebook 76.2%Language:Python 23.8%