#include <itkLabelStatisticsImageFilter.h>
Inheritance diagram for itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >:
LabelStatisticsImageFilter computes the minimum, maximum, sum, mean, median, variance and sigma of regions of an intensity image, where the regions are defined via a label map (a second input). The label image should be integral type. The filter needs all of its input image. It behaves as a filter with an input and output. Thus it can be inserted in a pipline with other filters and the statistics will only be recomputed if a downstream filter changes.
Optionally, the filter also computes intensity histograms on each object. If histograms are enabled, a median intensity value can also be computed, although its accuracy is limited to the bin width of the histogram. If histograms are not enabled, the median returns zero.
The filter passes its intensity input through unmodified. The filter is threaded. It computes statistics in each thread then combines them in its AfterThreadedGenerate method.
Definition at line 55 of file itkLabelStatisticsImageFilter.h.
|
Bounding Box-related typedefs Definition at line 100 of file itkLabelStatisticsImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 63 of file itkLabelStatisticsImageFilter.h. |
|
Smart Pointer type to a DataObject. Reimplemented from itk::ImageSource< TInputImage >. Definition at line 94 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 104 of file itkLabelStatisticsImageFilter.h. |
|
Histogram-related typedefs Definition at line 103 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 75 of file itkLabelStatisticsImageFilter.h. |
|
Image related typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 72 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 80 of file itkLabelStatisticsImageFilter.h. |
|
Label image related typedefs. Definition at line 79 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::GetLabelInput(). |
|
Definition at line 83 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 84 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::HasLabel(). |
|
Definition at line 81 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 82 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 221 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 220 of file itkLabelStatisticsImageFilter.h. |
|
Type of the map used to store data per label Definition at line 219 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::~LabelStatisticsImageFilter(). |
|
Definition at line 76 of file itkLabelStatisticsImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 62 of file itkLabelStatisticsImageFilter.h. |
|
Type of DataObjects used for scalar outputs Definition at line 97 of file itkLabelStatisticsImageFilter.h. |
|
Type to use for computations. Definition at line 91 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::LabelStatistics::LabelStatistics(), and itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::~LabelStatisticsImageFilter(). |
|
Definition at line 73 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::~LabelStatisticsImageFilter(). |
|
Standard Self typedef Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 60 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::~LabelStatisticsImageFilter(). |
|
Definition at line 74 of file itkLabelStatisticsImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 61 of file itkLabelStatisticsImageFilter.h. |
|
|
|
|
Do final mean and variance computation from data accumulated in threads. Reimplemented from itk::ImageSource< TInputImage >. |
|
Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method. Reimplemented from itk::ImageSource< TInputImage >. |
|
Initialize some accumulators before the threads run. Reimplemented from itk::ImageSource< TInputImage >. |
|
Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region. Reimplemented from itk::ProcessObject. |
|
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierachy. Up till now, the base assumption has been that the largest possible region will be requested of the input. This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. |
|
Return the computed bounding box for a label. |
|
Return the number of pixels for a label. |
|
Return the histogram for a label |
|
Get the label image Definition at line 236 of file itkLabelStatisticsImageFilter.h. References itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::LabelImageType. |
|
Return the computed Maximum for a label. |
|
Return the computed Mean for a label. |
|
Return the computed Median for a label. Requires histograms to be enabled! |
|
Return the computed Minimum for a label. |
|
Runtime information support. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. |
|
Get the number of labels used Definition at line 253 of file itkLabelStatisticsImageFilter.h. |
|
Get the number of labels used Definition at line 249 of file itkLabelStatisticsImageFilter.h. |
|
Return the computed region. |
|
Return the computed Standard Deviation for a label. |
|
Return the compute Sum for a label. |
|
|
|
Return the computed Variance for a label. |
|
Does the specified label exist? Can only be called after a call a call to Update(). Definition at line 243 of file itkLabelStatisticsImageFilter.h. References itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::LabelPixelType. |
|
Image related typedefs. |
|
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, TInputImage >. |
|
specify Histogram parameters |
|
Set the label image Definition at line 229 of file itkLabelStatisticsImageFilter.h. |
|
|
|
Multi-thread version GenerateData. |
|
|
|
|