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.