X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=segmentation%2FclitkExtractLymphStation_8.txx;h=bb1ce79044a209e1c125d6b705383484c87c2f0c;hb=34f45c6507a3605351e265f4d5eb5b4bb31a1fa6;hp=545780e7e1c151d4a29c333d709ea78883e2816b;hpb=907b0bad00cbf772fbf362879c74d673253f97bb;p=clitk.git diff --git a/segmentation/clitkExtractLymphStation_8.txx b/segmentation/clitkExtractLymphStation_8.txx index 545780e..bb1ce79 100644 --- a/segmentation/clitkExtractLymphStation_8.txx +++ b/segmentation/clitkExtractLymphStation_8.txx @@ -14,7 +14,7 @@ ExtractStation_8_SetDefaultValues() SetEsophagusDiltationForAnt(p); p[0] = 5; p[1] = 10; p[2] = 1; SetEsophagusDiltationForRight(p); - SetFuzzyThresholdForS8(0.5); + SetFuzzyThreshold("8", "Esophagus", 0.5); SetInjectedThresholdForS8(150); } //-------------------------------------------------------------------- @@ -163,9 +163,9 @@ ExtractStation_8_Post_Limits() // Convert 2D points in slice into 3D points std::vector vertebralAntPositions; - clitk::PointsUtils::Convert2DTo3DList(vertebralAntPositionBySlice, - VertebralBody, - vertebralAntPositions); + clitk::PointsUtils::Convert2DMapTo3DList(vertebralAntPositionBySlice, + VertebralBody, + vertebralAntPositions); // DEBUG : write list of points clitk::WriteListOfLandmarks(vertebralAntPositions, @@ -468,7 +468,7 @@ ExtractStation_8_Ant_Inf_Limits() relPosFilter->UniqueConnectedComponentBySliceOff(); relPosFilter->SetIntermediateSpacing(3); relPosFilter->IntermediateSpacingFlagOn(); - relPosFilter->SetFuzzyThreshold(GetFuzzyThresholdForS8()); + relPosFilter->SetFuzzyThreshold(GetFuzzyThreshold("8", "Esophagus")); relPosFilter->RemoveObjectFlagOff(); // Do not exclude here because it is dilated relPosFilter->CombineWithOrFlagOff(); // NO ! relPosFilter->IgnoreEmptySliceObjectFlagOn(); @@ -1131,8 +1131,8 @@ ExtractStation_8_Remove_Structures() //-------------------------------------------------------------------- StartNewStep("[Station8] remove some structures"); - Remove_Structures("Aorta"); - Remove_Structures("Esophagus"); + Remove_Structures("8", "Aorta"); + Remove_Structures("8", "Esophagus"); // END StopCurrentStep(m_Working_Support);