// @author Leonardo Florez Valencia
// @email florez-l@javeriana.edu.co
// =========================================================================
-
#ifndef __CTBronchi__MoriLabelling__h__
#define __CTBronchi__MoriLabelling__h__
#include <fpa/Filters/Image/RegionGrow.h>
#include <fpa/Functors/RegionGrow/BinaryThreshold.h>
-/* TODO
- #include <fpa/Base/RegionGrow.h>
- #include <fpa/Base/MarksInterface.h>
- #include <fpa/Base/Functors/RegionGrow/BinaryThreshold.h>
- #include <fpa/Image/Algorithm.h>
- #include <fpa/Image/DefaultTraits.h>
- #include <fpa/Image/LabelledSeedsInterface.h>
-*/
-
namespace CTBronchi
{
/**
typedef CTBronchi::MoriLabellingTraits< TInputImage, TLabelImage > TTraits;
fpaTraitsMacro( typename, TTraits );
- typedef fpa::Filters::Image::Algorithm< fpa::Filters::RegionGrow< TTraits > > TAlgorithm;
+ typedef fpa::Filters::RegionGrow< TTraits > TBase;
+ typedef fpa::Filters::Image::Algorithm< TBase > TAlgorithm;
typedef fpa::Filters::Image::LabelsSeedFilter< TAlgorithm, _TLabelImage > Superclass;
typedef MoriLabelling Self;
typedef itk::SmartPointer< Self > Pointer;
itkNewMacro( Self );
itkTypeMacro( CTBronchi::MoriLabelling, fpa::Filters::Image::RegionGrow );
+ itkGetConstMacro( InputInsideValue, TInputValue );
+ itkSetMacro( InputInsideValue, TInputValue );
+
public:
TInputValue GetUpperThreshold( ) const;
void SetUpperThreshold( TInputValue t );
protected:
typename TLabelFunctor::Pointer m_LabelFunctor;
+ TInputValue m_InputInsideValue;
};
} // ecapseman