[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 83660e7d48a4f7392cbdfa3de3cb9b8903
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2015-10-28 14:59:54
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via 83660e7d48a4f7392cbdfa3de3cb9b8903f7894d (commit)
from 9f3df4f242d78a677678eb609d5ff76e9e49f271 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/83660e7d48a4f7392cbdfa3de3cb9b8903f7894d/
commit 83660e7d48a4f7392cbdfa3de3cb9b8903f7894d
Author: Mathieu Malaterre <mat...@gm...>
Date: Wed Oct 28 15:59:40 2015 +0100
Add Frame Increment Pointer
diff --git a/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx b/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
index 863bc41..39709dd 100644
--- a/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
+++ b/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
@@ -1476,6 +1476,7 @@ void ImageHelper::SetSpacingValue(DataSet & ds, const std::vector<double> & spac
DataSet &subds2 = item2.GetNestedDataSet();
// <entry group="0028" element="9110" vr="SQ" vm="1" name="Pixel Measures Sequence"/>
+ // do not set a slice thickness since GDCM always recompute it from the IOP/IPP
//Attribute<0x0018,0x0050> at2;
//at2.SetValue( spacing[2] );
Attribute<0x0028,0x0030> at1;
@@ -1774,6 +1775,17 @@ void ImageHelper::SetOriginValue(DataSet & ds, const Image & image)
SetDataElementInSQAsItemNumber(ds, ipp.GetAsDataElement(), tfgs, i+1);
}
+ // C.7.6.6.1.2 Frame Increment Pointer
+ // (0028,0009) AT (0018,2005) # 4,1-n Frame Increment Pointer
+ if( ms == MediaStorage::MultiframeGrayscaleWordSecondaryCaptureImageStorage
+ || ms == MediaStorage::MultiframeGrayscaleByteSecondaryCaptureImageStorage )
+ {
+ Attribute<0x0028,0x0009> fip;
+ fip.SetNumberOfValues( 1 );
+ fip.SetValue( tfgs );
+ ds.Replace( fip.GetAsDataElement() );
+ }
+
return;
}
-----------------------------------------------------------------------
Summary of changes:
.../MediaStorageAndFileFormat/gdcmImageHelper.cxx | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|