Question

I'm making a Dicom tool using Dcmtk C++ library. I'm trying to make the tool compatible with different types of Dicom images. As part of that, I'm looking for Ultrasound Dicom images with Planar Configuration 1, right I only have with Planar Configuration 0. Could any one say me where I can get some free US Dicom images with Planar Configuration 1?

Thanks.

Was it helpful?

Solution 2

This issue has been covered in some open source projects, like dwv.

You can find the Dicom US image (with planar configuration = 1) used in this sample here.

OTHER TIPS

You could use GDCM to directly use such file, or create a new one:

$ gdcminfo gdcmData/US-RGB-8-epicard.dcm
MediaStorage is 1.2.840.10008.5.1.4.1.1.6.1 [Ultrasound Image Storage]
TransferSyntax is 1.2.840.10008.1.2.2 [Explicit VR Big Endian]
NumberOfDimensions: 2
Dimensions: (640,480,1)
Origin: (0,0,0)
Spacing: (1,1,1)
DirectionCosines: (1,0,0,0,1,0)
Rescale Intercept/Slope: (0,1)
SamplesPerPixel    :3
BitsAllocated      :8
BitsStored         :8
HighBit            :7
PixelRepresentation:0
ScalarType found   :UINT8
PhotometricInterpretation: RGB 
PlanarConfiguration: 1
TransferSyntax: 1.2.840.10008.1.2.2
Orientation Label: AXIAL

Which fits your need, you can even convert it back to Planar Configuration = 0:

$ gdcmconv --raw --planar-configuration 0 gdcmData/US-RGB-8-epicard.dcm change.dcm
$ gdcminfo change.dcm
MediaStorage is 1.2.840.10008.5.1.4.1.1.6.1 [Ultrasound Image Storage]
TransferSyntax is 1.2.840.10008.1.2.1 [Explicit VR Little Endian]
NumberOfDimensions: 2
Dimensions: (640,480,1)
Origin: (0,0,0)
Spacing: (1,1,1)
DirectionCosines: (1,0,0,0,1,0)
Rescale Intercept/Slope: (0,1)
SamplesPerPixel    :3
BitsAllocated      :8
BitsStored         :8
HighBit            :7
PixelRepresentation:0
ScalarType found   :UINT8
PhotometricInterpretation: RGB 
PlanarConfiguration: 0
TransferSyntax: 1.2.840.10008.1.2.1
Orientation Label: AXIAL
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top