#include <itkLabelStatisticsImageFilter.h>
Inheritance diagram for itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >:
LabelStatisticsImageFilter computes the minimum, maximum, sum, mean, 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.
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 47 of file itkLabelStatisticsImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 55 of file itkLabelStatisticsImageFilter.h. |
|
Smart Pointer type to a DataObject. Reimplemented from itk::ImageSource< TInputImage >. Definition at line 86 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 67 of file itkLabelStatisticsImageFilter.h. |
|
Image related typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 64 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 72 of file itkLabelStatisticsImageFilter.h. |
|
Label image related typedefs. Definition at line 71 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 75 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 76 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 73 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 74 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 125 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 124 of file itkLabelStatisticsImageFilter.h. |
|
Type of the map used to store data per label Definition at line 123 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::~LabelStatisticsImageFilter(). |
|
Definition at line 68 of file itkLabelStatisticsImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 54 of file itkLabelStatisticsImageFilter.h. |
|
Type of DataObjects used for scalar outputs Definition at line 89 of file itkLabelStatisticsImageFilter.h. |
|
Type to use form computations. Definition at line 83 of file itkLabelStatisticsImageFilter.h. |
|
Definition at line 65 of file itkLabelStatisticsImageFilter.h. |
|
Standard Self typedef Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 52 of file itkLabelStatisticsImageFilter.h. Referenced by itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::~LabelStatisticsImageFilter(). |
|
Definition at line 66 of file itkLabelStatisticsImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. Definition at line 53 of file itkLabelStatisticsImageFilter.h. |
|
|
|
Definition at line 182 of file itkLabelStatisticsImageFilter.h. References itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::MapType, and itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::Self. |
|
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 >. |
|
Runtime information support. Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >. |
|
Return the number of pixels for a label. |
|
Get the label image Definition at line 135 of file itkLabelStatisticsImageFilter.h. |
|
Return the computed Maximum for a label. |
|
Return the computed Mean for a label. |
|
Return the computed Minimum for a label. |
|
Get the number of labels used Definition at line 152 of file itkLabelStatisticsImageFilter.h. |
|
Get the number of labels used Definition at line 148 of file itkLabelStatisticsImageFilter.h. |
|
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 142 of file itkLabelStatisticsImageFilter.h. |
|
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 >. |
|
Set the label image Definition at line 128 of file itkLabelStatisticsImageFilter.h. References itk::ProcessObject::SetNthInput(). |
|
Multi-thread version GenerateData. |