itkSetMacro(MaxNumberOfFoundBifurcation, int);
itkGetConstMacro(MaxNumberOfFoundBifurcation, int);
+ itkSetMacro(FinalOpeningRadius, int);
+ itkGetConstMacro(FinalOpeningRadius, int);
+
protected:
ExtractMediastinalVesselsFilter();
virtual ~ExtractMediastinalVesselsFilter() {}
double m_MaxDistanceLeftToCarina;
double m_MaxDistanceRightToCarina;
int m_MaxNumberOfFoundBifurcation;
+ int m_FinalOpeningRadius;
std::vector<MaskSlicePointer> m_slice_recon;
std::vector<MaskSlicePointer> m_slice_recon2;
void CropInputImage();
void TrackBifurcationFromPoint(MaskImagePointer & recon,
std::vector<MaskSlicePointer> & slices_recon,
- MaskImagePointType BCA_p,
+ MaskImagePointType point3D,
+ MaskImagePointType pointMaxSlice,
LabelType newLabel,
std::vector<MaskImagePointType> & bif);
+ void TrackVesselsFromPoint(MaskImagePointer & recon,
+ std::vector<MaskSlicePointer> & slices_recon,
+ MaskImagePointType point3D,
+ MaskImagePointType pointMaxSlice,
+ LabelType newLabel);
+
private:
ExtractMediastinalVesselsFilter(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented