When using ITK with Python, how can you get the DICOM Tags of a DICOM directory ?
It seems that itk.MetaDataObject.GetMetaDataObjectValue() is missing.
dicomReader = itk.ImageSeriesReader[ImageType].New()
dicomReader.SetFileNames(fileNames)
dicomReader.MetaDataDictionaryArrayUpdateOn()
dicomReader.Update()
tag = dicomReader.GetMetaDataDictionaryArray()[0].Get('0008|0060')
# tag.GetMetaDataObjectValue() does not exist
Is it a bug or is there another way to get the DICOM tags ?