ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | List of all members
itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer > Class Template Reference

#include <itkScalarImageToRunLengthFeaturesFilter.h>

+ Inheritance diagram for itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >:
+ Collaboration diagram for itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >:

Detailed Description

template<typename TImageType, typename THistogramFrequencyContainer = DenseFrequencyContainer2>
class itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >

This class computes run length descriptions from an image.

By default, run length features are computed for each spatial direction and then averaged afterward, so it is possible to access the standard deviations of the texture features. These values give a clue as to texture anisotropy. However, doing this is much more work, because it involved computing one for each offset given. To compute a single matrix using the first offset, call FastCalculationsOn(). If this is called, then the texture standard deviations will not be computed (and will be set to zero), but texture computation will be much faster.

This class is templated over the input image type.

Template Parameters: The image type, and the type of histogram frequency container. If you are using a large number of bins per axis, a sparse frequency container may be advisable. The default is to use a dense frequency container.

Inputs and parameters:

  1. An image
  2. A mask defining the region over which texture features will be calculated. (Optional)
  3. The pixel value that defines the "inside" of the mask. (Optional, defaults to 1 if a mask is set.)
  4. The set of features to be calculated. These features are defined in the HistogramToRunLengthFeaturesFilter class.
  5. The number of intensity bins. (Optional, defaults to 256.)
  6. The set of directions (offsets) to average across. (Optional, defaults to {(-1, 0), (-1, -1), (0, -1), (1, -1)} for 2D images and scales analogously for ND images.)
  7. The pixel intensity range over which the features will be calculated. (Optional, defaults to the full dynamic range of the pixel type.)
  8. The distance range over which the features will be calculated. (Optional, defaults to the full dynamic range of double type.)

In general, the default parameter values should be sufficient.

Outputs: (1) The average value of each feature. (2) The standard deviation in the values of each feature.

Print references: M. M. Galloway. Texture analysis using gray level run lengths. Computer Graphics and Image Processing, 4:172-179, 1975.

A. Chu, C. M. Sehgal, and J. F. Greenleaf. Use of gray value distribution of run lengths for texture analysis. Pattern Recognition Letters, 11:415-420, 1990.

B. R. Dasarathy and E. B. Holder. Image characterizations based on joint gray-level run-length distributions. Pattern Recognition Letters, 12:490-502, 1991.

IJ article: http://hdl.handle.net/1926/1374

See Also
ScalarImageToRunLengthFeaturesFilter
ScalarImageToRunLengthMatrixFilter
HistogramToRunLengthFeaturesFilter
Author
: Nick Tustison

Definition at line 96 of file itkScalarImageToRunLengthFeaturesFilter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef DataObject::Pointer DataObjectPointer
 
typedef VectorContainer
< unsigned char,
RunLengthFeatureName
FeatureNameVector
 
typedef
FeatureNameVector::ConstPointer 
FeatureNameVectorConstPointer
 
typedef FeatureNameVector::Pointer FeatureNameVectorPointer
 
typedef VectorContainer
< unsigned char, double > 
FeatureValueVector
 
typedef DataObjectDecorator
< FeatureValueVector
FeatureValueVectorDataObjectType
 
typedef FeatureValueVector::Pointer FeatureValueVectorPointer
 
typedef
THistogramFrequencyContainer 
FrequencyContainerType
 
typedef
RunLengthMatrixFilterType::HistogramType 
HistogramType
 
typedef ImageType::Pointer ImagePointer
 
typedef TImageType ImageType
 
typedef ImageType::OffsetType OffsetType
 
typedef VectorContainer
< unsigned char, OffsetType
OffsetVector
 
typedef OffsetVector::ConstPointer OffsetVectorConstPointer
 
typedef OffsetVector::Pointer OffsetVectorPointer
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef short RunLengthFeatureName
 
typedef
HistogramToRunLengthFeaturesFilter
< HistogramType
RunLengthFeaturesFilterType
 
typedef
ScalarImageToRunLengthMatrixFilter
< ImageType,
FrequencyContainerType
RunLengthMatrixFilterType
 
typedef
ScalarImageToRunLengthFeaturesFilter 
Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void FastCalculationsOff ()
 
virtual void FastCalculationsOn ()
 
virtual bool GetFastCalculations () const
 
const
FeatureValueVectorDataObjectType
GetFeatureMeansOutput () const
 
const
FeatureValueVectorDataObjectType
GetFeatureStandardDeviationsOutput () const
 
const ImageTypeGetInput () const
 
const ImageTypeGetMaskImage () const
 
virtual const char * GetNameOfClass () const
 
virtual void SetFastCalculations (bool _arg)
 
void SetInput (const ImageType *)
 
void SetInsidePixelValue (PixelType InsidePixelValue)
 
void SetMaskImage (const ImageType *)
 
void SetNumberOfBinsPerAxis (unsigned int)
 
virtual const
FeatureValueVector::Pointer
GetFeatureMeans () const
 
virtual const
FeatureValueVector::Pointer
GetFeatureStandardDeviations () const
 
virtual void SetRequestedFeatures (const FeatureNameVector *_arg)
 
virtual const FeatureNameVectorGetRequestedFeatures () const
 
virtual void SetOffsets (const OffsetVector *_arg)
 
virtual const OffsetVectorGetOffsets () const
 
void SetPixelValueMinMax (PixelType min, PixelType max)
 
void SetDistanceValueMinMax (double min, double max)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
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 DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
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 ThreadIdTypeGetNumberOfThreads () 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
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () 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::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 ()
 

Protected Types

typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 

Protected Member Functions

void FastCompute ()
 
void FullCompute ()
 
virtual void GenerateData () override
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) override
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 ScalarImageToRunLengthFeaturesFilter ()
 
virtual ~ScalarImageToRunLengthFeaturesFilter ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

bool m_FastCalculations
 
FeatureValueVectorPointer m_FeatureMeans
 
FeatureValueVectorPointer m_FeatureStandardDeviations
 
OffsetVectorConstPointer m_Offsets
 
FeatureNameVectorConstPointer m_RequestedFeatures
 
RunLengthMatrixFilterType::Pointer m_RunLengthMatrixGenerator
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef SmartPointer< const Self > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::ConstPointer

Definition at line 103 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef DataObject::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::DataObjectPointer

Smart Pointer type to a DataObject.

Definition at line 139 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ProcessObject::DataObjectPointerArraySizeType itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::DataObjectPointerArraySizeType
protected

Make a DataObject to be used for output output.

Definition at line 214 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef VectorContainer<unsigned char, RunLengthFeatureName> itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVector

Definition at line 132 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef FeatureNameVector::ConstPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVectorConstPointer

Definition at line 134 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef FeatureNameVector::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVectorPointer

Definition at line 133 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef VectorContainer< unsigned char, double > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVector

Definition at line 135 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef DataObjectDecorator< FeatureValueVector > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVectorDataObjectType

Type of DataObjects used for scalar outputs

Definition at line 143 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef FeatureValueVector::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVectorPointer

Definition at line 136 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef THistogramFrequencyContainer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FrequencyContainerType

Definition at line 109 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef RunLengthMatrixFilterType::HistogramType itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::HistogramType

Definition at line 125 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ImageType::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::ImagePointer

Definition at line 113 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef TImageType itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::ImageType

Definition at line 112 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ImageType::OffsetType itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetType

Definition at line 116 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef VectorContainer< unsigned char, OffsetType > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVector

Definition at line 117 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef OffsetVector::ConstPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVectorConstPointer

Definition at line 119 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef OffsetVector::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVectorPointer

Definition at line 118 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ImageType::PixelType itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::PixelType

Definition at line 115 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef SmartPointer< Self > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::Pointer

Definition at line 102 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef short itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::RunLengthFeatureName

Definition at line 130 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef HistogramToRunLengthFeaturesFilter< HistogramType > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::RunLengthFeaturesFilterType

Definition at line 128 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ScalarImageToRunLengthMatrixFilter< ImageType, FrequencyContainerType > itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::RunLengthMatrixFilterType

Definition at line 122 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ScalarImageToRunLengthFeaturesFilter itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::Self

Standard typedefs

Definition at line 100 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
typedef ProcessObject itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::Superclass

Definition at line 101 of file itkScalarImageToRunLengthFeaturesFilter.h.

Constructor & Destructor Documentation

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::ScalarImageToRunLengthFeaturesFilter ( )
protected
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::~ScalarImageToRunLengthFeaturesFilter ( )
inlineprotectedvirtual

Definition at line 203 of file itkScalarImageToRunLengthFeaturesFilter.h.

Member Function Documentation

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual::itk::LightObject::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::CreateAnother ( ) const
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.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FastCalculationsOff ( )
virtual
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FastCalculationsOn ( )
virtual
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FastCompute ( )
protected
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::FullCompute ( )
protected
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GenerateData ( )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual bool itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFastCalculations ( ) const
virtual
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual const FeatureValueVector ::Pointer& itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureMeans ( ) const
virtual

Return the feature means and deviations.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
const FeatureValueVectorDataObjectType* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureMeansOutput ( ) const
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual const FeatureValueVector ::Pointer& itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureStandardDeviations ( ) const
virtual

Return the feature means and deviations.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
const FeatureValueVectorDataObjectType* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureStandardDeviationsOutput ( ) const
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
const ImageType* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetInput ( ) const
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
const ImageType* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetMaskImage ( ) const
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual const char* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual const OffsetVector* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetOffsets ( ) const
virtual

Set the offsets over which the co-occurrence pairs will be computed. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual const FeatureNameVector* itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetRequestedFeatures ( ) const
virtual

Set the desired feature set. Optional, for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual DataObjectPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::MakeOutput ( DataObjectPointerArraySizeType  idx)
overrideprotectedvirtual

Make a DataObject of the correct type to used as the specified output.

Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
static Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::New ( )
static

standard New() method support

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
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::ProcessObject.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetDistanceValueMinMax ( double  min,
double  max 
)

Set the min and max (inclusive) pixel value that will be used for feature calculations. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetFastCalculations ( bool  _arg)
virtual
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetInput ( const ImageType )
template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetInsidePixelValue ( PixelType  InsidePixelValue)

Set the pixel value of the mask that should be considered "inside" the object. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetMaskImage ( const ImageType )

Connects the mask image for which the histogram is going to be computed. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetNumberOfBinsPerAxis ( unsigned  int)

Set number of histogram bins along each axis. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetOffsets ( const OffsetVector _arg)
virtual

Set the offsets over which the co-occurrence pairs will be computed. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetPixelValueMinMax ( PixelType  min,
PixelType  max 
)

Set the min and max (inclusive) pixel value that will be used for feature calculations. Optional; for default value see above.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
virtual void itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetRequestedFeatures ( const FeatureNameVector _arg)
virtual

Set the desired feature set. Optional, for default value see above.

Member Data Documentation

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
bool itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::m_FastCalculations
private

Definition at line 225 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
FeatureValueVectorPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::m_FeatureMeans
private

Definition at line 221 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
FeatureValueVectorPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::m_FeatureStandardDeviations
private

Definition at line 222 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
OffsetVectorConstPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::m_Offsets
private

Definition at line 224 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
FeatureNameVectorConstPointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::m_RequestedFeatures
private

Definition at line 223 of file itkScalarImageToRunLengthFeaturesFilter.h.

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2>
RunLengthMatrixFilterType::Pointer itk::Statistics::ScalarImageToRunLengthFeaturesFilter< TImageType, THistogramFrequencyContainer >::m_RunLengthMatrixGenerator
private

Definition at line 219 of file itkScalarImageToRunLengthFeaturesFilter.h.


The documentation for this class was generated from the following file: