]> Creatis software - gdcm.git/commitdiff
Fix.
authorjpr <jpr>
Fri, 9 Nov 2007 17:35:16 +0000 (17:35 +0000)
committerjpr <jpr>
Fri, 9 Nov 2007 17:35:16 +0000 (17:35 +0000)
Thx to Neerav Patel for reporting typo.

Doc/Website/HowToUseGdcm.html

index bb9b730e7457deeb235be6184d1a7c72869de925..5ba8925a914616aa2766e04fa3eba1d826ac6ee1 100755 (executable)
@@ -229,8 +229,7 @@ Probabely, you'll never have to deal with Sequences (hope so!).
 1-1-1-1) Deal with the file header
 
 The first step is to load the file header :
-
-           gdcm::File *f = new gdcm::File();
+           gdcm::File *f = gdcm::File::New();
                   f->SetLoadMode(LD_NOSEQ);              | depending on what
                   f->SetLoadMode(LD_NOSHADOW);           | you want *not* 
                   f->SetLoadMode(LD_NOSEQ | LD_NOSHADOW);| to load from the
@@ -599,7 +598,7 @@ When user knows the files with same Serie UID have same sizes,
 same 'pixel' type, same color convention, ... 
 the right way to proceed is as follow :
 
-        gdcm::SerieHelper *sh= new gdcm::SerieHelper();
+        gdcm::SerieHelper *sh= gdcm::NewSerieHelper();
    //      if user wants *not* to load some parts of the file headers
         sh->SetLoadMode(yourLoadMode);