I would like to get a filename/path from a particular slice of a dicom image. For example I have loaded a DICOM file with several hundred slices and I would like to get the filename/path of a particular slice.
I have went through this link:
And was able to develop a python script that allowed me to get a filename of a particular slice, but now I want to do it in C++ as well. However, many of the functionalities and modules available in python are not available in C++.
Currently, I am able to get the VTKMRMLvolume node, but was wondering where I can go from there.
Any help is appreciated!