]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractMediastinumFilter.txx
[VV] New feature to jump on image origin
[clitk.git] / segmentation / clitkExtractMediastinumFilter.txx
index 276c3881063ebbfb81d42c95300ba8e0aef69204..d3ba557b97d863cb7a486aab5c59c742a4f371b0 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to: 
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
@@ -14,7 +14,7 @@
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-  ======================================================================-====*/
+  ===========================================================================**/
 
 #ifndef CLITKEXTRACTMEDIASTINUMFILTER_TXX
 #define CLITKEXTRACTMEDIASTINUMFILTER_TXX
@@ -246,7 +246,7 @@ GenerateOutputInformation() {
   relPosFilter->SetInput(output); 
   relPosFilter->SetInputObject(left_lung); 
   //  relPosFilter->SetInputObject(lung); 
-  relPosFilter->AddOrientationType(RelPosFilterType::LeftTo); // warning left lung is at right ;)
+  relPosFilter->AddOrientationType(RelPosFilterType::AtRightTo); // warning left lung is at right ;)
   relPosFilter->SetIntermediateSpacing(GetIntermediateSpacing());
   relPosFilter->SetFuzzyThreshold(GetFuzzyThreshold1());
   relPosFilter->Update();
@@ -261,7 +261,7 @@ GenerateOutputInformation() {
   relPosFilter->SetInput(output); 
   relPosFilter->SetInputObject(right_lung);
   //relPosFilter->SetInputObject(lung); 
-  relPosFilter->AddOrientationType(RelPosFilterType::RightTo);
+  relPosFilter->AddOrientationType(RelPosFilterType::AtLeftTo);
   relPosFilter->SetIntermediateSpacing(GetIntermediateSpacing());
   relPosFilter->SetFuzzyThreshold(GetFuzzyThreshold1());
   relPosFilter->Update();   
@@ -414,7 +414,7 @@ GenerateOutputInformation() {
 
   //--------------------------------------------------------------------
   // Step 8: Lower limits from lung (need separate lung ?)
-  if (1) {
+  if (0) {
     // StartNewStep("Trial : minus segmented struct");
     // MaskImagePointer heart = GetAFDB()->template GetImage <MaskImageType>("heart");  
     // boolFilter = BoolFilterType::New();