Question

Does anyone knows how to get all tags values using Fo-Dicom?

I'm trying to display all tags in a window at once but I can't find a method to traverse through every tag!

Thanks,

Was it helpful?

Solution

To traverse a DICOM dataset in fo-dicom, there is an interface IDicomDatasetWalker and a helper class DicomDatasetWalker, both defined in this source file. You should create your custom dataset walker by implementing the IDicomDatasetWalker interface.

A good starter example of such an implementation is given in the DICOM Dump application, as a private class inside the MainForm class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top