ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkStatisticsLabelMapFilter.h>
The valuator class for the ShapeLabelObject.
StatisticsCollectionImageFilter can be used to set the attributes values of the StatisticsLabelObject in a LabelMap.
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 41 of file itkStatisticsLabelMapFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FeatureImageType::ConstPointer | FeatureImageConstPointer |
typedef FeatureImageType::PixelType | FeatureImagePixelType |
typedef FeatureImageType::Pointer | FeatureImagePointer |
typedef TFeatureImage | FeatureImageType |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageType::Pointer | ImagePointer |
typedef TImage | ImageType |
typedef ImageType::IndexType | IndexType |
typedef ImageType::LabelObjectType | LabelObjectType |
typedef LabelObjectType::MatrixType | MatrixType |
typedef ImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef ImageType::PointType | PointType |
typedef StatisticsLabelMapFilter | Self |
typedef ShapeLabelMapFilter < TImage > | Superclass |
typedef LabelObjectType::VectorType | VectorType |
Public Types inherited from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType, TImage::ImageDimension > > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageType::Pointer | ImagePointer |
typedef TImage | ImageType |
typedef ImageType::IndexType | IndexType |
typedef LabelImageType::ConstPointer | LabelImageConstPointer |
typedef LabelImageType::Pointer | LabelImagePointer |
typedef Image < TImage::PixelType, TImage::ImageDimension > | LabelImageType |
typedef ImageType::LabelObjectType | LabelObjectType |
typedef LabelImageType::PixelType | LabelPixelType |
typedef LabelObjectType::MatrixType | MatrixType |
typedef ImageType::OffsetType | OffsetType |
typedef ImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef ImageType::RegionType | RegionType |
typedef ShapeLabelMapFilter | Self |
typedef ImageType::SizeType | SizeType |
typedef InPlaceLabelMapFilter < TImage > | Superclass |
typedef LabelObjectType::VectorType | VectorType |
Public Types inherited from itk::InPlaceLabelMapFilter< TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | IndexType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef InputImageType::LabelObjectType | LabelObjectType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef InputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef InputImageType::RegionType | RegionType |
typedef InPlaceLabelMapFilter | Self |
typedef LabelMapFilter< TImage, TImage > | Superclass |
typedef TImage | TOutputImage |
Public Types inherited from itk::LabelMapFilter< TImage, TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Superclass::InputImageType | InputImageType |
typedef InputImageType::LabelObjectType | LabelObjectType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef LabelMapFilter | Self |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TImage > | Superclass |
Public Types inherited from itk::ImageSource< TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
FeatureImageType * | GetFeatureImage () |
virtual const char * | GetNameOfClass () const |
void | SetFeatureImage (const TFeatureImage *input) |
void | SetInput1 (TImage *input) |
void | SetInput2 (const TFeatureImage *input) |
virtual void | SetComputeHistogram (bool _arg) |
virtual const bool & | GetComputeHistogram () const |
virtual void | ComputeHistogramOn () |
virtual void | ComputeHistogramOff () |
virtual void | SetNumberOfBins (unsigned int _arg) |
virtual const unsigned int & | GetNumberOfBins () const |
Public Member Functions inherited from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType, TImage::ImageDimension > > | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | SetLabelImage (const Image< TImage::PixelType, TImage::ImageDimension > *input) |
virtual void | SetComputeFeretDiameter (bool _arg) |
virtual const bool & | GetComputeFeretDiameter () const |
virtual void | ComputeFeretDiameterOn () |
virtual void | ComputeFeretDiameterOff () |
virtual void | SetComputePerimeter (bool _arg) |
virtual const bool & | GetComputePerimeter () const |
virtual void | ComputePerimeterOn () |
virtual void | ComputePerimeterOff () |
Public Member Functions inherited from itk::InPlaceLabelMapFilter< TImage > | |
bool | CanRunInPlace () const |
virtual void | SetInPlace (bool _arg) |
virtual bool | GetInPlace () |
virtual void | InPlaceOn () |
virtual void | InPlaceOff () |
Public Member Functions inherited from itk::LabelMapFilter< TImage, TImage > | |
void | EnlargeOutputRequestedRegion (DataObject *) override |
void | GenerateInputRequestedRegion () override |
Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage > | |
const InputImageType * | GetInput () const |
const InputImageType * | GetInput (unsigned int idx) const |
virtual void | PopBackInput () override |
virtual void | PopFrontInput () override |
virtual void | PushBackInput (const InputImageType *image) |
virtual void | PushFrontInput (const InputImageType *image) |
virtual void | SetInput (const InputImageType *image) |
virtual void | SetInput (unsigned int, const TImage *image) |
virtual void | SetCoordinateTolerance (double _arg) |
virtual double | GetCoordinateTolerance () const |
virtual void | SetDirectionTolerance (double _arg) |
virtual double | GetDirectionTolerance () const |
Public Member Functions inherited from itk::ImageSource< TImage > | |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput () |
const OutputImageType * | GetOutput () const |
virtual void | GraftOutput (DataObject *output) |
virtual ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override |
virtual ProcessObject::DataObjectPointer | MakeOutput (const ProcessObject::DataObjectIdentifierType &) override |
Public Member Functions inherited from itk::ProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () const |
DataObjectPointerArray | GetIndexedInputs () |
DataObjectPointerArray | GetIndexedOutputs () |
NameArray | GetInputNames () const |
DataObjectPointerArray | GetInputs () |
MultiThreader * | GetMultiThreader () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
DataObjectPointerArray | GetOutputs () |
virtual const float & | GetProgress () const |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
virtual void | PrepareOutputs () |
virtual void | PropagateRequestedRegion (DataObject *output) |
virtual void | ResetPipeline () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | Update () |
virtual void | UpdateLargestPossibleRegion () |
virtual void | UpdateOutputData (DataObject *output) |
virtual void | UpdateOutputInformation () |
void | UpdateProgress (float progress) |
void | SetProgress (float progress) |
virtual void | SetReleaseDataFlag (bool flag) |
virtual bool | GetReleaseDataFlag () const |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
virtual const bool & | GetReleaseDataBeforeUpdateFlag () const |
virtual void | ReleaseDataBeforeUpdateFlagOn () |
virtual void | ReleaseDataBeforeUpdateFlagOff () |
virtual void | SetNumberOfThreads (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfThreads () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType, TImage::ImageDimension > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::InPlaceLabelMapFilter< TImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LabelMapFilter< TImage, TImage > | |
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 | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType, TImage::ImageDimension > > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::InPlaceLabelMapFilter< TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::LabelMapFilter< TImage, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static const unsigned int | OutputImageDimension |
Private Member Functions | |
void | operator= (const Self &) |
StatisticsLabelMapFilter (const Self &) | |
Private Attributes | |
bool | m_ComputeHistogram |
FeatureImagePixelType | m_Maximum |
FeatureImagePixelType | m_Minimum |
unsigned int | m_NumberOfBins |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::LabelMapFilter< TImage, TImage > | |
FastMutexLock::Pointer | m_LabelObjectContainerLock |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ConstPointer |
Definition at line 50 of file itkStatisticsLabelMapFilter.h.
typedef FeatureImageType::ConstPointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImageConstPointer |
Definition at line 65 of file itkStatisticsLabelMapFilter.h.
typedef FeatureImageType::PixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImagePixelType |
Definition at line 66 of file itkStatisticsLabelMapFilter.h.
typedef FeatureImageType::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImagePointer |
Definition at line 64 of file itkStatisticsLabelMapFilter.h.
typedef TFeatureImage itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::FeatureImageType |
Definition at line 63 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::ConstPointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageConstPointer |
Definition at line 55 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::Pointer itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImagePointer |
Definition at line 54 of file itkStatisticsLabelMapFilter.h.
typedef TImage itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::ImageType |
Some convenient typedefs.
Definition at line 53 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::IndexType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::IndexType |
Definition at line 57 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::LabelObjectType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::LabelObjectType |
Definition at line 59 of file itkStatisticsLabelMapFilter.h.
typedef LabelObjectType::MatrixType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::MatrixType |
Definition at line 60 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::PixelType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PixelType |
Definition at line 56 of file itkStatisticsLabelMapFilter.h.
typedef SmartPointer< Self > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Pointer |
Definition at line 49 of file itkStatisticsLabelMapFilter.h.
typedef ImageType::PointType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::PointType |
Definition at line 58 of file itkStatisticsLabelMapFilter.h.
typedef StatisticsLabelMapFilter itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Self |
Standard class typedefs.
Definition at line 47 of file itkStatisticsLabelMapFilter.h.
typedef ShapeLabelMapFilter< TImage > itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::Superclass |
Definition at line 48 of file itkStatisticsLabelMapFilter.h.
typedef LabelObjectType::VectorType itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::VectorType |
Definition at line 61 of file itkStatisticsLabelMapFilter.h.
|
protected |
|
inlineprotected |
Definition at line 137 of file itkStatisticsLabelMapFilter.h.
|
private |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType, TImage::ImageDimension > >.
|
virtual |
Set/Get whether the histogram should be attached to the label object or not. This option defaults to true
, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.
|
virtual |
Set/Get whether the histogram should be attached to the label object or not. This option defaults to true
, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.
|
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.
|
virtual |
Set/Get whether the histogram should be attached to the label object or not. This option defaults to true
, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.
|
inline |
Get the feature image
Definition at line 98 of file itkStatisticsLabelMapFilter.h.
References itk::ProcessObject::GetInput().
|
virtual |
Runtime information support.
Reimplemented from itk::ShapeLabelMapFilter< TImage, Image< TImage::PixelType, TImage::ImageDimension > >.
|
virtual |
Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.
|
static |
Standard New method.
|
private |
|
overrideprotectedvirtual |
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::InPlaceLabelMapFilter< TImage >.
|
virtual |
Set/Get whether the histogram should be attached to the label object or not. This option defaults to true
, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.
|
inline |
Set the feature image
Definition at line 91 of file itkStatisticsLabelMapFilter.h.
References itk::ProcessObject::SetNthInput().
Referenced by itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetInput2().
|
inline |
Set the input image
Definition at line 104 of file itkStatisticsLabelMapFilter.h.
References itk::ImageToImageFilter< TImage, TImage >::SetInput().
|
inline |
Set the feature image
Definition at line 110 of file itkStatisticsLabelMapFilter.h.
References itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::SetFeatureImage().
|
virtual |
Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.
|
overrideprotectedvirtual |
|
static |
ImageDimension constants
Definition at line 70 of file itkStatisticsLabelMapFilter.h.
|
private |
Definition at line 152 of file itkStatisticsLabelMapFilter.h.
|
private |
Definition at line 150 of file itkStatisticsLabelMapFilter.h.
|
private |
Definition at line 149 of file itkStatisticsLabelMapFilter.h.
|
private |
Definition at line 151 of file itkStatisticsLabelMapFilter.h.