Howto: Find DICOM Files of a particular Modality¶
Here is an example on how to find DICOM files of a particular modality (requires ''fgrep''):
dcmdump -M +fo +Fs +sd +r /share/dicom/images/ +P Modality -q | fgrep -B1 "[OP]"
In this case, DICOM images with a modality value of "OP" (Ophthalmic Photography) are searched.
Note¶
Please note that some of the above used dcmdump
options are not available for DCMTK releases prior to 3.6.0.