#include <itkScalarImageKmeansImageFilter.h>
Inheritance diagram for itk::ScalarImageKmeansImageFilter< TInputImage >:
Given an input image with scalar values, it uses the K-Means statistical classifier in order to define labels for every pixel in the image. The filter is templated over the type of the input image. The output image is predefined as having the same dimension of the input image and pixel type unsigned char, under the assumption that the classifier will generate less than 256 classes.
You may want to look also at the RelabelImageFilter that may be used as a postprocessing stage, in particular if you are interested in ordering the labels by their relative size in number of pixels.
KdTreeBasedKmeansEstimator, WeightedCentroidKdTreeGenerator, KdTree
RelabelImageFilter
Definition at line 60 of file itkScalarImageKmeansImageFilter.h.
|
Create a List from the scalar image Definition at line 95 of file itkScalarImageKmeansImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. Definition at line 78 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 105 of file itkScalarImageKmeansImageFilter.h. |
|
Convenient typedefs for simplifying declarations. Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. Definition at line 70 of file itkScalarImageKmeansImageFilter.h. |
|
Image typedef support. Definition at line 87 of file itkScalarImageKmeansImageFilter.h. |
|
Define the Measurement vector type from the AdaptorType Definition at line 98 of file itkScalarImageKmeansImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. Definition at line 72 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 88 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 107 of file itkScalarImageKmeansImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. Definition at line 77 of file itkScalarImageKmeansImageFilter.h. |
|
Type used for representing the Mean values Definition at line 91 of file itkScalarImageKmeansImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. Definition at line 75 of file itkScalarImageKmeansImageFilter.h. Referenced by itk::ScalarImageKmeansImageFilter< TInputImage >::~ScalarImageKmeansImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. Definition at line 76 of file itkScalarImageKmeansImageFilter.h. |
|
Create the K-d tree structure Definition at line 103 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 104 of file itkScalarImageKmeansImageFilter.h. |
|
|
|
Definition at line 128 of file itkScalarImageKmeansImageFilter.h. References itk::ScalarImageKmeansImageFilter< TInputImage >::Self. |
|
Add a new class to the classification by specifying its initial mean. |
|
This method runs the statistical methods that identify the means of the classes and the use the distances to those means in order to label the image pixels. *
Reimplemented from itk::ImageSource< Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. |
|
Return the array of Means found after the classification |
|
Set/Get the UseNonContiguousLabels flag. When this is set to false the labels are numbered contiguously, like in {0,1,3..N}. When the flag is set to true, the labels are selected in order to span the dynamic range of the output image. This last option is useful when the output image is intended only for display. The default value is false. |
|
Extract dimension from input and output image. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >. |
|
Set/Get the UseNonContiguousLabels flag. When this is set to false the labels are numbered contiguously, like in {0,1,3..N}. When the flag is set to true, the labels are selected in order to span the dynamic range of the output image. This last option is useful when the output image is intended only for display. The default value is false. |
|
Set/Get the UseNonContiguousLabels flag. When this is set to false the labels are numbered contiguously, like in {0,1,3..N}. When the flag is set to true, the labels are selected in order to span the dynamic range of the output image. This last option is useful when the output image is intended only for display. The default value is false. |
|
Set/Get the UseNonContiguousLabels flag. When this is set to false the labels are numbered contiguously, like in {0,1,3..N}. When the flag is set to true, the labels are selected in order to span the dynamic range of the output image. This last option is useful when the output image is intended only for display. The default value is false. |