ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
itk::HistogramToImageFilter< THistogram, TImage, TFunction > Class Template Reference

#include <itkHistogramToImageFilter.h>

+ Inheritance diagram for itk::HistogramToImageFilter< THistogram, TImage, TFunction >:
+ Collaboration diagram for itk::HistogramToImageFilter< THistogram, TImage, TFunction >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FunctorType = TFunction
 
using HistogramSizeType = typename HistogramType::SizeType
 
using HistogramType = THistogram
 
using ImageIteratorType = itk::ImageRegionIteratorWithIndex< OutputImageType >
 
using MeasurementVectorType = typename HistogramType::MeasurementVectorType
 
using OutputImagePointer = typename Superclass::Pointer
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using OutputImageType = TImage
 
using OutputPixelType = typename OutputImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using PointType = typename OutputImageType::PointType
 
using Self = HistogramToImageFilter
 
using SizeType = typename OutputImageType::SizeType
 
using SpacingType = typename OutputImageType::SpacingType
 
using Superclass = ImageSource< TImage >
 
- Public Types inherited from itk::ImageSource< TImage >
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 = TImage
 
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 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
 
const HistogramTypeGetInput ()
 
virtual const char * GetNameOfClass () const
 
virtual void SetInput (const HistogramType *input)
 
- Public Member Functions inherited from itk::ImageSource< TImage >
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
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 *)
 
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 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)
 
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::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 ImageDimension = OutputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TImage >
static constexpr unsigned int OutputImageDimension
 
FunctorType m_Functor
 
void SetFunctor (const FunctorType &functor)
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
void SetTotalFrequency (SizeValueType n)
 
 HistogramToImageFilter ()
 
 ~HistogramToImageFilter () override=default
 
void GenerateOutputInformation () override
 
void GenerateData () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- Protected Member Functions inherited from itk::ImageSource< TImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void GenerateData () override
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- 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 VerifyInputInformation () ITKv5_CONST
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
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::ImageSource< TImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- 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::ImageSource< TImage >
bool m_DynamicMultiThreading
 
- 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 THistogram, typename TImage, typename TFunction>
class itk::HistogramToImageFilter< THistogram, TImage, TFunction >

This class takes a histogram as an input and returns an image of type specified by the functor.

The dimension of the image is equal to the size of each measurement vector of the histogram. The size in the image along each dimension will be equal to the number of bins along each dimension of the histogram.

The filter may be used in registration methods to plot the joint histogram after every iteration. A functor is used since it is customary to plot p log p where p is the probability of each measurement vector p is given by Number of occurrences of the measurement vector / total number of occurrences of all measurement vectors.

See also
HistogramToProbabilityImageFilter, HistogramToLogProbabilityImageFilter, HistogramToIntensityImageFilter, HistogramToEntropyImageFilter

Definition at line 50 of file itkHistogramToImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::ConstPointer = SmartPointer<const Self>

Definition at line 60 of file itkHistogramToImageFilter.h.

◆ FunctorType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::FunctorType = TFunction

Standard class type aliases.

Definition at line 56 of file itkHistogramToImageFilter.h.

◆ HistogramSizeType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::HistogramSizeType = typename HistogramType::SizeType

Definition at line 83 of file itkHistogramToImageFilter.h.

◆ HistogramType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::HistogramType = THistogram

Some convenient type alias.

Definition at line 81 of file itkHistogramToImageFilter.h.

◆ ImageIteratorType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::ImageIteratorType = itk::ImageRegionIteratorWithIndex<OutputImageType>

Definition at line 69 of file itkHistogramToImageFilter.h.

◆ MeasurementVectorType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::MeasurementVectorType = typename HistogramType::MeasurementVectorType

Definition at line 82 of file itkHistogramToImageFilter.h.

◆ OutputImagePointer

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputImagePointer = typename Superclass::Pointer

Definition at line 63 of file itkHistogramToImageFilter.h.

◆ OutputImageRegionType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputImageRegionType = typename Superclass::OutputImageRegionType

Superclass type alias.

Definition at line 78 of file itkHistogramToImageFilter.h.

◆ OutputImageType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputImageType = TImage

Definition at line 62 of file itkHistogramToImageFilter.h.

◆ OutputPixelType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputPixelType = typename OutputImageType::PixelType

Definition at line 66 of file itkHistogramToImageFilter.h.

◆ Pointer

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::Pointer = SmartPointer<Self>

Definition at line 59 of file itkHistogramToImageFilter.h.

◆ PointType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::PointType = typename OutputImageType::PointType

Definition at line 65 of file itkHistogramToImageFilter.h.

◆ Self

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::Self = HistogramToImageFilter

Definition at line 57 of file itkHistogramToImageFilter.h.

◆ SizeType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SizeType = typename OutputImageType::SizeType

Definition at line 84 of file itkHistogramToImageFilter.h.

◆ SpacingType

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SpacingType = typename OutputImageType::SpacingType

Definition at line 64 of file itkHistogramToImageFilter.h.

◆ Superclass

template<typename THistogram, typename TImage, typename TFunction>
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::Superclass = ImageSource<TImage>

Definition at line 58 of file itkHistogramToImageFilter.h.

Constructor & Destructor Documentation

◆ HistogramToImageFilter()

template<typename THistogram, typename TImage, typename TFunction>
itk::HistogramToImageFilter< THistogram, TImage, TFunction >::HistogramToImageFilter ( )
protected

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

◆ ~HistogramToImageFilter()

template<typename THistogram, typename TImage, typename TFunction>
itk::HistogramToImageFilter< THistogram, TImage, TFunction >::~HistogramToImageFilter ( )
overrideprotecteddefault

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Member Function Documentation

◆ CreateAnother()

template<typename THistogram, typename TImage, typename TFunction>
virtual::itk::LightObject::Pointer itk::HistogramToImageFilter< THistogram, TImage, TFunction >::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.

◆ GenerateData()

template<typename THistogram, typename TImage, typename TFunction>
void itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GenerateData ( )
overrideprotectedvirtual

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

template<typename THistogram, typename TImage, typename TFunction>
void itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GenerateOutputInformation ( )
overrideprotectedvirtual

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Reimplemented from itk::ProcessObject.

◆ GetFunctor() [1/2]

template<typename THistogram, typename TImage, typename TFunction>
FunctorType& itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GetFunctor ( )
inline

Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer.)

Definition at line 116 of file itkHistogramToImageFilter.h.

◆ GetFunctor() [2/2]

template<typename THistogram, typename TImage, typename TFunction>
const FunctorType& itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GetFunctor ( ) const
inline

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Definition at line 121 of file itkHistogramToImageFilter.h.

◆ GetInput()

template<typename THistogram, typename TImage, typename TFunction>
const HistogramType* itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GetInput ( )

◆ GetNameOfClass()

template<typename THistogram, typename TImage, typename TFunction>
virtual const char* itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GetNameOfClass ( ) const
virtual

◆ New()

template<typename THistogram, typename TImage, typename TFunction>
static Pointer itk::HistogramToImageFilter< THistogram, TImage, TFunction >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

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

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Reimplemented from itk::ProcessObject.

◆ SetFunctor()

template<typename THistogram, typename TImage, typename TFunction>
void itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SetFunctor ( const FunctorType functor)
inline

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Definition at line 104 of file itkHistogramToImageFilter.h.

◆ SetInput()

template<typename THistogram, typename TImage, typename TFunction>
virtual void itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SetInput ( const HistogramType input)
virtual

◆ SetTotalFrequency()

template<typename THistogram, typename TImage, typename TFunction>
void itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SetTotalFrequency ( SizeValueType  n)

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Member Data Documentation

◆ ImageDimension

template<typename THistogram, typename TImage, typename TFunction>
constexpr unsigned int itk::HistogramToImageFilter< THistogram, TImage, TFunction >::ImageDimension = OutputImageType::ImageDimension
staticconstexpr

Determine the image dimension.

Definition at line 87 of file itkHistogramToImageFilter.h.

◆ m_Functor

template<typename THistogram, typename TImage, typename TFunction>
FunctorType itk::HistogramToImageFilter< THistogram, TImage, TFunction >::m_Functor
protected

Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).

Definition at line 140 of file itkHistogramToImageFilter.h.


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