12 #ifndef __itkConnectedAdaptiveThresholdImageFilter_h
13 #define __itkConnectedAdaptiveThresholdImageFilter_h
15 #include "itkConnectedThresholdImageFilter.h"
26 template <
class TInputImage,
class TOutputImage>
28 :
public ConnectedThresholdImageFilter<TInputImage, TOutputImage>
33 typedef ConnectedThresholdImageFilter<TInputImage, TOutputImage>
Superclass;
38 itkFactorylessNewMacro(
Self);
47 typedef typename InputImageType::IndexType
IndexType;
48 typedef typename InputImageType::PixelType
PixelType;
54 m_FineDetectionMode = fine;
55 m_DiscardLastPreview =
false;
86 unsigned int adjLowerTh,
87 unsigned int adjUpperTh,
88 itk::Index<3> seedPoint,
89 bool discardLeafSegmentation);
101 bool m_GrowingDirectionIsUpwards;
105 unsigned int m_AdjLowerTh;
106 unsigned int m_AdjUpperTh;
107 itk::Index<3> m_SeedPointIndex;
110 bool m_FineDetectionMode;
112 bool m_DiscardLastPreview;
113 bool m_SegmentationCancelled;
118 #ifndef ITK_MANUAL_INSTANTIATION
119 #include "itkConnectedAdaptiveThresholdImageFilter.txx"
ImageFilter used for processing an image with an adaptive iterator (such as itkAdaptiveThresholdItera...
InputImageType::PixelType PixelType
ConnectedAdaptiveThresholdImageFilter Self
void SetGrowingDirectionIsUpwards(bool upwards)
int GetSeedpointValue(void)
unsigned int AdjustIteratorMask()
void SetFineDetectionMode(bool fine)
OutputImageType::Pointer OutputImagePointer
TOutputImage OutputImageType
SmartPointer< const Self > ConstPointer
ConnectedAdaptiveThresholdImageFilter()
int GetLeakagePoint(void)
TInputImage InputImageType
TOutputImage * GetResultImage()
ConnectedThresholdImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::IndexType IndexType
void SetParameterForFineSegmentation(TOutputImage *iteratorMaskForFineSegmentation, unsigned int adjLowerTh, unsigned int adjUpperTh, itk::Index< 3 > seedPoint, bool discardLeafSegmentation)
void GenerateData() override
~ConnectedAdaptiveThresholdImageFilter() override
SmartPointer< Self > Pointer
IndexType CorrectSeedPointPosition(unsigned int sizeOfVolume, int lowerTh, int upperTh)
void CropMask(unsigned int croppingSize)