3 //--------------------------------------------------------------------
4 template <class ImageType>
6 clitk::ExtractLymphStationsFilter<ImageType>::
7 ExtractStation_6_SetDefaultValues()
10 //--------------------------------------------------------------------
13 //--------------------------------------------------------------------
14 template <class TImageType>
16 clitk::ExtractLymphStationsFilter<TImageType>::
18 if ((!CheckForStation("6")) && (!CheckForStation("6"))) return;
20 StartNewStep("Stations 6");
23 // Get the current support
24 StartNewStep("[Station 6] Get the current 6 suppport");
25 m_ListOfStations["6"] = m_ListOfSupports["S6"];
26 StopCurrentStep<MaskImageType>(m_ListOfStations["6"]);
28 // Generic RelativePosition processes
29 m_ListOfStations["6"] = this->ApplyRelativePositionList("Station_6", m_ListOfStations["6"]);
31 // Remove some structures
32 m_Working_Support = m_ListOfStations["6"];
33 Remove_Structures(" 6", "Aorta");
34 Remove_Structures(" 6", "SVC");
35 Remove_Structures(" 6", "BrachioCephalicVein");
36 m_ListOfStations["6"] = m_Working_Support;
38 // Keep only one single CCL by slice
39 StartNewStep("[Station 6] Keep only one CCL by slice");
40 m_ListOfStations["6"] = SliceBySliceKeepMainCCL<MaskImageType>(m_ListOfStations["6"],
42 GetForegroundValue());
43 StopCurrentStep<MaskImageType>(m_ListOfStations["6"]);
45 // Store image filenames into AFDB
46 writeImage<MaskImageType>(m_ListOfStations["6"], "seg/Station6.mhd");
47 GetAFDB()->SetImageFilename("Station6", "seg/Station6.mhd");
52 //--------------------------------------------------------------------