ITK
5.2.0
Insight Toolkit
|
#include <itkHistogramToImageFilter.h>
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 |
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) |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
void | SetTotalFrequency (SizeValueType n) |
HistogramToImageFilter () | |
~HistogramToImageFilter () override=default | |
void | GenerateOutputInformation () override |
void | GenerateData () override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
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.
Definition at line 50 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::ConstPointer = SmartPointer<const Self> |
Definition at line 60 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::FunctorType = TFunction |
Standard class type aliases.
Definition at line 56 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::HistogramSizeType = typename HistogramType::SizeType |
Definition at line 83 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::HistogramType = THistogram |
Some convenient type alias.
Definition at line 81 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::ImageIteratorType = itk::ImageRegionIteratorWithIndex<OutputImageType> |
Definition at line 69 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::MeasurementVectorType = typename HistogramType::MeasurementVectorType |
Definition at line 82 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputImagePointer = typename Superclass::Pointer |
Definition at line 63 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Superclass type alias.
Definition at line 78 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputImageType = TImage |
Definition at line 62 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::OutputPixelType = typename OutputImageType::PixelType |
Definition at line 66 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::Pointer = SmartPointer<Self> |
Definition at line 59 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::PointType = typename OutputImageType::PointType |
Definition at line 65 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::Self = HistogramToImageFilter |
Definition at line 57 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SizeType = typename OutputImageType::SizeType |
Definition at line 84 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::SpacingType = typename OutputImageType::SpacingType |
Definition at line 64 of file itkHistogramToImageFilter.h.
using itk::HistogramToImageFilter< THistogram, TImage, TFunction >::Superclass = ImageSource<TImage> |
Definition at line 58 of file itkHistogramToImageFilter.h.
|
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).
|
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).
|
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.
|
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.
|
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.
|
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.
|
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.
const HistogramType* itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GetInput | ( | ) |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TImage >.
Reimplemented in itk::HistogramToEntropyImageFilter< THistogram, TImage >, itk::HistogramToLogProbabilityImageFilter< THistogram, TImage >, itk::HistogramToProbabilityImageFilter< THistogram, TImage >, and itk::HistogramToIntensityImageFilter< THistogram, TImage >.
|
static |
Method for creation through the object factory.
|
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.
|
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.
|
virtual |
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).
|
staticconstexpr |
Determine the image dimension.
Definition at line 87 of file itkHistogramToImageFilter.h.
|
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.