ITK
4.3.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 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 |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TInputImage > | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
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 164 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 |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
inline |
Get the feature image
Definition at line 145 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".
|
inline |
Set/Get the attribute to use. Default is "Mean".
Definition at line 131 of file itkStatisticsRelabelImageFilter.h.
|
virtual |
End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
inline |
Set the feature image
Definition at line 138 of file itkStatisticsRelabelImageFilter.h.
|
inline |
Set the input image
Definition at line 151 of file itkStatisticsRelabelImageFilter.h.
|
inline |
Set the feature image
Definition at line 157 of file itkStatisticsRelabelImageFilter.h.
|
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 > | ) |
Begin concept checking 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 185 of file itkStatisticsRelabelImageFilter.h.
|
private |
Definition at line 183 of file itkStatisticsRelabelImageFilter.h.
|
private |
Definition at line 184 of file itkStatisticsRelabelImageFilter.h.
|
static |
ImageDimension constants
Definition at line 76 of file itkStatisticsRelabelImageFilter.h.