itkGetConstMacro(DebugFlag, bool);
itkBooleanMacro(DebugFlag);
+ itkSetMacro(VerboseTrackingFlag, bool);
+ itkGetConstMacro(VerboseTrackingFlag, bool);
+ itkBooleanMacro(VerboseTrackingFlag);
+
itkSetMacro(SoughtVesselSeedName, std::string);
itkGetConstMacro(SoughtVesselSeedName, std::string);
itkSetMacro(MaxNumberOfFoundBifurcation, int);
itkGetConstMacro(MaxNumberOfFoundBifurcation, int);
+ itkSetMacro(FinalOpeningRadius, int);
+ itkGetConstMacro(FinalOpeningRadius, int);
+
protected:
ExtractMediastinalVesselsFilter();
virtual ~ExtractMediastinalVesselsFilter() {}
virtual void GenerateData();
bool m_DebugFlag;
+ bool m_VerboseTrackingFlag;
ImagePointer m_Input;
MaskImagePointer m_Working_Support;
MaskImagePointer m_Mediastinum;
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