[clitk-commits-list] Clitk software branch master updated. v1.2.0-580-ge2b3767

root root at tux.creatis.insa-lyon.fr
Sun Dec 4 15:20:24 CET 2011


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 "Clitk software".

The branch, master has been updated
       via  e2b37672d5ee8eafc7b1ac075f4e70596349f0c3 (commit)
      from  59c0beebb8875fc81086cb6aa5a3c4bbed8cf4cb (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 -----------------------------------------------------------------
http://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=commitdiff;h=e2b37672d5ee8eafc7b1ac075f4e70596349f0c3

commit e2b37672d5ee8eafc7b1ac075f4e70596349f0c3
Author: Simon Rit <simon.rit at creatis.insa-lyon.fr>
Date:   Sun Dec 4 15:04:46 2011 +0100

    Removed warnings

diff --git a/common/clitkDicomRTDoseIO.cxx b/common/clitkDicomRTDoseIO.cxx
index da66a01..960cb1d 100644
--- a/common/clitkDicomRTDoseIO.cxx
+++ b/common/clitkDicomRTDoseIO.cxx
@@ -151,7 +151,7 @@ void clitk::DicomRTDoseIO::ReadImageInformation()
   while (1) {
     int len;
     gfov = (double*) realloc (gfov, (gfov_len + 1) * sizeof(double));
-    rc = sscanf (gfov_str, "%g%n", &gfov[gfov_len], &len);
+    rc = sscanf (gfov_str, "%lf%n", &gfov[gfov_len], &len);
     if (rc != 1) {
       break;
     }
diff --git a/itk/clitkSegmentationUtils.txx b/itk/clitkSegmentationUtils.txx
index 76572b5..501c64f 100644
--- a/itk/clitkSegmentationUtils.txx
+++ b/itk/clitkSegmentationUtils.txx
@@ -1373,6 +1373,7 @@ namespace clitk {
     iter2.GoToBegin();
     double dmin = 100000.0;
     typename ImageType::IndexType indexmin;
+    indexmin.Fill(0);
     while (!iter1.IsAtEnd()) {
       if (iter1.Get() != BG) {
         double d = iter2.Get();
diff --git a/segmentation/clitkExtractLymphStation_Supports.txx b/segmentation/clitkExtractLymphStation_Supports.txx
index 430d6a9..a022392 100644
--- a/segmentation/clitkExtractLymphStation_Supports.txx
+++ b/segmentation/clitkExtractLymphStation_Supports.txx
@@ -111,7 +111,7 @@ Support_SI_Limit(const std::string station_limit, const std::string station,
   m_Working_Support = m_ListOfSupports[station];
   
   // Get structure or structureZ
-  double z;
+  double z=0.;
   int found=0;
   std::string file;
 
diff --git a/segmentation/clitkExtractMediastinumFilter.txx b/segmentation/clitkExtractMediastinumFilter.txx
index 27cb661..6757180 100644
--- a/segmentation/clitkExtractMediastinumFilter.txx
+++ b/segmentation/clitkExtractMediastinumFilter.txx
@@ -263,6 +263,7 @@ GenerateOutputInformation() {
   MaskImagePointer bones_ant;
   MaskImagePointer bones_post;
   MaskImagePointType middle_AntPost_position;
+  middle_AntPost_position.Fill(NumericTraits<MaskImagePointType::ValueType>::Zero);
   if (GetUseBones()) { 
     this->StartNewStep("[Mediastinum] Ant/Post limits with bones");
 

-----------------------------------------------------------------------

Summary of changes:
 common/clitkDicomRTDoseIO.cxx                      |    2 +-
 itk/clitkSegmentationUtils.txx                     |    1 +
 segmentation/clitkExtractLymphStation_Supports.txx |    2 +-
 segmentation/clitkExtractMediastinumFilter.txx     |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Clitk software


More information about the Clitk-commits-list mailing list