dcmconv batch convert
Moderator: Moderator Team
dcmconv batch convert
is there a possibility to convert from any (unknown transfer syntax) dicom file into a specific format (VR implicit,Compression none)? For example for batch converting: any inputfile -> specific outputfile.
Thanks in advance
Thanks in advance
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
dcmconv allows you to convert any uncompressed transfer syntax (i.e. explicit VR little endian, explicit VR big endian and implicit VR little endian) as well as deflated transfer syntax into a particular uncompressed or deflated transfer syntax. This conversion works reliably as long as the DICOM files are stored according to part 10 (i.e. have a meta header). Otherwise dcmconv tries to recognize the input transfer syntax automatically.
*push* :)
The inputfile should look like the "howitshouldbe" file.
-----------------------------------------------------------------------------------Filename Byte Order Value Representation Compression
-----------------------------------------------------------------------------------
"howitshouldbe" little endian implicit none
"input" little endian explicit JPEG lossless
-----------------------------------------------------------------------------------
dcmconv.exe -f +ti input output
DcmElement: Unknown Tag & Data(4956,3346) larger (1229729838) that remaining bytes in file
Error: Invalid Stream: reading file: input
-----------------------------------------------------------------------------------
dcmconv.exe -f -ti +ti input output
DcmElement: Unknown Tag & Data(4956,3346) larger (1229729838) that remaining bytes in file
Error: Invalid Stream: reading file: input
-----------------------------------------------------------------------------------Filename Byte Order Value Representation Compression
-----------------------------------------------------------------------------------
"howitshouldbe" little endian implicit none
"input" little endian explicit JPEG lossless
-----------------------------------------------------------------------------------
dcmconv.exe -f +ti input output
DcmElement: Unknown Tag & Data(4956,3346) larger (1229729838) that remaining bytes in file
Error: Invalid Stream: reading file: input
-----------------------------------------------------------------------------------
dcmconv.exe -f -ti +ti input output
DcmElement: Unknown Tag & Data(4956,3346) larger (1229729838) that remaining bytes in file
Error: Invalid Stream: reading file: input
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
E.g. Efilm 1.53
For example we have a JPEG lossless compressed file, to open it in Efilm 1.53 it must have the following format "little endian implicit".
It is possible to convert it with dcmconv OR do you have another way to do this?
It is possible to convert it with dcmconv OR do you have another way to do this?
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Use dcmdjpeg.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest