16 #ifndef __itkConnectedAdaptiveThresholdImageFilter_h
17 #define __itkConnectedAdaptiveThresholdImageFilter_h
19 #include "itkConnectedThresholdImageFilter.h"
30 template <
class TInputImage,
class TOutputImage>
32 :
public ConnectedThresholdImageFilter<TInputImage, TOutputImage>
37 typedef ConnectedThresholdImageFilter<TInputImage, TOutputImage>
Superclass;
42 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
53 void SetGrowingDirectionIsUpwards(
bool upwards) { m_GrowingDirectionIsUpwards = upwards; }
57 m_FineDetectionMode = fine;
58 m_DiscardLastPreview =
false;
69 IndexType CorrectSeedPointPosition(
unsigned int sizeOfVolume,
int lowerTh,
int upperTh);
74 void CropMask(
unsigned int croppingSize);
79 unsigned int AdjustIteratorMask();
89 void SetParameterForFineSegmentation(TOutputImage *iteratorMaskForFineSegmentation,
90 unsigned int adjLowerTh,
91 unsigned int adjUpperTh,
93 bool discardLeafSegmentation);
95 TOutputImage *GetResultImage();
107 bool m_GrowingDirectionIsUpwards;
111 unsigned int m_AdjLowerTh;
112 unsigned int m_AdjUpperTh;
116 bool m_FineDetectionMode;
118 bool m_DiscardLastPreview;
123 #ifndef ITK_MANUAL_INSTANTIATION
TOutputImage * m_IteratorMaskForFineSegmentation
InputImageType::IndexType IndexType
bool m_SegmentationCancelled
TInputImage InputImageType
ImageFilter used for processing an image with an adaptive iterator (such as itkAdaptiveThresholdItera...
void SetFineDetectionMode(bool fine)
int GetSeedpointValue(void)
InputImageType::PixelType PixelType
ConnectedAdaptiveThresholdImageFilter Self
ConnectedThresholdImageFilter< TInputImage, TOutputImage > Superclass
int GetLeakagePoint(void)
SmartPointer< const Self > ConstPointer
OutputImageType::Pointer OutputImagePointer
SmartPointer< Self > Pointer
TOutputImage OutputImageType
~ConnectedAdaptiveThresholdImageFilter()