18#ifndef itkScalarImageKmeansImageFilter_h 
   19#define itkScalarImageKmeansImageFilter_h 
   64template <
typename TInputImage, 
typename TOutputImage = Image<
unsigned char, TInputImage::ImageDimension>>
 
  137  itkSetMacro(UseNonContiguousLabels, 
bool);
 
  138  itkGetConstReferenceMacro(UseNonContiguousLabels, 
bool);
 
  139  itkBooleanMacro(UseNonContiguousLabels);
 
 
  184#ifndef ITK_MANUAL_INSTANTIATION 
  185#  include "itkScalarImageKmeansImageFilter.hxx" 
An image region represents a structured region of data.
 
Control indentation during Print() invocation.
 
Extract a region of interest from the input image.
 
itk::Statistics::KdTreeBasedKmeansEstimator< TreeType > EstimatorType
 
ImageRegionType m_ImageRegion
 
typename EstimatorType::ParametersType ParametersType
 
typename InputImageType::RegionType ImageRegionType
 
itk::Statistics::DistanceToCentroidMembershipFunction< MeasurementVectorType > MembershipFunctionType
 
MeansContainer m_InitialMeans
 
TOutputImage OutputImageType
 
ParametersType m_FinalMeans
 
SmartPointer< const Self > ConstPointer
 
typename TreeGeneratorType::KdTreeType TreeType
 
typename OutputImageType::PixelType OutputPixelType
 
ScalarImageKmeansImageFilter()=default
 
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
 
TInputImage InputImageType
 
static constexpr unsigned int ImageDimension
 
itk::Statistics::ImageToListSampleAdaptor< InputImageType > AdaptorType
 
typename ClassifierType::MembershipFunctionVectorType MembershipFunctionVectorType
 
~ScalarImageKmeansImageFilter() override=default
 
std::vector< RealPixelType > MeansContainer
 
itk::Statistics::SampleClassifierFilter< AdaptorType > ClassifierType
 
itk::Statistics::WeightedCentroidKdTreeGenerator< AdaptorType > TreeGeneratorType
 
void AddClassWithInitialMean(RealPixelType mean)
 
typename AdaptorType::MeasurementVectorType MeasurementVectorType
 
typename ClassifierType::ClassLabelVectorType ClassLabelVectorType
 
void GenerateData() override
 
void PrintSelf(std::ostream &os, Indent indent) const override
 
ScalarImageKmeansImageFilter Self
 
typename InputImageType::PixelType InputPixelType
 
bool m_UseNonContiguousLabels
 
typename MembershipFunctionType::CentroidType MembershipFunctionOriginType
 
typename NumericTraits< InputPixelType >::RealType RealPixelType
 
void SetImageRegion(const ImageRegionType ®ion)
 
ImageToImageFilter< InputImageType, OutputImageType > Superclass
 
typename MembershipFunctionType::Pointer MembershipFunctionPointer
 
itk::Statistics::MinimumDecisionRule DecisionRuleType
 
bool m_ImageRegionDefined
 
SmartPointer< Self > Pointer
 
RegionOfInterestImageFilter< InputImageType, InputImageType > RegionOfInterestFilterType
 
Implements transparent reference counting.
 
DistanceToCentroidMembershipFunction models class membership using a distance metric.
 
typename DistanceMetricType::OriginType CentroidType
 
SmartPointer< Self > Pointer
 
This class provides ListSample interface to ITK Image.
 
typename MeasurementPixelTraitsType::MeasurementVectorType MeasurementVectorType
 
fast k-means algorithm implementation using k-d tree structure
 
Array< double > ParametersType
 
A decision rule that returns the class label with the smallest discriminant score.
 
Sample classification class.
 
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
 
std::vector< ClassLabelType > ClassLabelVectorType
 
This class generates a KdTree object with centroid information.
 
KdTree< AdaptorType > KdTreeType
 
#define itkConceptMacro(name, concept)
 
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....