[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release-2-8 updated. 6892a2720590d5199491ce1bf56cd3
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2020-06-26 13:25:55
|
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-2-8 has been updated
via 6892a2720590d5199491ce1bf56cd3050fb97511 (commit)
from 1b03a39162e5ba8af5fa0022d379aaf81ad228b3 (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/6892a2720590d5199491ce1bf56cd3050fb97511/
commit 6892a2720590d5199491ce1bf56cd3050fb97511
Author: Mathieu Malaterre <mat...@gm...>
Date: Fri Jun 26 14:05:03 2020 +0200
Fix invalid logic
Fix bug #423
diff --git a/Source/MediaStorageAndFileFormat/gdcmOverlay.cxx b/Source/MediaStorageAndFileFormat/gdcmOverlay.cxx
index b1b03f34f..84d349151 100644
--- a/Source/MediaStorageAndFileFormat/gdcmOverlay.cxx
+++ b/Source/MediaStorageAndFileFormat/gdcmOverlay.cxx
@@ -260,7 +260,7 @@ bool Overlay::GrabOverlayFromPixelData(DataSet const &ds)
if( Internal->BitsAllocated == 16 )
{
//assert( Internal->BitPosition >= 12 );
- if( ds.FindDataElement( Tag(0x7fe0,0x0010) ) )
+ if( !ds.FindDataElement( Tag(0x7fe0,0x0010) ) )
{
gdcmWarningMacro("Could not find Pixel Data. Cannot extract Overlay." );
return false;
-----------------------------------------------------------------------
Summary of changes:
Source/MediaStorageAndFileFormat/gdcmOverlay.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Grassroots DICOM
|