open_iA  2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Types | Public Member Functions | Protected Member Functions | List of all members
iAEntropyImageFilter< TInputImage, TOutputImage > Class Template Reference

Calculates the pixelwise entropy out of a collection of input images. More...

#include <iAEntropyImageFilter.h>

Inheritance diagram for iAEntropyImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for iAEntropyImageFilter< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::ConstPointer InputImagePointer
 
typedef TInputImage InputImageType
 Image typedef support. More...
 
typedef TInputImage::PixelType InputPixelType
 
typedef unsigned long LabelCountType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 Superclass typedefs. More...
 
typedef TOutputImage OutputImageType
 
typedef TOutputImage::PixelType OutputPixelType
 Extract some information from the image types. More...
 
typedef itk::SmartPointer< SelfPointer
 
typedef iAEntropyImageFilter Self
 Standard class typedefs. More...
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

bool GetNormalize () const
 
 itkNewMacro (Self)
 Method for creation through the object factory. More...
 
 itkStaticConstMacro (ImageDimension, int, TOutputImage::ImageDimension)
 
 itkStaticConstMacro (InputImageDimension, int, TInputImage::ImageDimension)
 Extract some information from the image types. More...
 
 itkTypeMacro (iAEntropyImageFilter, ImageToImageFilter)
 Run-time type information (and related methods) More...
 
void SetNormalize (bool on)
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 Determine maximum label value in all input images and initialize global data. More...
 
 iAEntropyImageFilter ()
 
void PrintSelf (std::ostream &, itk::Indent) const override
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
virtual ~iAEntropyImageFilter ()
 

Detailed Description

template<typename TInputImage, typename TOutputImage = TInputImage>
class iAEntropyImageFilter< TInputImage, TOutputImage >

Calculates the pixelwise entropy out of a collection of input images.

INPUTS
All inputs to this filter must be floating point images representing a distribution (i.e. their sum should be 1) Input volumes must all contain the same size RequestedRegions.
OUTPUTS
The filter produces a single output volume. Each output pixel contains the entropy of the given pixel over all input volumes. Higher values indicate higher "uncertainty", i.e. an equal distribution of probabilities; lower values indicate that less evenly distributed probabilities; a value of 0 indicates that the probability of one input is 1, while the others are all 0.
PARAMETERS
Normalize whether the output entropy should be normalized to the interval [0..1]
Author
Bernhard Froehler, FH Wels

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef itk::SmartPointer< const Self > iAEntropyImageFilter< TInputImage, TOutputImage >::ConstPointer

◆ InputImagePointer

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef InputImageType::ConstPointer iAEntropyImageFilter< TInputImage, TOutputImage >::InputImagePointer

◆ InputImageType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TInputImage iAEntropyImageFilter< TInputImage, TOutputImage >::InputImageType

Image typedef support.

◆ InputPixelType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TInputImage::PixelType iAEntropyImageFilter< TInputImage, TOutputImage >::InputPixelType

◆ LabelCountType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef unsigned long iAEntropyImageFilter< TInputImage, TOutputImage >::LabelCountType

◆ OutputImagePointer

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef OutputImageType::Pointer iAEntropyImageFilter< TInputImage, TOutputImage >::OutputImagePointer

◆ OutputImageRegionType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef Superclass::OutputImageRegionType iAEntropyImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

◆ OutputImageType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TOutputImage iAEntropyImageFilter< TInputImage, TOutputImage >::OutputImageType

◆ OutputPixelType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TOutputImage::PixelType iAEntropyImageFilter< TInputImage, TOutputImage >::OutputPixelType

Extract some information from the image types.

Dimensionality of the two images is assumed to be the same.

◆ Pointer

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef itk::SmartPointer< Self > iAEntropyImageFilter< TInputImage, TOutputImage >::Pointer

◆ Self

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef iAEntropyImageFilter iAEntropyImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

◆ Superclass

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > iAEntropyImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

◆ iAEntropyImageFilter()

template<typename TInputImage , typename TOutputImage >
iAEntropyImageFilter< TInputImage, TOutputImage >::iAEntropyImageFilter ( )
protected

◆ ~iAEntropyImageFilter()

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual iAEntropyImageFilter< TInputImage, TOutputImage >::~iAEntropyImageFilter ( )
inlineprotectedvirtual

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<typename TInputImage , typename TOutputImage >
void iAEntropyImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( )
overrideprotected

Determine maximum label value in all input images and initialize global data.

◆ GetNormalize()

template<typename TInputImage , typename TOutputImage = TInputImage>
bool iAEntropyImageFilter< TInputImage, TOutputImage >::GetNormalize ( ) const
inline

◆ itkNewMacro()

template<typename TInputImage , typename TOutputImage = TInputImage>
iAEntropyImageFilter< TInputImage, TOutputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

◆ itkStaticConstMacro() [1/2]

template<typename TInputImage , typename TOutputImage = TInputImage>
iAEntropyImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( ImageDimension  ,
int  ,
TOutputImage::ImageDimension   
)

◆ itkStaticConstMacro() [2/2]

template<typename TInputImage , typename TOutputImage = TInputImage>
iAEntropyImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( InputImageDimension  ,
int  ,
TInputImage::ImageDimension   
)

Extract some information from the image types.

Dimensionality of the two images is assumed to be the same.

◆ itkTypeMacro()

template<typename TInputImage , typename TOutputImage = TInputImage>
iAEntropyImageFilter< TInputImage, TOutputImage >::itkTypeMacro ( iAEntropyImageFilter< TInputImage, TOutputImage >  ,
ImageToImageFilter   
)

Run-time type information (and related methods)

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage >
void iAEntropyImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

◆ SetNormalize()

template<typename TInputImage , typename TOutputImage = TInputImage>
void iAEntropyImageFilter< TInputImage, TOutputImage >::SetNormalize ( bool  on)
inline

◆ ThreadedGenerateData()

template<typename TInputImage , typename TOutputImage >
void iAEntropyImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

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