X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLymphStationsFilter.txx;h=ec93c098b3421ea3d8a9105f5677c1212771ed45;hb=b2a7c12437798214cca01b68d61f5b16eb1036a5;hp=f12d3bc9a494b1dfa023c8bdaa8465208d819642;hpb=5b568893e14e5d955fa14f653bd176b54c6aee0c;p=clitk.git diff --git a/segmentation/clitkExtractLymphStationsFilter.txx b/segmentation/clitkExtractLymphStationsFilter.txx index f12d3bc..ec93c09 100644 --- a/segmentation/clitkExtractLymphStationsFilter.txx +++ b/segmentation/clitkExtractLymphStationsFilter.txx @@ -63,7 +63,10 @@ ExtractLymphStationsFilter(): ExtractStation_3A_SetDefaultValues(); ExtractStation_1RL_SetDefaultValues(); ExtractStation_4RL_SetDefaultValues(); + ExtractStation_5_SetDefaultValues(); + ExtractStation_6_SetDefaultValues(); + // TODO ExtractStation_7_SetDefaultValues(); ExtractStation_8_SetDefaultValues(); } @@ -122,31 +125,25 @@ GenerateOutputInformation() { this->StopSubStep(); } - // Extract Station3P + // Extract Stations + ExtractStation_1RL(); + ExtractStation_2RL(); ExtractStation_3P(); - - // Extract Station3A ExtractStation_3A(); - - // Extract Station2RL - ExtractStation_2RL(); - - // Extract Station1RL - ExtractStation_1RL(); - - // Extract Station1RL ExtractStation_4RL(); + ExtractStation_5(); + ExtractStation_6(); // ---------- TODO ----------------------- // Extract Station8 - ExtractStation_8(); + // ExtractStation_8(); // Extract Station7 - this->StartNewStep("Station 7"); - this->StartSubStep(); - ExtractStation_7(); - this->StopSubStep(); + //this->StartNewStep("Station 7"); + //this->StartSubStep(); + //ExtractStation_7(); + //this->StopSubStep(); } //-------------------------------------------------------------------- @@ -991,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; @@ -1079,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"); @@ -1350,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;