[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 858143e454aacb93dab379ed60272c075e
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2020-06-25 09:28:17
|
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 858143e454aacb93dab379ed60272c075ed3b637 (commit)
via c08b87bbd9f68f5764ac37259f719d9168065c43 (commit)
from 2b606cf31d1d849732f121f5ba5ceeefd88966c2 (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/858143e454aacb93dab379ed60272c075ed3b637/
commit 858143e454aacb93dab379ed60272c075ed3b637
Author: Mathieu Malaterre <mat...@gm...>
Date: Thu Jun 25 11:27:38 2020 +0200
Fix bug #498
diff --git a/Testing/Source/MediaStorageAndFileFormat/Cxx/TestImageChangePlanarConfiguration.cxx b/Testing/Source/MediaStorageAndFileFormat/Cxx/TestImageChangePlanarConfiguration.cxx
index bffafe5e4..bd1493515 100644
--- a/Testing/Source/MediaStorageAndFileFormat/Cxx/TestImageChangePlanarConfiguration.cxx
+++ b/Testing/Source/MediaStorageAndFileFormat/Cxx/TestImageChangePlanarConfiguration.cxx
@@ -16,6 +16,7 @@
#include "gdcmImageWriter.h"
#include "gdcmTesting.h"
#include "gdcmFilename.h"
+#include "gdcmByteSwap.h"
#include "gdcmSystem.h"
int TestImageChangePlanarConfigurationFunc(const char *filename, bool verbose = false)
https://sourceforge.net/p/gdcm/gdcm/ci/c08b87bbd9f68f5764ac37259f719d9168065c43/
commit c08b87bbd9f68f5764ac37259f719d9168065c43
Author: Mathieu Malaterre <mat...@gm...>
Date: Thu Jun 25 11:27:14 2020 +0200
Add documentation for CP-246 again
diff --git a/Source/DataStructureAndEncodingDefinition/gdcmImplicitDataElement.txx b/Source/DataStructureAndEncodingDefinition/gdcmImplicitDataElement.txx
index 72fa99ceb..b7dfade6c 100644
--- a/Source/DataStructureAndEncodingDefinition/gdcmImplicitDataElement.txx
+++ b/Source/DataStructureAndEncodingDefinition/gdcmImplicitDataElement.txx
@@ -538,6 +538,9 @@ const std::ostream &ImplicitDataElement::Write(std::ostream &os) const
return os;
}
// Write Value Length
+ // The following code should always work since we are in the case of IVRLE - CP246
+ // however broken file such as PET-GE-dicomwrite-PixelDataSQUNv2.dcm breaks this assumption right here:
+ // see bug #502
const SequenceOfItems *sqi = dynamic_cast<const SequenceOfItems*>( ValueField.GetPointer() ); //GetSequenceOfItems();
if( sqi && !ValueLengthField.IsUndefined() )
{
-----------------------------------------------------------------------
Summary of changes:
Source/DataStructureAndEncodingDefinition/gdcmImplicitDataElement.txx | 3 +++
.../Cxx/TestImageChangePlanarConfiguration.cxx | 1 +
2 files changed, 4 insertions(+)
hooks/post-receive
--
Grassroots DICOM
|