Identify a DICOM Instance file name in 3D DICOM volume

Hi all,

How can I identify a the file name of a single slice in a loaded 3D DICOM volume? I have loaded a DICOM directory with several hundred slices, but after I have identified a single slice of interest, I would like to know which file name it is.

Thanks

1 Like

You can get the k (slice) index in the dataprobe and then look up the instanceUID in the attributes, which allows you to look up the filename in the database. (Use k instead of 0 in this example and filename will the the one you are looking for.

https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_access_tag_of_a_volume_loaded_from_DICOM.3F_For_example.2C_get_the_patient_position_stored_in_a_volume:

3 Likes

Hi Steve,

This is the exact answer I was looking for! Thank you

Vince