ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
itk::Statistics::ImageToHistogramFilter< TImage > Class Template Reference

#include <itkImageToHistogramFilter.h>

+ Inheritance diagram for itk::Statistics::ImageToHistogramFilter< TImage >:
+ Collaboration diagram for itk::Statistics::ImageToHistogramFilter< TImage >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using HistogramConstPointer = typename HistogramType::ConstPointer
 
using HistogramMeasurementType = typename HistogramType::MeasurementType
 
using HistogramMeasurementVectorType = typename HistogramType::MeasurementVectorType
 
using HistogramPointer = typename HistogramType::Pointer
 
using HistogramSizeType = typename HistogramType::SizeType
 
using HistogramType = Histogram< ValueRealType >
 
using ImageType = TImage
 
using PixelType = typename ImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RegionType = typename ImageType::RegionType
 
using Self = ImageToHistogramFilter
 
using Superclass = ImageSink< TImage >
 
using ValueRealType = typename NumericTraits< ValueType >::RealType
 
using ValueType = typename NumericTraits< PixelType >::ValueType
 
- Public Types inherited from itk::ImageSink< TImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = typename Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TImage
 
using Pointer = SmartPointer< Self >
 
using RegionSplitterPointer = typename SplitterType::Pointer
 
using Self = ImageSink
 
using SplitterType = ImageRegionSplitterBase
 
using Superclass = StreamingProcessObject
 
- Public Types inherited from itk::StreamingProcessObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = StreamingProcessObject
 
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 MultiThreaderType = MultiThreaderBase
 
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 const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ImageSink< TImage >
virtual const InputImageTypeGetInput () const
 
virtual const InputImageTypeGetInput (const DataObjectIdentifierType &key) const
 
virtual const InputImageTypeGetInput (unsigned int idx) const
 
virtual void SetInput (const InputImageType *input)
 
void Update () override
 
void UpdateLargestPossibleRegion () override
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::StreamingProcessObject
void GenerateData () override
 
virtual int GetCurrentRequestNumber () const
 
void PropagateRequestedRegion (DataObject *output) override
 
void ResetPipeline () override
 
void UpdateOutputData (DataObject *output) override
 
- 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 ()
 
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 DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void SetAbortGenerateData (bool _arg)
 
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 _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
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::ImageSink< TImage >
static void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- 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 ()
 
using InputHistogramSizeObjectType = SimpleDataObjectDecorator< HistogramSizeType >
 
using InputHistogramMeasurementObjectType = SimpleDataObjectDecorator< HistogramMeasurementType >
 
using InputHistogramMeasurementVectorObjectType = SimpleDataObjectDecorator< HistogramMeasurementVectorType >
 
using InputBooleanObjectType = SimpleDataObjectDecorator< bool >
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
std::mutex m_Mutex
 
HistogramPointer m_MergeHistogram
 
HistogramMeasurementVectorType m_Minimum
 
HistogramMeasurementVectorType m_Maximum
 
const HistogramTypeGetOutput () const
 
HistogramTypeGetOutput ()
 
virtual void SetHistogramSizeInput (const SimpleDataObjectDecorator< HistogramSizeType > *_arg)
 
virtual void SetHistogramSize (const HistogramSizeType &_arg)
 
virtual void SetHistogramSize (const SimpleDataObjectDecorator< HistogramSizeType > *_arg)
 
virtual const SimpleDataObjectDecorator< HistogramSizeType > * GetHistogramSizeInput () const
 
virtual const HistogramSizeTypeGetHistogramSize () const
 
virtual void SetMarginalScaleInput (const SimpleDataObjectDecorator< HistogramMeasurementType > *_arg)
 
virtual void SetMarginalScale (const HistogramMeasurementType &_arg)
 
virtual void SetMarginalScale (const SimpleDataObjectDecorator< HistogramMeasurementType > *_arg)
 
virtual const SimpleDataObjectDecorator< HistogramMeasurementType > * GetMarginalScaleInput () const
 
virtual const HistogramMeasurementTypeGetMarginalScale () const
 
virtual void SetHistogramBinMinimumInput (const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *_arg)
 
virtual void SetHistogramBinMinimum (const HistogramMeasurementVectorType &_arg)
 
virtual void SetHistogramBinMinimum (const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *_arg)
 
virtual const SimpleDataObjectDecorator< HistogramMeasurementVectorType > * GetHistogramBinMinimumInput () const
 
virtual const HistogramMeasurementVectorTypeGetHistogramBinMinimum () const
 
virtual void SetHistogramBinMaximumInput (const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *_arg)
 
virtual void SetHistogramBinMaximum (const HistogramMeasurementVectorType &_arg)
 
virtual void SetHistogramBinMaximum (const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *_arg)
 
virtual const SimpleDataObjectDecorator< HistogramMeasurementVectorType > * GetHistogramBinMaximumInput () const
 
virtual const HistogramMeasurementVectorTypeGetHistogramBinMaximum () const
 
virtual void SetAutoMinimumMaximumInput (const SimpleDataObjectDecorator< bool > *_arg)
 
virtual void SetAutoMinimumMaximum (const bool &_arg)
 
virtual void SetAutoMinimumMaximum (const SimpleDataObjectDecorator< bool > *_arg)
 
virtual const SimpleDataObjectDecorator< bool > * GetAutoMinimumMaximumInput () const
 
virtual const bool & GetAutoMinimumMaximum () const
 
virtual void AutoMinimumMaximumOn ()
 
virtual void AutoMinimumMaximumOff ()
 
virtual void GraftOutput (DataObject *graft)
 
void SetNumberOfStreamDivisions (const unsigned int n) override
 
unsigned int GetNumberOfStreamDivisions () const override
 
 ImageToHistogramFilter ()
 
 ~ImageToHistogramFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void StreamedGenerateData (unsigned int inputRequestedRegionNumber) override
 
void InitializeOutputHistogram ()
 
void AfterStreamedGenerateData () override
 
DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType) override
 
unsigned int GetNumberOfInputRequestedRegions () override
 
void ThreadedStreamedGenerateData (const RegionType &) override
 
virtual void ThreadedComputeMinimumAndMaximum (const RegionType &inputRegionForThread)
 
virtual void ThreadedMergeHistogram (HistogramPointer &&histogram)
 
void ApplyMarginalScale (HistogramMeasurementVectorType &min, HistogramMeasurementVectorType &max, HistogramSizeType &size)
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageSink< TImage >
static constexpr unsigned int InputImageDimension
 
- Protected Member Functions inherited from itk::ImageSink< TImage >
 ImageSink ()
 
 ~ImageSink () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
unsigned int GetNumberOfInputRequestedRegions () override
 
void GenerateNthInputRequestedRegion (unsigned int inputRequestedRegionNumber) override
 
virtual void AllocateOutputs ()
 
void VerifyInputInformation () ITKv5_CONST override
 
void BeforeStreamedGenerateData () override
 
void StreamedGenerateData (unsigned int inputRequestedRegionNumber) override
 
virtual void ThreadedStreamedGenerateData (const InputImageRegionType &inputRegionForChunk)=0
 
virtual void SetRegionSplitter (SplitterType *_arg)
 
virtual SplitterTypeGetModifiableRegionSplitter ()
 
virtual const SplitterTypeGetRegionSplitter () const
 
- Protected Member Functions inherited from itk::StreamingProcessObject
 StreamingProcessObject ()
 
 ~StreamingProcessObject () override
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 ()
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TImage>
class itk::Statistics::ImageToHistogramFilter< TImage >

This class generates a histogram from an image.

The concept of Histogram in ITK is quite generic. It has been designed to manage multiple components data. This class facilitates the computation of an histogram from an image.

This filter is automatically multi-threaded. When AutoMinimumMaximum is off and the NumberOfStreamDivisions is set to more than one, then this filter streams its input in a series of requested regions. A histogram is computed for each streamed and threaded region then merged.

Examples
Examples/Statistics/ImageHistogram3.cxx, Examples/Statistics/ImageHistogram4.cxx, Examples/Statistics/ImageMutualInformation1.cxx, and SphinxExamples/src/Numerics/Statistics/ComputeHistogramFromGrayscaleImage/Code.cxx.

Definition at line 50 of file itkImageToHistogramFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::ConstPointer = SmartPointer<const Self>

Definition at line 59 of file itkImageToHistogramFilter.h.

◆ DataObjectPointerArraySizeType

Method that construct the outputs

Definition at line 161 of file itkImageToHistogramFilter.h.

◆ HistogramConstPointer

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramConstPointer = typename HistogramType::ConstPointer

Definition at line 75 of file itkImageToHistogramFilter.h.

◆ HistogramMeasurementType

Definition at line 77 of file itkImageToHistogramFilter.h.

◆ HistogramMeasurementVectorType

Definition at line 78 of file itkImageToHistogramFilter.h.

◆ HistogramPointer

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramPointer = typename HistogramType::Pointer

Definition at line 74 of file itkImageToHistogramFilter.h.

◆ HistogramSizeType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramSizeType = typename HistogramType::SizeType

Definition at line 76 of file itkImageToHistogramFilter.h.

◆ HistogramType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramType = Histogram<ValueRealType>

Definition at line 73 of file itkImageToHistogramFilter.h.

◆ ImageType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::ImageType = TImage

Definition at line 67 of file itkImageToHistogramFilter.h.

◆ InputBooleanObjectType

Type of DataObjects to use for AutoMinimumMaximum input

Definition at line 99 of file itkImageToHistogramFilter.h.

◆ InputHistogramMeasurementObjectType

Type of DataObjects to use for Marginal Scale inputs

Definition at line 92 of file itkImageToHistogramFilter.h.

◆ InputHistogramMeasurementVectorObjectType

Type of DataObjects to use for Minimum and Maximums values of the histogram bins.

Definition at line 96 of file itkImageToHistogramFilter.h.

◆ InputHistogramSizeObjectType

Type of DataObjects to use for Size inputs

Definition at line 89 of file itkImageToHistogramFilter.h.

◆ PixelType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::PixelType = typename ImageType::PixelType

Definition at line 68 of file itkImageToHistogramFilter.h.

◆ Pointer

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::Pointer = SmartPointer<Self>

Definition at line 58 of file itkImageToHistogramFilter.h.

◆ RegionType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::RegionType = typename ImageType::RegionType

Definition at line 69 of file itkImageToHistogramFilter.h.

◆ Self

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::Self = ImageToHistogramFilter

Standard type alias

Definition at line 56 of file itkImageToHistogramFilter.h.

◆ Superclass

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::Superclass = ImageSink<TImage>

Definition at line 57 of file itkImageToHistogramFilter.h.

◆ ValueRealType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::ValueRealType = typename NumericTraits<ValueType>::RealType

Definition at line 71 of file itkImageToHistogramFilter.h.

◆ ValueType

template<typename TImage >
using itk::Statistics::ImageToHistogramFilter< TImage >::ValueType = typename NumericTraits<PixelType>::ValueType

Definition at line 70 of file itkImageToHistogramFilter.h.

Constructor & Destructor Documentation

◆ ImageToHistogramFilter()

template<typename TImage >
itk::Statistics::ImageToHistogramFilter< TImage >::ImageToHistogramFilter ( )
protected

Type of DataObjects to use for Size inputs

◆ ~ImageToHistogramFilter()

template<typename TImage >
itk::Statistics::ImageToHistogramFilter< TImage >::~ImageToHistogramFilter ( )
overrideprotecteddefault

Type of DataObjects to use for Size inputs

Member Function Documentation

◆ AfterStreamedGenerateData()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::AfterStreamedGenerateData ( )
overrideprotectedvirtual

Type of DataObjects to use for Size inputs

Reimplemented from itk::StreamingProcessObject.

◆ ApplyMarginalScale()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::ApplyMarginalScale ( HistogramMeasurementVectorType min,
HistogramMeasurementVectorType max,
HistogramSizeType size 
)
private

Type of DataObjects to use for Size inputs

◆ AutoMinimumMaximumOff()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::AutoMinimumMaximumOff ( )
virtual

Type of DataObjects to use for Size inputs

◆ AutoMinimumMaximumOn()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::AutoMinimumMaximumOn ( )
virtual

Type of DataObjects to use for Size inputs

◆ CreateAnother()

template<typename TImage >
virtual::itk::LightObject::Pointer itk::Statistics::ImageToHistogramFilter< TImage >::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.

Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.

◆ GetAutoMinimumMaximum()

template<typename TImage >
virtual const bool& itk::Statistics::ImageToHistogramFilter< TImage >::GetAutoMinimumMaximum ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetAutoMinimumMaximumInput()

template<typename TImage >
virtual const SimpleDataObjectDecorator< bool >* itk::Statistics::ImageToHistogramFilter< TImage >::GetAutoMinimumMaximumInput ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetHistogramBinMaximum()

template<typename TImage >
virtual const HistogramMeasurementVectorType& itk::Statistics::ImageToHistogramFilter< TImage >::GetHistogramBinMaximum ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetHistogramBinMaximumInput()

template<typename TImage >
virtual const SimpleDataObjectDecorator< HistogramMeasurementVectorType >* itk::Statistics::ImageToHistogramFilter< TImage >::GetHistogramBinMaximumInput ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetHistogramBinMinimum()

template<typename TImage >
virtual const HistogramMeasurementVectorType& itk::Statistics::ImageToHistogramFilter< TImage >::GetHistogramBinMinimum ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetHistogramBinMinimumInput()

template<typename TImage >
virtual const SimpleDataObjectDecorator< HistogramMeasurementVectorType >* itk::Statistics::ImageToHistogramFilter< TImage >::GetHistogramBinMinimumInput ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetHistogramSize()

template<typename TImage >
virtual const HistogramSizeType& itk::Statistics::ImageToHistogramFilter< TImage >::GetHistogramSize ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetHistogramSizeInput()

template<typename TImage >
virtual const SimpleDataObjectDecorator< HistogramSizeType >* itk::Statistics::ImageToHistogramFilter< TImage >::GetHistogramSizeInput ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetMarginalScale()

template<typename TImage >
virtual const HistogramMeasurementType& itk::Statistics::ImageToHistogramFilter< TImage >::GetMarginalScale ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetMarginalScaleInput()

template<typename TImage >
virtual const SimpleDataObjectDecorator< HistogramMeasurementType >* itk::Statistics::ImageToHistogramFilter< TImage >::GetMarginalScaleInput ( ) const
virtual

Type of DataObjects to use for Size inputs

◆ GetNameOfClass()

template<typename TImage >
virtual const char* itk::Statistics::ImageToHistogramFilter< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSink< TImage >.

Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.

◆ GetNumberOfInputRequestedRegions()

template<typename TImage >
unsigned int itk::Statistics::ImageToHistogramFilter< TImage >::GetNumberOfInputRequestedRegions ( )
overrideprotectedvirtual

Type of DataObjects to use for Size inputs

Implements itk::StreamingProcessObject.

◆ GetNumberOfStreamDivisions()

template<typename TImage >
unsigned int itk::Statistics::ImageToHistogramFilter< TImage >::GetNumberOfStreamDivisions ( ) const
inlineoverridevirtual

Type of DataObjects to use for Size inputs

Reimplemented from itk::ImageSink< TImage >.

Definition at line 141 of file itkImageToHistogramFilter.h.

◆ GetOutput() [1/2]

template<typename TImage >
HistogramType* itk::Statistics::ImageToHistogramFilter< TImage >::GetOutput ( )

Type of DataObjects to use for Size inputs

◆ GetOutput() [2/2]

template<typename TImage >
const HistogramType* itk::Statistics::ImageToHistogramFilter< TImage >::GetOutput ( ) const

Return the output histogram.

◆ GraftOutput()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::GraftOutput ( DataObject graft)
virtual

Method that facilitates the use of this filter in the internal pipeline of another filter.

◆ InitializeOutputHistogram()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::InitializeOutputHistogram ( )
protected

Type of DataObjects to use for Size inputs

◆ MakeOutput()

template<typename TImage >
DataObject::Pointer itk::Statistics::ImageToHistogramFilter< TImage >::MakeOutput ( DataObjectPointerArraySizeType  )
overrideprotectedvirtual

Type of DataObjects to use for Size inputs

Reimplemented from itk::ProcessObject.

◆ New()

template<typename TImage >
static Pointer itk::Statistics::ImageToHistogramFilter< TImage >::New ( )
static

standard New() method support

◆ PrintSelf()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Type of DataObjects to use for Size inputs

Reimplemented from itk::StreamingProcessObject.

◆ SetAutoMinimumMaximum() [1/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetAutoMinimumMaximum ( const bool &  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetAutoMinimumMaximum() [2/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetAutoMinimumMaximum ( const SimpleDataObjectDecorator< bool > *  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetAutoMinimumMaximumInput()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetAutoMinimumMaximumInput ( const SimpleDataObjectDecorator< bool > *  _arg)
virtual

Methods for setting and getting the boolean flag that defines whether the minimum and maximum of the histogram are going to be computed automatically from the values of the sample

◆ SetHistogramBinMaximum() [1/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramBinMaximum ( const HistogramMeasurementVectorType _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramBinMaximum() [2/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramBinMaximum ( const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramBinMaximumInput()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramBinMaximumInput ( const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramBinMinimum() [1/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramBinMinimum ( const HistogramMeasurementVectorType _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramBinMinimum() [2/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramBinMinimum ( const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramBinMinimumInput()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramBinMinimumInput ( const SimpleDataObjectDecorator< HistogramMeasurementVectorType > *  _arg)
virtual

Methods for setting and getting the Minimum and Maximum values of the histogram bins.

◆ SetHistogramSize() [1/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramSize ( const HistogramSizeType _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramSize() [2/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramSize ( const SimpleDataObjectDecorator< HistogramSizeType > *  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetHistogramSizeInput()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetHistogramSizeInput ( const SimpleDataObjectDecorator< HistogramSizeType > *  _arg)
virtual

Methods for setting and getting the histogram size. The histogram size is encapsulated inside a decorator class. For this reason, it is possible to set and get the decorator class, but it is only possible to set the histogram size by value. This macro declares the methods SetHistogramSize(), SetHistogramSizeInput(), GetHistogramSizeInput().

◆ SetMarginalScale() [1/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetMarginalScale ( const HistogramMeasurementType _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetMarginalScale() [2/2]

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetMarginalScale ( const SimpleDataObjectDecorator< HistogramMeasurementType > *  _arg)
virtual

Type of DataObjects to use for Size inputs

◆ SetMarginalScaleInput()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::SetMarginalScaleInput ( const SimpleDataObjectDecorator< HistogramMeasurementType > *  _arg)
virtual

Methods for setting and getting the Marginal scale value. The marginal scale is used when the type of the measurement vector components are of integer type.

◆ SetNumberOfStreamDivisions()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::SetNumberOfStreamDivisions ( const unsigned int  n)
inlineoverridevirtual

Type of DataObjects to use for Size inputs

Reimplemented from itk::ImageSink< TImage >.

Definition at line 136 of file itkImageToHistogramFilter.h.

◆ StreamedGenerateData()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::StreamedGenerateData ( unsigned int  inputRequestedRegionNumber)
overrideprotectedvirtual

Type of DataObjects to use for Size inputs

Implements itk::StreamingProcessObject.

◆ ThreadedComputeMinimumAndMaximum()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::ThreadedComputeMinimumAndMaximum ( const RegionType inputRegionForThread)
protectedvirtual

Type of DataObjects to use for Size inputs

Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.

◆ ThreadedMergeHistogram()

template<typename TImage >
virtual void itk::Statistics::ImageToHistogramFilter< TImage >::ThreadedMergeHistogram ( HistogramPointer &&  histogram)
protectedvirtual

Type of DataObjects to use for Size inputs

◆ ThreadedStreamedGenerateData()

template<typename TImage >
void itk::Statistics::ImageToHistogramFilter< TImage >::ThreadedStreamedGenerateData ( const RegionType )
overrideprotected

Type of DataObjects to use for Size inputs

Member Data Documentation

◆ m_Maximum

template<typename TImage >
HistogramMeasurementVectorType itk::Statistics::ImageToHistogramFilter< TImage >::m_Maximum
protected

Type of DataObjects to use for Size inputs

Definition at line 184 of file itkImageToHistogramFilter.h.

◆ m_MergeHistogram

template<typename TImage >
HistogramPointer itk::Statistics::ImageToHistogramFilter< TImage >::m_MergeHistogram
protected

Type of DataObjects to use for Size inputs

Definition at line 181 of file itkImageToHistogramFilter.h.

◆ m_Minimum

template<typename TImage >
HistogramMeasurementVectorType itk::Statistics::ImageToHistogramFilter< TImage >::m_Minimum
protected

Type of DataObjects to use for Size inputs

Definition at line 183 of file itkImageToHistogramFilter.h.

◆ m_Mutex

template<typename TImage >
std::mutex itk::Statistics::ImageToHistogramFilter< TImage >::m_Mutex
protected

Type of DataObjects to use for Size inputs

Definition at line 179 of file itkImageToHistogramFilter.h.


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