From c167ace7ba7780e29e52c4450d69c3123c9bbcee Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Mon, 17 Oct 2011 10:43:40 +0200 Subject: [PATCH] Order stations, remove debug, correct structures names --- .../clitkExtractLymphStationsFilter.txx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/segmentation/clitkExtractLymphStationsFilter.txx b/segmentation/clitkExtractLymphStationsFilter.txx index 9051ec1..f3bf108 100644 --- a/segmentation/clitkExtractLymphStationsFilter.txx +++ b/segmentation/clitkExtractLymphStationsFilter.txx @@ -126,10 +126,10 @@ GenerateOutputInformation() { } // Extract Stations + ExtractStation_1RL(); + ExtractStation_2RL(); ExtractStation_3P(); ExtractStation_3A(); - ExtractStation_2RL(); - ExtractStation_1RL(); ExtractStation_4RL(); ExtractStation_5(); ExtractStation_6(); @@ -988,8 +988,8 @@ FindAntPostVesselsOLD() binarizedContour = clitk::CropImageAlongOneAxis(binarizedContour, 2, inf, sup, false, GetBackgroundValue()); // Update the AFDB - writeImage(binarizedContour, "seg/AntPostVesselsSeparation.mhd"); - this->GetAFDB()->SetImageFilename("AntPostVesselsSeparation", "seg/AntPostVesselsSeparation.mhd"); + writeImage(binarizedContour, "seg/AntPostVesselsSeparation.mha"); + this->GetAFDB()->SetImageFilename("AntPostVesselsSeparation", "seg/AntPostVesselsSeparation.mha"); this->WriteAFDB(); return binarizedContour; @@ -1076,10 +1076,10 @@ FindAntPostVessels2() typedef std::map::iterator MapIter; MapOfStructures["BrachioCephalicArtery"] = this->GetAFDB()->template GetImage("BrachioCephalicArtery"); MapOfStructures["BrachioCephalicVein"] = this->GetAFDB()->template GetImage("BrachioCephalicVein"); - MapOfStructures["CommonCarotidArteryLeft"] = this->GetAFDB()->template GetImage("CommonCarotidArteryLeft"); - MapOfStructures["CommonCarotidArteryRight"] = this->GetAFDB()->template GetImage("CommonCarotidArteryRight"); - MapOfStructures["SubclavianArteryLeft"] = this->GetAFDB()->template GetImage("SubclavianArteryLeft"); - MapOfStructures["SubclavianArteryRight"] = this->GetAFDB()->template GetImage("SubclavianArteryRight"); + MapOfStructures["CommonCarotidArteryLeft"] = this->GetAFDB()->template GetImage("LeftCommonCarotidArtery"); + MapOfStructures["CommonCarotidArteryRight"] = this->GetAFDB()->template GetImage("RightCommonCarotidArtery"); + MapOfStructures["SubclavianArteryLeft"] = this->GetAFDB()->template GetImage("LeftSubclavianArtery"); + MapOfStructures["SubclavianArteryRight"] = this->GetAFDB()->template GetImage("RightSubclavianArtery"); MapOfStructures["Thyroid"] = this->GetAFDB()->template GetImage("Thyroid"); MapOfStructures["Aorta"] = this->GetAFDB()->template GetImage("Aorta"); MapOfStructures["Trachea"] = this->GetAFDB()->template GetImage("Trachea"); @@ -1347,8 +1347,8 @@ FindAntPostVessels2() false, GetBackgroundValue()); // Update the AFDB - writeImage(binarizedContour, "seg/AntPostVesselsSeparation.mhd"); - this->GetAFDB()->SetImageFilename("AntPostVesselsSeparation", "seg/AntPostVesselsSeparation.mhd"); + writeImage(binarizedContour, "seg/AntPostVesselsSeparation.mha"); + this->GetAFDB()->SetImageFilename("AntPostVesselsSeparation", "seg/AntPostVesselsSeparation.mha"); this->WriteAFDB(); return binarizedContour; -- 2.45.1