]> Creatis software - gdcm.git/commitdiff
Create Explicit VR images first.
authorjpr <jpr>
Thu, 27 Oct 2005 09:05:44 +0000 (09:05 +0000)
committerjpr <jpr>
Thu, 27 Oct 2005 09:05:44 +0000 (09:05 +0000)
Testing/TestWriteSimple.cxx

index 24281df6b15465231db78939ff56fc97163b8f1e..33089b7dbdb1ae51b11c2f4bdac4a31fddb896b0 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestWriteSimple.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/26 08:28:56 $
-  Version:   $Revision: 1.44 $
+  Date:      $Date: 2005/10/27 09:05:44 $
+  Version:   $Revision: 1.45 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -45,56 +45,62 @@ typedef struct
 } Image;
 
 Image Images [] = {
-   {256, 256, 1, 1, 8,  8,  0, 'a'},
+
    {256, 256, 1, 1, 8,  8,  0, 'e'},
+   {512, 256, 1, 1, 8,  8,  0, 'e'},   
    {256, 256, 1, 1, 8,  8,  0, 'i'},
-   {512, 256, 1, 1, 8,  8,  0, 'a'},
-   {512, 256, 1, 1, 8,  8,  0, 'e'},
    {512, 256, 1, 1, 8,  8,  0, 'i'},
-
-   {256, 512, 1, 1, 8,  8,  0, 'a'},
+   {512, 256, 1, 1, 8,  8,  0, 'a'},
+   {256, 256, 1, 1, 8,  8,  0, 'a'},
+   
    {256, 512, 1, 1, 8,  8,  0, 'e'},
    {256, 512, 1, 1, 8,  8,  0, 'i'},
+   {256, 512, 1, 1, 8,  8,  0, 'a'},
+   
 
-   {256, 512, 1, 1, 16, 16, 0, 'a'},
    {256, 512, 1, 1, 16, 16, 0, 'e'},
-   {256, 512, 1, 1, 16, 16, 0, 'i'},
-   {256, 512, 1, 1, 16, 16, 0, 'a'},
    {256, 512, 1, 1, 16, 16, 0, 'e'},
    {256, 512, 1, 1, 16, 16, 0, 'i'},
+   {256, 512, 1, 1, 16, 16, 0, 'i'},
+   {256, 512, 1, 1, 16, 16, 0, 'a'},
+   {256, 512, 1, 1, 16, 16, 0, 'a'},
+   
 
-   {512, 256, 10, 1, 8, 8,  0, 'a'},
    {512, 256, 10, 1, 8, 8,  0, 'e'},
-   {512, 256, 10, 1, 8, 8,  0, 'i'},
-   {512, 256, 10, 3, 8, 8,  0, 'a'},
    {512, 256, 10, 3, 8, 8,  0, 'e'},
    {512, 256, 10, 3, 8, 8,  0, 'i'},
-
-   {256, 256, 1, 1, 8,  8,  1, 'a'},
+   {512, 256, 10, 1, 8, 8,  0, 'i'},
+   {512, 256, 10, 1, 8, 8,  0, 'a'},
+   {512, 256, 10, 3, 8, 8,  0, 'a'},
+      
    {256, 256, 1, 1, 8,  8,  1, 'e'},
    {256, 256, 1, 1, 8,  8,  1, 'i'},
-
-   {512, 256, 1, 1, 8,  8,  1, 'a'},
+   {256, 256, 1, 1, 8,  8,  1, 'a'},
+   
    {512, 256, 1, 1, 8,  8,  1, 'e'},
    {512, 256, 1, 1, 8,  8,  1, 'i'},
-
+   {512, 256, 1, 1, 8,  8,  1, 'a'},
+   
    {256, 512, 1, 1, 8,  8,  1, 'a'},
    {256, 512, 1, 1, 8,  8,  1, 'e'},
    {256, 512, 1, 1, 8,  8,  1, 'i'},
 
-   {256, 512, 1, 1, 16, 16, 1, 'a'},
+
    {256, 512, 1, 1, 16, 16, 1, 'e'},
-   {256, 512, 1, 1, 16, 16, 1, 'i'},
-   {256, 512, 1, 1, 16, 16, 1, 'a'},
    {256, 512, 1, 1, 16, 16, 1, 'e'},
    {256, 512, 1, 1, 16, 16, 1, 'i'},
+   {256, 512, 1, 1, 16, 16, 1, 'i'},
+   {256, 512, 1, 1, 16, 16, 1, 'a'},
+   {256, 512, 1, 1, 16, 16, 1, 'a'},
+      
 
-   {512, 256, 10, 1, 8, 8,  1, 'a'},
    {512, 256, 10, 1, 8, 8,  1, 'e'},
    {512, 256, 10, 1, 8, 8,  1, 'i'},
-   {512, 256, 10, 3, 8, 8,  1, 'a'},
+   {512, 256, 10, 1, 8, 8,  1, 'a'},   
+   
    {512, 256, 10, 3, 8, 8,  1, 'e'},
    {512, 256, 10, 3, 8, 8,  1, 'i'},
+   {512, 256, 10, 3, 8, 8,  1, 'a'},
    {0,   0,   1,  1, 8, 8,  0, 'i'} // to find the end
 };