[Gdcm-hackers] gdcm-git:Grassroots DICOM branch master updated. eeaeada156525bbec9541f640132d77bb25
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2012-12-18 09: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, master has been updated
via eeaeada156525bbec9541f640132d77bb255568c (commit)
from 036c4e424fd7ea50735f410cfbcd8256c823aaa2 (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/eeaeada156525bbec9541f640132d77bb255568c/
commit eeaeada156525bbec9541f640132d77bb255568c
Author: Mathieu Malaterre <mat...@gm...>
Date: Tue Dec 18 10:58:50 2012 +0100
Add new extension: .bin for raw volume
diff --git a/Applications/Cxx/gdcmimg.cxx b/Applications/Cxx/gdcmimg.cxx
index 64bd04c..ac9e4ff 100644
--- a/Applications/Cxx/gdcmimg.cxx
+++ b/Applications/Cxx/gdcmimg.cxx
@@ -746,10 +746,11 @@ int main (int argc, char *argv[])
//if( !inputextension || !outputextension ) return 1;
if( inputextension )
{
- if( gdcm::System::StrCaseCmp(inputextension,".raw") == 0
- || gdcm::System::StrCaseCmp(inputextension,".rawl") == 0 // kakadu convention for raw little endian
- || gdcm::System::StrCaseCmp(inputextension,".gray") == 0
- || gdcm::System::StrCaseCmp(inputextension,".rgb") == 0 )
+ if( gdcm::System::StrCaseCmp(inputextension,".raw") == 0 // watch out that .raw for kakadu means big-endian
+ || gdcm::System::StrCaseCmp(inputextension,".rawl") == 0 // kakadu convention for raw little endian
+ || gdcm::System::StrCaseCmp(inputextension,".gray") == 0 // imagemagick convention
+ || gdcm::System::StrCaseCmp(inputextension,".bin") == 0 // openjp3d convention for raw little endian
+ || gdcm::System::StrCaseCmp(inputextension,".rgb") == 0 ) // imagemagick convention
{
if( !size[0] || !size[1] )
{
-----------------------------------------------------------------------
Summary of changes:
Applications/Cxx/gdcmimg.cxx | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|