ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkStatisticsRelabelImageFilter.h>
relabel objects according to their shape attributes
StatisticsRelabelImageFilter relabel a labeled image according to the statistics attributes of the objects. The label produced are always consecutives.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 45 of file itkStatisticsRelabelImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TInputImage::ImageDimension |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TInputImage > | |
static const unsigned int | OutputImageDimension |
Private Member Functions | |
void | operator= (const Self &) |
StatisticsRelabelImageFilter (const Self &) | |
Private Attributes | |
AttributeType | m_Attribute |
OutputImagePixelType | m_BackgroundValue |
bool | m_ReverseOrdering |
typedef LabelObjectType::AttributeType itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::AttributeType |
Definition at line 85 of file itkStatisticsRelabelImageFilter.h.
typedef LabelMapToLabelImageFilter< LabelMapType, OutputImageType > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::BinarizerType |
Definition at line 87 of file itkStatisticsRelabelImageFilter.h.
typedef SmartPointer< const Self > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::ConstPointer |
Definition at line 53 of file itkStatisticsRelabelImageFilter.h.
typedef FeatureImageType::ConstPointer itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::FeatureImageConstPointer |
Definition at line 69 of file itkStatisticsRelabelImageFilter.h.
typedef FeatureImageType::PixelType itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::FeatureImagePixelType |
Definition at line 70 of file itkStatisticsRelabelImageFilter.h.
typedef FeatureImageType::Pointer itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::FeatureImagePointer |
Definition at line 68 of file itkStatisticsRelabelImageFilter.h.
typedef TFeatureImage itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::FeatureImageType |
Definition at line 67 of file itkStatisticsRelabelImageFilter.h.
typedef InputImageType::ConstPointer itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::InputImageConstPointer |
Definition at line 59 of file itkStatisticsRelabelImageFilter.h.
typedef InputImageType::PixelType itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::InputImagePixelType |
Definition at line 61 of file itkStatisticsRelabelImageFilter.h.
typedef InputImageType::Pointer itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::InputImagePointer |
Definition at line 58 of file itkStatisticsRelabelImageFilter.h.
typedef InputImageType::RegionType itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::InputImageRegionType |
Definition at line 60 of file itkStatisticsRelabelImageFilter.h.
typedef TInputImage itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::InputImageType |
Some convenient typedefs.
Definition at line 56 of file itkStatisticsRelabelImageFilter.h.
typedef LabelImageToLabelMapFilter< InputImageType, LabelMapType > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::LabelizerType |
Definition at line 83 of file itkStatisticsRelabelImageFilter.h.
typedef LabelMap< LabelObjectType > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::LabelMapType |
Definition at line 82 of file itkStatisticsRelabelImageFilter.h.
typedef StatisticsLabelObject< InputImagePixelType, itkGetStaticConstMacro(ImageDimension) > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::LabelObjectType |
Definition at line 81 of file itkStatisticsRelabelImageFilter.h.
typedef StatisticsLabelMapFilter< LabelMapType, TFeatureImage > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::LabelObjectValuatorType |
Definition at line 84 of file itkStatisticsRelabelImageFilter.h.
typedef OutputImageType::ConstPointer itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::OutputImageConstPointer |
Definition at line 63 of file itkStatisticsRelabelImageFilter.h.
typedef OutputImageType::PixelType itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::OutputImagePixelType |
Definition at line 65 of file itkStatisticsRelabelImageFilter.h.
typedef OutputImageType::Pointer itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::OutputImagePointer |
Definition at line 62 of file itkStatisticsRelabelImageFilter.h.
typedef OutputImageType::RegionType itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::OutputImageRegionType |
Definition at line 64 of file itkStatisticsRelabelImageFilter.h.
typedef TInputImage itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::OutputImageType |
Definition at line 57 of file itkStatisticsRelabelImageFilter.h.
typedef SmartPointer< Self > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::Pointer |
Definition at line 52 of file itkStatisticsRelabelImageFilter.h.
typedef StatisticsRelabelLabelMapFilter< LabelMapType > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::RelabelType |
Definition at line 86 of file itkStatisticsRelabelImageFilter.h.
typedef StatisticsRelabelImageFilter itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::Self |
Standard class typedefs.
Definition at line 50 of file itkStatisticsRelabelImageFilter.h.
typedef ImageToImageFilter< TInputImage, TInputImage > itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::Superclass |
Definition at line 51 of file itkStatisticsRelabelImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 163 of file itkStatisticsRelabelImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
protectedvirtual |
StatisticsRelabelImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
|
protectedvirtual |
StatisticsRelabelImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
virtual |
Set/Get the attribute to use. Default is "Mean".
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
inline |
Get the feature image
Definition at line 144 of file itkStatisticsRelabelImageFilter.h.
References itk::ProcessObject::GetInput().
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Set ReverseOrdering to true make the one with the smallest attributes be labeled first.
|
static |
Standard New method.
|
private |
|
protectedvirtual |
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 >.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Set ReverseOrdering to true make the one with the smallest attributes be labeled first.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Set ReverseOrdering to true make the one with the smallest attributes be labeled first.
|
virtual |
Set/Get the attribute to use. Default is "Mean".
Referenced by itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::SetAttribute().
|
inline |
Set/Get the attribute to use. Default is "Mean".
Definition at line 130 of file itkStatisticsRelabelImageFilter.h.
References itk::StatisticsLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::SetAttribute().
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
inline |
Set the feature image
Definition at line 137 of file itkStatisticsRelabelImageFilter.h.
References itk::ProcessObject::SetNthInput().
Referenced by itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::SetInput2().
|
inline |
Set the input image
Definition at line 150 of file itkStatisticsRelabelImageFilter.h.
References itk::ImageToImageFilter< TInputImage, TInputImage >::SetInput().
|
inline |
Set the feature image
Definition at line 156 of file itkStatisticsRelabelImageFilter.h.
References itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::SetFeatureImage().
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Set ReverseOrdering to true make the one with the smallest attributes be labeled first.
itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
This class requires InputEqualityComparableCheck in the form of ( Concept::EqualityComparable< InputImagePixelType > )
itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of ( Concept::Convertible< int, InputImagePixelType > )
itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< InputImagePixelType > )
|
static |
ImageDimension constants
Definition at line 78 of file itkStatisticsRelabelImageFilter.h.
|
static |
ImageDimension constants
Definition at line 74 of file itkStatisticsRelabelImageFilter.h.
|
private |
Definition at line 184 of file itkStatisticsRelabelImageFilter.h.
|
private |
Definition at line 182 of file itkStatisticsRelabelImageFilter.h.
|
private |
Definition at line 183 of file itkStatisticsRelabelImageFilter.h.
|
static |
ImageDimension constants
Definition at line 76 of file itkStatisticsRelabelImageFilter.h.