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.

 
dcmtk/howto/findfiles.txt · Last modified: 2011/05/10 14:11 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki