[Insight-users] GDCM 1.2 update status.

Martin Kavec kavec at messi.uku.fi
Mon Feb 6 06:25:34 EST 2006


Hi Mathieu,

I tested my data, both 3D and 4D with DicomSeriesReadImageWrite2. The 3D data 
are read, as before, without any problems:

////////////////////////////////////////
The directory:

MR/3DT1_VisAtt_SENSE

Contains the following DICOM Series:

1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318330937414.7014.0256256183309.34


Now reading series:

1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318330937414.7014.0256256183309.34


Writing the image as

ImageRegion (0x80f95d0)
  Dimension: 4
  Index: [0, 0, 0, 0]
  Size: [256, 256, 35, 1]

bla.hdr
///////////////////////////////////////////

Note that even if I defined the image Dimension = 4; the Size in the 4-th 
dimension in correct.

To sort my time series based on the Acquisition time, I changed the tag in 
Restriction to  nameGenerator->AddRestriction("0008|0032" ); I did not get 
any warnings not errors related to duplicate image position, so the sorting 
seems to work. However, the output is not what one would expect:

/////////////////////////////////////////////////////////////
The directory:

MR/fMRI_HR_SNS_SENSE

Contains the following DICOM Series:

1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183727.18
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183730.19
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183733.20
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183736.21
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183739.22
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183742.23
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183745.24
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183748.26
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183751.27
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183754.28
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183757.29
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183800.30
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183803.31
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183806.33
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183809.34
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183812.35
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183815.36
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183818.37
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183821.39
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183824.40
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183827.41
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183830.42
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183833.43
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183836.44
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183839.46
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183842.47
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183845.48
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183848.49
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183851.50
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183854.51
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183857.53
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183900.54
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183903.55
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183906.56
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183909.57
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183912.59
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183915.60
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183918.61
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183921.62
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183924.63
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183927.64
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183930.66
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183933.67
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183936.68
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183939.69
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183942.70
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183945.71
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183948.73
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183951.74
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183954.75
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183957.76
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184000.77
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184003.78
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184006.80
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184009.81
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184012.82
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184015.83
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184018.84
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184021.85
1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128184024.87


Now reading series:

1.3.46.670589.11.0.0.11.4.2.0.17052.5.3260.2006011318372721510.9014.0128128183727.18


Writing the image as

ImageRegion (0x80f95d0)
  Dimension: 4
  Index: [0, 0, 0, 0]
  Size: [128, 128, 24, 1]

bla.hdr
////////////////////////////////////////////////////

The output image is only one single 3D volume [128, 128, 24, 1], instead of 4D 
[128, 128, 24, 60]. Also it seems that the reader reads only the first time 
point.

Cheers,

Martin


More information about the Insight-users mailing list