2 #include <itkBinaryDilateImageFilter.h>
3 #include <itkMirrorPadImageFilter.h>
5 //--------------------------------------------------------------------
6 template <class ImageType>
8 clitk::ExtractLymphStationsFilter<ImageType>::
9 ExtractStation_3P_SetDefaultValues()
12 //--------------------------------------------------------------------
14 //--------------------------------------------------------------------
15 template <class ImageType>
17 clitk::ExtractLymphStationsFilter<ImageType>::
18 ExtractStation_3P_SI_Limits()
21 Apex of the chest & Carina.
23 StartNewStep("[Station 3P] Inf/Sup limits with apex of the chest and carina");
25 writeImage<MaskImageType>(m_Working_Support, "support.mhd");
27 // Get Carina position (has been determined in Station8)
28 m_CarinaZ = GetAFDB()->GetDouble("CarinaZ");
31 // Get Apex of the Chest
32 MaskImagePointer Lungs = GetAFDB()->template GetImage<MaskImageType>("Lungs");
35 bool found = clitk::FindExtremaPointInAGivenDirection<MaskImageType>(Lungs,
40 double m_ApexOfTheChest = p[2];
44 Superior limit = carina
45 Inferior limit = Apex of the chest */
47 clitk::CropImageAlongOneAxis<MaskImageType>(m_Working_Support, 2,
50 GetBackgroundValue());
52 StopCurrentStep<MaskImageType>(m_Working_Support);
53 m_ListOfStations["3P"] = m_Working_Support;
55 //--------------------------------------------------------------------