#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 62 of file itkScalarImageKmeansImageFilter.h.
|
Create a List from the scalar image Definition at line 97 of file itkScalarImageKmeansImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 80 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 107 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 111 of file itkScalarImageKmeansImageFilter.h. Referenced by itk::ScalarImageKmeansImageFilter< TInputImage >::~ScalarImageKmeansImageFilter(). |
|
Convenient typedefs for simplifying declarations. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 72 of file itkScalarImageKmeansImageFilter.h. |
|
Image typedef support. Definition at line 89 of file itkScalarImageKmeansImageFilter.h. |
|
Define the Measurement vector type from the AdaptorType Definition at line 100 of file itkScalarImageKmeansImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 74 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 90 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 109 of file itkScalarImageKmeansImageFilter.h. Referenced by itk::ScalarImageKmeansImageFilter< TInputImage >::~ScalarImageKmeansImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 79 of file itkScalarImageKmeansImageFilter.h. |
|
Type used for representing the Mean values Definition at line 93 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 115 of file itkScalarImageKmeansImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 77 of file itkScalarImageKmeansImageFilter.h. Referenced by itk::ScalarImageKmeansImageFilter< TInputImage >::~ScalarImageKmeansImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 78 of file itkScalarImageKmeansImageFilter.h. |
|
Create the K-d tree structure Definition at line 105 of file itkScalarImageKmeansImageFilter.h. |
|
Definition at line 106 of file itkScalarImageKmeansImageFilter.h. |
|
|
|
|
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< TOutputImage >. |
|
Return the array of Means found after the classification |
|
Get the region over which the statistics will be computed |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
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, TOutputImage >. |
|
Set Region method to constrain classfication to a certain region |
|
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. |