DOKK / manpages / debian 10 / dicom3tools / dcfile.1.en
DCFILE(1) DICOM PS3 - Describe DICOM file content DCFILE(1)

dcfile - ACR/NEMA DICOM PS3 ... DICOM PS3 - Describe DICOM file content

dcfile [ -b|brief ] [ -filename ]

dcfile reads the named dicom or acr-nema input file and describes the encoding method of the file, ie. what transfer syntax is in use, and whether or not a Part 10 style meta-information header is present.

The description goes to standard error.

The basic input switches are described in dcintro(1). Options specific to this program are:

Display a single line brief summary.
Show the name of the file supplied in the arguments; a hyphen will be reported if no filename was supplied.

 

 
% dcfile dicomdir.
Meta: UID 1.2.840.10008.1.2.1
Meta: Description "Explicit VR Little Endian"
Meta: ByteOrder Little
Meta: VR Explicit
Meta: Encapsulated No
Data: UID 1.2.840.10008.1.2.1
Data: Description "Explicit VR Little Endian"
Data: ByteOrder Little
Data: VR Explicit
Data: Encapsulated No
 
% dcfile expmeta.dc3
Meta: UID 1.2.840.10008.1.2.1
Meta: Description "Explicit VR Little Endian"
Meta: ByteOrder Little
Meta: VR Explicit
Meta: Encapsulated No
Data: UID 1.2.840.10008.1.2
Data: Description "Implicit VR Little Endian"
Data: ByteOrder Little
Data: VR Implicit
Data: Encapsulated No
 
% dcfile NM.1
Data: UID 1.2.840.10008.1.2
Data: Description "Implicit VR Little Endian"
Data: ByteOrder Little
Data: VR Implicit
Data: Encapsulated No
 
% dcfile test.spi
Data: ByteOrder Big
Data: VR Implicit
Data: Encapsulated No
 
% dcfile -b evrlewm.dcm
DICOM file, with metaheader, Explicit VR Little Endian
 
% dcfile -b evrlenom.dcm
DICOM file, no metaheader, Explicit VR Little Endian

 

file(1), dcdump(1), dcintro(1)

Copyright (c) 1993-2018, David A. Clunie DBA PixelMed Publishing. All rights reserved.

6 March 2014 DICOM PS3