Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions

itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType > Class Template Reference

#include <itkMITKScalarImageToHistogramGenerator.h>

List of all members.

Public Types

typedef
MITKScalarImageToHistogramGenerator 
Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const SelfConstPointer
typedef TImageType ImageType
typedef
itk::Statistics::ScalarImageToListAdaptor
< ImageType
AdaptorType
typedef AdaptorType::Pointer AdaptorPointer
typedef ImageType::PixelType PixelType
typedef
itk::Statistics::ListSampleToHistogramGenerator
< AdaptorType,
TMeasurementType > 
GeneratorType
typedef GeneratorType::Pointer GeneratorPointer
typedef
GeneratorType::HistogramType 
HistogramType
typedef HistogramType::Pointer HistogramPointer
typedef HistogramType::ConstPointer HistogramConstPointer

Public Member Functions

virtual const char * GetClassName () const
void Compute (void)
void SetInput (const ImageType *)
const HistogramTypeGetOutput () const
void SetNumberOfBins (unsigned int numberOfBins)
void SetMarginalScale (double marginalScale)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 MITKScalarImageToHistogramGenerator ()
virtual ~MITKScalarImageToHistogramGenerator ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
class itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >

Definition at line 32 of file itkMITKScalarImageToHistogramGenerator.h.


Member Typedef Documentation

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef AdaptorType::Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::AdaptorPointer

Definition at line 51 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef itk::Statistics::ScalarImageToListAdaptor< ImageType > itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::AdaptorType

Definition at line 50 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef SmartPointer<const Self> itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::ConstPointer

Definition at line 39 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef GeneratorType::Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::GeneratorPointer

Definition at line 59 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef itk::Statistics::ListSampleToHistogramGenerator< AdaptorType, TMeasurementType > itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::GeneratorType

Definition at line 57 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef HistogramType::ConstPointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::HistogramConstPointer

Definition at line 63 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef HistogramType::Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::HistogramPointer

Definition at line 62 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef GeneratorType::HistogramType itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::HistogramType

Definition at line 61 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef TImageType itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::ImageType

Definition at line 45 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef ImageType::PixelType itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::PixelType

Definition at line 52 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef SmartPointer<Self> itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::Pointer

Definition at line 38 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef MITKScalarImageToHistogramGenerator itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::Self

Standard typedefs

Definition at line 36 of file itkMITKScalarImageToHistogramGenerator.h.

template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
typedef Object itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::Superclass

Definition at line 37 of file itkMITKScalarImageToHistogramGenerator.h.


Constructor & Destructor Documentation

template<class TImage , class TMeasurementType >
itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::MITKScalarImageToHistogramGenerator (  ) [protected]

Definition at line 29 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  m_ImageToListAdaptor = AdaptorType::New();
  m_HistogramGenerator = GeneratorType::New();
  m_HistogramGenerator->SetListSample( m_ImageToListAdaptor );
}
template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
virtual itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::~MITKScalarImageToHistogramGenerator (  ) [inline, protected, virtual]

Definition at line 87 of file itkMITKScalarImageToHistogramGenerator.h.

{};

Member Function Documentation

template<class TImage , class TMeasurementType >
void itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::Compute ( void   )

Triggers the Computation of the histogram

Definition at line 60 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  m_HistogramGenerator->Update();
}
template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
virtual const char* itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::GetClassName (  ) const [virtual]

Run-time type information (and related methods).

template<class TImage , class TMeasurementType >
const MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::HistogramType * itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::GetOutput (  ) const

Return the histogram. o

Warning:
This output is only valid after the Compute() method has been invoked
See also:
Compute

Definition at line 50 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  return m_HistogramGenerator->GetOutput();
}
template<class TImageType, class TMeasurementType = typename TImageType::PixelType>
static Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::New (  ) [static]

standard New() method support

template<class TImage , class TMeasurementType >
void itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected]

Definition at line 93 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  Superclass::PrintSelf(os,indent);
  os << "ImageToListSample adaptor = " << m_ImageToListAdaptor << std::endl;
  os << "HistogramGenerator = " << m_HistogramGenerator << std::endl;
}
template<class TImage , class TMeasurementType >
void itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::SetInput ( const ImageType image )

Connects the input image for which the histogram is going to be computed

Definition at line 41 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  m_ImageToListAdaptor->SetImage( image );
}
template<class TImage , class TMeasurementType >
void itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::SetMarginalScale ( double  marginalScale )

Set marginal scale value to be passed to the histogram generator

Definition at line 82 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  m_HistogramGenerator->SetMarginalScale( marginalScale );
}
template<class TImage , class TMeasurementType >
void itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::SetNumberOfBins ( unsigned int  numberOfBins )

Set number of histogram bins

Definition at line 70 of file itkMITKScalarImageToHistogramGenerator.txx.

{
  typename HistogramType::SizeType size;
  size.Fill( numberOfBins );
  m_HistogramGenerator->SetNumberOfBins( size );
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines