From: jpr Date: Thu, 27 Oct 2005 17:25:04 +0000 (+0000) Subject: Now gdcm writes images with *also* Imager Pixel Spacing (0x0018,0x1164), X-Git-Tag: OpenJPEG.Version1.2~111 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3b2424c25301a49dc03fc708c093ca76b2cd6fc8;p=gdcm.git Now gdcm writes images with *also* Imager Pixel Spacing (0x0018,0x1164), that is the *legal* Dicom V3 place to store Pixel Spacing ! --- diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index e2326b53..40dd9d0b 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -4,8 +4,8 @@ Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2005/10/26 08:28:58 $ - Version: $Revision: 1.76 $ + Date: $Date: 2005/10/27 17:25:04 $ + Version: $Revision: 1.77 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1340,6 +1340,9 @@ void FileHelper::CheckMandatoryElements() << " for consistency purpose"); } + // Imager Pixel Spacing : defaulted to 1.0\1.0 + // --> This one is the *legal* one ! + CheckMandatoryEntry(0x0018,0x1164,"1.0\\1.0"); // Pixel Spacing : defaulted to 1.0\1.0 CheckMandatoryEntry(0x0028,0x0030,"1.0\\1.0");