Reputation: 759
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,
Upvotes: 2
Views: 4547
Reputation: 15971
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.
Upvotes: 4