Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkImageStatisticsCalculationJob Class Reference

#include <QmitkImageStatisticsCalculationJob.h>

Inheritance diagram for QmitkImageStatisticsCalculationJob:
Collaboration diagram for QmitkImageStatisticsCalculationJob:

Public Types

typedef itk::Statistics::Histogram< double > HistogramType
 

Public Member Functions

 QmitkImageStatisticsCalculationJob ()
 
 ~QmitkImageStatisticsCalculationJob () override
 
void Initialize (const mitk::Image *image, const mitk::Image *binaryImage, const mitk::PlanarFigure *planarFig)
 
mitk::ImageStatisticsContainerGetStatisticsData () const
 
const mitk::ImageGetStatisticsImage () const
 
const mitk::ImageGetMaskImage () const
 
const mitk::PlanarFigureGetPlanarFigure () const
 
void SetIgnoreZeroValueVoxel (bool _arg)
 
bool GetIgnoreZeroValueVoxel () const
 
void SetHistogramNBins (unsigned int nbins)
 
unsigned int GetHistogramNBins () const
 
const HistogramTypeGetTimeStepHistogram (unsigned int t=0) const
 
bool GetStatisticsUpdateSuccessFlag () const
 
void run () override
 
std::string GetLastErrorMessage () const
 

Detailed Description

/brief This class is executed as background thread for image statistics calculation. Documentation: This class is derived from QThread and is intended to be used by QmitkImageStatisticsView to run the image statistics calculation in a background thread keeping the gui usable.

Definition at line 36 of file QmitkImageStatisticsCalculationJob.h.

Member Typedef Documentation

◆ HistogramType

typedef itk::Statistics::Histogram<double> QmitkImageStatisticsCalculationJob::HistogramType

Definition at line 42 of file QmitkImageStatisticsCalculationJob.h.

Constructor & Destructor Documentation

◆ QmitkImageStatisticsCalculationJob()

QmitkImageStatisticsCalculationJob::QmitkImageStatisticsCalculationJob ( )

/brief standard constructor.

◆ ~QmitkImageStatisticsCalculationJob()

QmitkImageStatisticsCalculationJob::~QmitkImageStatisticsCalculationJob ( )
override

/brief standard destructor.

Member Function Documentation

◆ GetHistogramNBins()

unsigned int QmitkImageStatisticsCalculationJob::GetHistogramNBins ( ) const

/brief Get bin size for histogram resolution.

◆ GetIgnoreZeroValueVoxel()

bool QmitkImageStatisticsCalculationJob::GetIgnoreZeroValueVoxel ( ) const

/brief Get status of zero value voxel ignoring.

◆ GetLastErrorMessage()

std::string QmitkImageStatisticsCalculationJob::GetLastErrorMessage ( ) const

◆ GetMaskImage()

const mitk::Image* QmitkImageStatisticsCalculationJob::GetMaskImage ( ) const

◆ GetPlanarFigure()

const mitk::PlanarFigure* QmitkImageStatisticsCalculationJob::GetPlanarFigure ( ) const

◆ GetStatisticsData()

mitk::ImageStatisticsContainer* QmitkImageStatisticsCalculationJob::GetStatisticsData ( ) const

/brief returns the calculated image statistics.

◆ GetStatisticsImage()

const mitk::Image* QmitkImageStatisticsCalculationJob::GetStatisticsImage ( ) const

◆ GetStatisticsUpdateSuccessFlag()

bool QmitkImageStatisticsCalculationJob::GetStatisticsUpdateSuccessFlag ( ) const

/brief Returns a flag the indicates if the statistics are updated successfully

◆ GetTimeStepHistogram()

const HistogramType* QmitkImageStatisticsCalculationJob::GetTimeStepHistogram ( unsigned int  t = 0) const

/brief Returns the histogram of the currently selected time step.

◆ Initialize()

void QmitkImageStatisticsCalculationJob::Initialize ( const mitk::Image image,
const mitk::Image binaryImage,
const mitk::PlanarFigure planarFig 
)

/brief Initializes the object with necessary data.

◆ run()

void QmitkImageStatisticsCalculationJob::run ( )
override

/brief Method called once the thread is executed.

◆ SetHistogramNBins()

void QmitkImageStatisticsCalculationJob::SetHistogramNBins ( unsigned int  nbins)

/brief Set bin size for histogram resolution.

◆ SetIgnoreZeroValueVoxel()

void QmitkImageStatisticsCalculationJob::SetIgnoreZeroValueVoxel ( bool  _arg)

/brief Set flag to ignore zero valued voxels


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