سؤال

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,

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top