35 #ifndef __itkWatershedBasedCellSegmentation_h
36 #define __itkWatershedBasedCellSegmentation_h
38 #if defined( _MSC_VER )
39 #pragma warning ( disable : 4786 )
43 #define ITK_LEAN_AND_MEAN
46 #include "itkImageToImageFilter.h"
50 #include "itkInvertIntensityImageFilter.h"
52 #include "itkImageRegionIterator.h"
53 #include "itkImageRegionIteratorWithIndex.h"
54 #include "itkMinimumMaximumImageCalculator.h"
55 #include "itkAntiAliasBinaryImageFilter.h"
59 template<
class TFeatureImage,
class TInputImage,
class TSegmentImage >
61 TFeatureImage, TSegmentImage >
65 typedef ImageToImageFilter< TFeatureImage, TSegmentImage >
Superclass;
70 TFeatureImage::ImageDimension);
79 void PrintSelf(std::ostream & os, Indent indent)
const;
124 typedef InvertIntensityImageFilter< InputImageType, InputImageType >
176 #include "itkWatershedBasedCellSegmentation.txx"
InputImageType::SpacingType InputImageSpacingType
SmartPointer< Self > Pointer
MorphologicalWatershedImageFilter2< InputImageType, SegmentImageType > WatershedFilterType
TInputImage InputImageType
FeatureImageType::Pointer FeatureImagePointer
FeatureImageType::IndexType FeatureImageIndexType
itkTypeMacro(WatershedBasedCellSegmentation, ImageToImageFilter)
PreprocessImageFilter< FeatureImageType, FeatureImageType > PreprocessFilterType
double m_CorrelationKernelSigma
FeatureImageType::RegionType FeatureImageRegionType
SmartPointer< Self > Pointer
SegmentImageType::RegionType SegmentImageRegionType
FeatureImageType::ConstPointer FeatureImageConstPointer
InputImageType::Pointer InputImagePointer
itkStaticConstMacro(ImageDimension, unsigned int, TFeatureImage::ImageDimension)
SegmentImageType::Pointer SegmentImagePointer
SegmentImageType::SizeType SegmentImageSizeType
FeatureImageType::SizeType FeatureImageSizeType
InputImageType::IndexType InputImageIndexType
void operator=(const Self &)
~WatershedBasedCellSegmentation()
RInvertType::Pointer RInvertPointer
InputImageType::PixelType InputImagePixelType
SmartPointer< Self > Pointer
SegmentImageIndexType::IndexValueType SegmentImageIndexValueType
ImageRegionIterator< FeatureImageType > FeatureIteratorType
AntiAliasFilterType::Pointer AntiAliasFilterPointer
void PrintSelf(std::ostream &os, Indent indent) const
itkSetMacro(NucleusRadius, double)
FeatureImageType::PixelType FeatureImagePixelType
SegmentImageType::ConstPointer SegmentImageConstPointer
CellForegroundExtraction< FeatureImageType, InputImageType, SegmentImageType > ForegroundFilterType
SegmentImageType::PixelType SegmentImagePixelType
SmartPointer< Self > Pointer
InputImageType::ConstPointer InputImageConstPointer
InputImageType::PointType InputImagePointType
InvertIntensityImageFilter< InputImageType, InputImageType > RInvertType
InputImageType::SizeType InputImageSizeType
FeatureImageSizeType::SizeValueType FeatureImageSizeValueType
itkGetConstMacro(NucleusRadius, double)
SmartPointer< const Self > ConstPointer
InputImageSizeType::SizeValueType InputImageSizeValueType
ImageRegionIterator< InputImageType > InputIteratorType
TFeatureImage FeatureImageType
FeatureImageType::SpacingType FeatureImageSpacingType
TSegmentImage SegmentImageType
WatershedBasedCellSegmentation Self
GradientWeightedDistanceImageFilter< FeatureImageType, InputImageType, SegmentImageType > DistanceFilterType
int m_NucleusThresholdMax
DistanceFilterType::Pointer DistanceFilterPointer
InputImageType::RegionType InputImageRegionType
WatershedBasedCellSegmentation()
SegmentImageType::IndexType SegmentImageIndexType
AntiAliasBinaryImageFilter< SegmentImageType, InputImageType > AntiAliasFilterType
int m_NucleusThresholdMin
double m_CorrelationThreshold1
FeatureImageType::PointType FeatureImagePointType
ImageRegionIteratorWithIndex< SegmentImageType > SegmentIteratorType
ForegroundFilterType::Pointer ForegroundFilterPointer
PreprocessFilterType::Pointer PreprocessFilterPointer
Denoise images - remove median noise and perform morphological reconstruction. Makes it easier to seg...
ImageToImageFilter< TFeatureImage, TSegmentImage > Superclass
WatershedFilterType::Pointer WatershedFilterPointer
MinimumMaximumImageCalculator< InputImageType > MinMaxCalculatorType