Code: Select all
img2dcm -df SC.dump -sc t2-00.jpg t2-00.dcm
Code: Select all
W: DcmItem: Length of element (230a,2323) is odd
E: DcmElement: Unknown Tag & Data (230a,2323) larger (589505315) than remaining bytes in file
F: Error converting file: I/O suspension or premature end of stream
Code: Select all
root@dcs:/home/vroot/test# exiftool t2-00.jpg
ExifTool Version Number : 9.46
File Name : t2-00.jpg
Directory : .
File Size : 366 kB
File Modification Date/Time : 2015:07:31 16:44:41-07:00
File Access Date/Time : 2015:07:31 16:45:59-07:00
File Inode Change Date/Time : 2015:07:31 16:44:41-07:00
File Permissions : rw-rw-r--
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : inches
X Resolution : 600
Y Resolution : 600
Profile CMM Type :
Profile Version : 2.1.0
Profile Class : Display Device Profile
Color Space Data : RGB
Profile Connection Space : XYZ
Profile Date Time : 0000:00:00 00:00:00
Profile File Signature : acsp
Primary Platform : Apple Computer Inc.
CMM Flags : Not Embedded, Independent
Device Manufacturer :
Device Model :
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Perceptual
Connection Space Illuminant : 0.96419 1 0.82489
Profile Creator :
Profile ID : 0
Profile Description : Artifex Software sRGB ICC Profile
Profile Copyright : Copyright Artifex Software 2011
Media White Point : 0.95045 1 1.08905
Media Black Point : 0 0 0
Red Matrix Column : 0.43607 0.22249 0.01392
Green Matrix Column : 0.38515 0.71687 0.09708
Blue Matrix Column : 0.14307 0.06061 0.7141
Red Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
Green Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
Blue Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
Image Width : 5100
Image Height : 6600
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 5100x6600
I even tried the VLP.dump just in case it was a secondary capture issue as opposed to visible light, but I'm getting the exact same issue.
I'm running on Ubuntu 14.04.2LTS and installed DCMTK using
Code: Select all
apt-get install dcmtk
Am I doing something wrong here?