ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage > Class Template Reference

#include <itkCoocurrenceTextureFeaturesImageFilter.h>

Detailed Description

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
class itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >

This class computes texture descriptions for each voxel of a given image and a mask image if provided. The output image can then be displayed by using colormaps.

This filter computes a N-D image where each voxel will contain a vector of up to 8 scalars representing the texture features (of the specified neighborhood) from a N-D scalar image. The texture features are computed for each spatial direction and averaged afterward.

This filter use grey-level co-occurence matrix in order to compute description a la Haralick. (See Haralick, R.M., K. Shanmugam and I. Dinstein. 1973. Textural Features for Image Classification. IEEE Transactions on Systems, Man and Cybernetics. SMC-3(6):610-620. See also Haralick, R.M. 1979. Statistical and Structural Approaches to Texture. Proceedings of the IEEE, 67:786-804.)

Template Parameters:

  1. The input image type: a N dimensional image where the pixel type MUST be integer.
  2. The output image type: a N dimensional image where the pixel type MUST be a vector of floating points or a VectorImage.

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 number of intensity bins. (Optional, defaults to 256.)
  5. 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.)
  6. The pixel intensity range over which the features will be calculated. (Optional, defaults to the full dynamic range of the pixel type.)
  7. The size of the neighborhood radius. (Optional, defaults to 2.)

Recommendations:

  1. Input image: To improve the computation time, the useful data should take as much space as possible in the input image. If the useful data is concentrated in one part of the image a crop step should be considered prior to the usage of this filter.
  2. Mask: Even if optional, the usage of a mask will greatly improve the computation time.
  3. Number of intensity bins: The number of bins should be adapted to the type of results expected and the intensity range. In addition a high number of bins will increase the computation time.
  4. Pixel intensity range: For better results the Pixel intensity should be adapted to the input image intensity range. For example they could be the minimum and maximum intensity of the image, or 0 and the maximum intensity (if the negative values are considered as noise).

WARNING: This probably won't work for pixels of double or long-double type unless you set the histogram min and max manually. This is because the largest histogram bin by default has max value of the largest possible pixel value plus 1. For double and long-double types, whose "RealType" as defined by the NumericTraits class is the same, and thus cannot hold any larger values, this would cause a float overflow.

See also
HistogramToTextureFeaturesFilter
ScalarImageToCooccurrenceMatrixFilte
ScalarImageToTextureFeaturesFilter
Author
: Jean-Baptiste Vimort

Definition at line 95 of file itkCoocurrenceTextureFeaturesImageFilter.h.

+ Inheritance diagram for itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >:
+ Collaboration diagram for itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using IndexType = typename InputImageType::IndexType
 
using InputImageType = TInputImage
 
using InputRegionType = typename InputImageType::RegionType
 
using MaskImageType = TMaskImage
 
using MaskPixelType = typename MaskImageType::PixelType
 
using MeasurementType = typename NumericTraits<PixelType>::RealType
 
using NeighborhoodRadiusType = typename itk::ConstNeighborhoodIterator<InputImageType>::RadiusType
 
using OffsetType = typename InputImageType::OffsetType
 
using OffsetVector = VectorContainer<unsigned char, OffsetType>
 
using OffsetVectorConstPointer = typename OffsetVector::ConstPointer
 
using OffsetVectorPointer = typename OffsetVector::Pointer
 
using OutputImageType = TOutputImage
 
using OutputPixelType = typename OutputImageType::PixelType
 
using OutputRealType = typename NumericTraits<OutputPixelType>::ScalarRealType
 
using OutputRegionType = typename OutputImageType::RegionType
 
using PixelType = typename InputImageType::PixelType
 
using Pointer = SmartPointer<Self>
 
using PointType = typename InputImageType::PointType
 
using RealType = typename NumericTraits<PixelType>::RealType
 
using Self = CoocurrenceTextureFeaturesImageFilter
 
using Superclass = ImageToImageFilter<TInputImage, TOutputImage>
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer<const Self>
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType
 
using OutputImageRegionType
 
using Pointer = SmartPointer<Self>
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource<TOutputImage>
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer<Self>
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector<DataObjectPointer>
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using NameArray = std::vector<DataObjectIdentifierType>
 
using Pointer = SmartPointer<Self>
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual PixelType GetHistogramMaximum () const
 
virtual PixelType GetHistogramMinimum () const
 
virtual MaskPixelType GetInsidePixelValue () const
 
virtual OffsetVector * GetModifiableOffsets ()
 
virtual const char * GetNameOfClass () const
 
virtual NeighborhoodRadiusType GetNeighborhoodRadius () const
 
virtual bool GetNormalize () const
 
virtual unsigned int GetNumberOfBinsPerAxis () const
 
virtual const OffsetVector * GetOffsets () const
 
 itkGetInputMacro (MaskImage, MaskImageType)
 
 itkSetInputMacro (MaskImage, MaskImageType)
 
virtual void NormalizeOff ()
 
virtual void NormalizeOn ()
 
virtual void SetHistogramMaximum (PixelType _arg)
 
virtual void SetHistogramMinimum (PixelType _arg)
 
virtual void SetInsidePixelValue (MaskPixelType _arg)
 
virtual void SetNeighborhoodRadius (NeighborhoodRadiusType _arg)
 
virtual void SetNormalize (bool _arg)
 
virtual void SetNumberOfBinsPerAxis (unsigned int _arg)
 
void SetOffset (const OffsetType offset)
 
virtual void SetOffsets (OffsetVector *_arg)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageType * GetInput () const
 
const InputImageType * GetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TInputImage *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< TOutputImage >
OutputImageType * GetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
OutputImageType * GetOutput ()
 
const OutputImageType * GetOutput () const
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
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 SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int DefaultBinsPerAxis = 256
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Types

using DigitizedImageType = itk::Image<HistogramIndexType, TInputImage::ImageDimension>
 
using HistogramIndexType = int
 
using NeighborhoodIteratorType = typename itk::ConstNeighborhoodIterator<DigitizedImageType>
 
using NeighborIndexType = typename NeighborhoodIteratorType::NeighborIndexType
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using InputToOutputRegionCopierType
 
using OutputToInputRegionCopierType
 

Protected Member Functions

void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
void ComputeFeatures (const vnl_matrix< unsigned int > &hist, const unsigned int totalNumberOfFreq, typename TOutputImage::PixelType &outputPixel)
 
void ComputeMeansAndVariances (const vnl_matrix< unsigned int > &hist, const unsigned int totalNumberOfFreq, double &pixelMean, double &marginalMean, double &marginalDevSquared, double &pixelVariance)
 
 CoocurrenceTextureFeaturesImageFilter ()
 
void DynamicThreadedGenerateData (const OutputRegionType &outputRegionForThread) override
 
void GenerateOutputInformation () override
 
bool IsInsideNeighborhood (const OffsetType &iteratedOffset)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~CoocurrenceTextureFeaturesImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () const override
 
 ~ImageToImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AllocateOutputs ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObject * GetInput (const DataObjectIdentifierType &key)
 
const DataObject * GetInput (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
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 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 idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObject * GetInput (DataObjectPointerArraySizeType idx)
 
const DataObject * GetInput (DataObjectPointerArraySizeType idx) const
 
DataObject * GetPrimaryInput ()
 
const DataObject * GetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObject * GetOutput (const DataObjectIdentifierType &key)
 
const DataObject * GetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObject * GetOutput (DataObjectPointerArraySizeType i)
 
const DataObject * GetOutput (DataObjectPointerArraySizeType i) const
 
DataObject * GetPrimaryOutput ()
 
const DataObject * GetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- 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

DigitizedImageType::Pointer m_DigitizedInputImage
 
PixelType m_HistogramMaximum
 
PixelType m_HistogramMinimum
 
MaskPixelType m_InsidePixelValue
 
NeighborhoodRadiusType m_NeighborhoodRadius
 
bool m_Normalize
 
unsigned int m_NumberOfBinsPerAxis
 
OffsetVectorPointer m_Offsets
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject>
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading { true }
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::ConstPointer = SmartPointer<const Self>

Definition at line 102 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ DigitizedImageType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::DigitizedImageType = itk::Image<HistogramIndexType, TInputImage::ImageDimension>
protected

Definition at line 208 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ HistogramIndexType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::HistogramIndexType = int
protected

Definition at line 207 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ IndexType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::IndexType = typename InputImageType::IndexType

Definition at line 116 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ InputImageType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::InputImageType = TInputImage

Definition at line 110 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ InputRegionType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::InputRegionType = typename InputImageType::RegionType

Definition at line 124 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ MaskImageType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageType = TMaskImage

Definition at line 112 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ MaskPixelType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskPixelType = typename MaskImageType::PixelType

Definition at line 115 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ MeasurementType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::MeasurementType = typename NumericTraits<PixelType>::RealType

Definition at line 129 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ NeighborhoodIteratorType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::NeighborhoodIteratorType = typename itk::ConstNeighborhoodIterator<DigitizedImageType>
protected

Definition at line 209 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ NeighborhoodRadiusType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::NeighborhoodRadiusType = typename itk::ConstNeighborhoodIterator<InputImageType>::RadiusType

Definition at line 127 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ NeighborIndexType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::NeighborIndexType = typename NeighborhoodIteratorType::NeighborIndexType
protected

Definition at line 210 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OffsetType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OffsetType = typename InputImageType::OffsetType

Definition at line 119 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OffsetVector

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OffsetVector = VectorContainer<unsigned char, OffsetType>

Definition at line 120 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OffsetVectorConstPointer

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OffsetVectorConstPointer = typename OffsetVector::ConstPointer

Definition at line 122 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OffsetVectorPointer

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OffsetVectorPointer = typename OffsetVector::Pointer

Definition at line 121 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OutputImageType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageType = TOutputImage

Definition at line 111 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OutputPixelType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputPixelType = typename OutputImageType::PixelType

Definition at line 201 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OutputRealType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputRealType = typename NumericTraits<OutputPixelType>::ScalarRealType

Definition at line 202 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ OutputRegionType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputRegionType = typename OutputImageType::RegionType

Definition at line 125 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ PixelType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::PixelType = typename InputImageType::PixelType

Definition at line 114 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ Pointer

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::Pointer = SmartPointer<Self>

Definition at line 101 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ PointType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::PointType = typename InputImageType::PointType

Definition at line 117 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ RealType

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::RealType = typename NumericTraits<PixelType>::RealType

Definition at line 130 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ Self

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::Self = CoocurrenceTextureFeaturesImageFilter

Standard type alias

Definition at line 99 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ Superclass

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
using itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage>

Definition at line 100 of file itkCoocurrenceTextureFeaturesImageFilter.h.

Constructor & Destructor Documentation

◆ CoocurrenceTextureFeaturesImageFilter()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::CoocurrenceTextureFeaturesImageFilter ( )
protected

Referenced by GetNameOfClass().

◆ ~CoocurrenceTextureFeaturesImageFilter()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::~CoocurrenceTextureFeaturesImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ AfterThreadedGenerateData()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::AfterThreadedGenerateData ( )
overrideprotectedvirtual

If an imaging filter needs to perform processing after all processing threads have completed, the filter can provide an implementation for AfterThreadedGenerateData(). 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::ImageSource< TOutputImage >.

◆ BeforeThreadedGenerateData()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::BeforeThreadedGenerateData ( )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ ComputeFeatures()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::ComputeFeatures ( const vnl_matrix< unsigned int > & hist,
const unsigned int totalNumberOfFreq,
typename TOutputImage::PixelType & outputPixel )
protected

◆ ComputeMeansAndVariances()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::ComputeMeansAndVariances ( const vnl_matrix< unsigned int > & hist,
const unsigned int totalNumberOfFreq,
double & pixelMean,
double & marginalMean,
double & marginalDevSquared,
double & pixelVariance )
protected

◆ CreateAnother()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual::itk::LightObject::Pointer itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::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::LightObject.

◆ DynamicThreadedGenerateData()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::DynamicThreadedGenerateData ( const OutputRegionType & outputRegionForThread)
overrideprotectedvirtual

If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData() or DynamicThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call (Dynamic)ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of (Dynamic)ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a (Dynamic)ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The (Dynamic)ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. (Dynamic)ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).

DynamicThreadedGenerateData() is the newer variant without threadId, and is the preferred signature, which is called by default. This variant can split the requested region into different number of pieces depending on current multi-processing load, which allows better load balancing. The non-dynamic (also known as classic) ThreadedGenerateData() signature has threadId, and number of pieces to be split into is known in advance. It is activated by calling this->DynamicMultiThreadingOff(); in derived class constructor. It should be used when the multi-threaded algorithm needs to pre-allocate some data structure with size dependent on the number of pieces (also known as chunks, work units, and sometimes also incorrectly as threads). Only PlatformMultiThreader guarantees that each piece will be processed in its own specific thread. Pool and TBB multi-threaders maintain a pool of threads (normally equal to number of processing cores) which they use to process the pieces. This normally results in a single thread being reused to process multiple work units.

See also
GenerateData(), SplitRequestedRegion()

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GenerateOutputInformation()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GenerateOutputInformation ( )
overrideprotectedvirtual

Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

◆ GetHistogramMaximum()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual PixelType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetHistogramMaximum ( ) const
virtual

Get the max pixel value defining one dimension of the joint histogram.

◆ GetHistogramMinimum()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual PixelType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetHistogramMinimum ( ) const
virtual

Get the min pixel value defining one dimension of the joint histogram.

◆ GetInsidePixelValue()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual MaskPixelType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetInsidePixelValue ( ) const
virtual

◆ GetModifiableOffsets()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual OffsetVector * itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetModifiableOffsets ( )
virtual

Get the current offset(s).

◆ GetNameOfClass()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual const char * itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

References CoocurrenceTextureFeaturesImageFilter().

◆ GetNeighborhoodRadius()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual NeighborhoodRadiusType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetNeighborhoodRadius ( ) const
virtual

◆ GetNormalize()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual bool itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetNormalize ( ) const
virtual

◆ GetNumberOfBinsPerAxis()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual unsigned int itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetNumberOfBinsPerAxis ( ) const
virtual

Get number of histogram bins along each axis

◆ GetOffsets()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual const OffsetVector * itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::GetOffsets ( ) const
virtual

◆ IsInsideNeighborhood()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
bool itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::IsInsideNeighborhood ( const OffsetType & iteratedOffset)
protected

◆ itkGetInputMacro()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::itkGetInputMacro ( MaskImage ,
MaskImageType  )

Method to get the mask image

◆ itkSetInputMacro()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::itkSetInputMacro ( MaskImage ,
MaskImageType  )

Method to set the mask image

◆ New()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
static Pointer itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::New ( )
static

standard New() method support

◆ NormalizeOff()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::NormalizeOff ( )
virtual

◆ NormalizeOn()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::NormalizeOn ( )
virtual

◆ PrintSelf()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::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::LightObject.

◆ SetHistogramMaximum()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetHistogramMaximum ( PixelType _arg)
virtual

◆ SetHistogramMinimum()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetHistogramMinimum ( PixelType _arg)
virtual

◆ SetInsidePixelValue()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetInsidePixelValue ( MaskPixelType _arg)
virtual

Set the pixel value of the mask that should be considered "inside" the object. Defaults to 1.

◆ SetNeighborhoodRadius()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetNeighborhoodRadius ( NeighborhoodRadiusType _arg)
virtual

Method to set/get the Neighborhood radius

◆ SetNormalize()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetNormalize ( bool _arg)
virtual

Set the calculator to normalize the histogram (divide all bins by the total frequency). Normalization is off by default.

◆ SetNumberOfBinsPerAxis()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetNumberOfBinsPerAxis ( unsigned int _arg)
virtual

Set number of histogram bins along each axis

◆ SetOffset()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetOffset ( const OffsetType offset)

Set offset over which the intensities pairs will be computed. Invoking this function clears the previous offset(s). Note: for each individual offset, the rightmost non-zero offset element must be positive. For example, in the offset list of a 2D image, (1, 0) means the offset along x-axis. (1, 0) has to be set instead of (-1, 0). This is required from the iterating order of pixel iterator.

◆ SetOffsets()

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
virtual void itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::SetOffsets ( OffsetVector * _arg)
virtual

Set the offsets over which the intensities pairs will be computed. Invoking this function clears the previous offsets. Note: for each individual offset in the OffsetVector, the rightmost non-zero offset element must be positive. For example, in the offset list of a 2D image, (1, 0) means the offset along x-axis. (1, 0) has to be set instead of (-1, 0). This is required from the iterating order of pixel iterator.

Member Data Documentation

◆ DefaultBinsPerAxis

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
unsigned int itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::DefaultBinsPerAxis = 256
staticconstexpr

Specify the default number of bins per axis

Definition at line 144 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_DigitizedInputImage

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
DigitizedImageType::Pointer itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_DigitizedInputImage
private

Definition at line 242 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_HistogramMaximum

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
PixelType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_HistogramMaximum
private

Definition at line 248 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_HistogramMinimum

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
PixelType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_HistogramMinimum
private

Definition at line 247 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_InsidePixelValue

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
MaskPixelType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_InsidePixelValue
private

Definition at line 249 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_NeighborhoodRadius

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
NeighborhoodRadiusType itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_NeighborhoodRadius
private

Definition at line 244 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_Normalize

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
bool itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_Normalize
private

Definition at line 250 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_NumberOfBinsPerAxis

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
unsigned int itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_NumberOfBinsPerAxis
private

Definition at line 246 of file itkCoocurrenceTextureFeaturesImageFilter.h.

◆ m_Offsets

template<typename TInputImage, typename TOutputImage, typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
OffsetVectorPointer itk::Statistics::CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage, TMaskImage >::m_Offsets
private

Definition at line 245 of file itkCoocurrenceTextureFeaturesImageFilter.h.


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