dgobbi / vtk-dicom

A set of classes for using DICOM in VTK.
BSD 3-Clause "New" or "Revised" License
259 stars 94 forks source link

Dicom Dir folder adress #198

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi.

Is it possible to obtain the dicom dir folder as an adittional column in dicomtcsv?

Regards

dgobbi commented 4 years ago

With -k ReferencedFileID, dicomtocsv will give the path to the first file in the series, but that's the closest it will come to giving the folder. You can use --default to use the default dicomtocsv query and add ReferencedFileID at the end:

dicomtocsv --default -k ReferencedFileID