#include <itkMITKScalarImageToHistogramGenerator.h>
Public Types | |
| typedef MITKScalarImageToHistogramGenerator | Self |
| typedef Object | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| 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 HistogramType * | GetOutput () 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 |
Definition at line 32 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef AdaptorType::Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::AdaptorPointer |
Definition at line 51 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef itk::Statistics::ScalarImageToListAdaptor< ImageType > itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::AdaptorType |
Definition at line 50 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef SmartPointer<const Self> itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::ConstPointer |
Definition at line 39 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef GeneratorType::Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::GeneratorPointer |
Definition at line 59 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef itk::Statistics::ListSampleToHistogramGenerator< AdaptorType, TMeasurementType > itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::GeneratorType |
Definition at line 57 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef HistogramType::ConstPointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::HistogramConstPointer |
Definition at line 63 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef HistogramType::Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::HistogramPointer |
Definition at line 62 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef GeneratorType::HistogramType itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::HistogramType |
Definition at line 61 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef TImageType itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::ImageType |
Definition at line 45 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef ImageType::PixelType itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::PixelType |
Definition at line 52 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef SmartPointer<Self> itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::Pointer |
Definition at line 38 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef MITKScalarImageToHistogramGenerator itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::Self |
Standard typedefs
Definition at line 36 of file itkMITKScalarImageToHistogramGenerator.h.
| typedef Object itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::Superclass |
Definition at line 37 of file itkMITKScalarImageToHistogramGenerator.h.
| 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 );
}
| virtual itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::~MITKScalarImageToHistogramGenerator | ( | ) | [inline, protected, virtual] |
Definition at line 87 of file itkMITKScalarImageToHistogramGenerator.h.
{};
| 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();
}
| virtual const char* itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
| const MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::HistogramType * itk::Statistics::MITKScalarImageToHistogramGenerator< TImage, TMeasurementType >::GetOutput | ( | ) | const |
Return the histogram. o
Definition at line 50 of file itkMITKScalarImageToHistogramGenerator.txx.
{
return m_HistogramGenerator->GetOutput();
}
| static Pointer itk::Statistics::MITKScalarImageToHistogramGenerator< TImageType, TMeasurementType >::New | ( | ) | [static] |
standard New() method support
| 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;
}
| 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 );
}
| 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 );
}
| 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 );
}
1.7.2