Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <QmitkImageStatisticsCalculationJob.h>
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::ImageStatisticsContainer * | GetStatisticsData () const |
const mitk::Image * | GetStatisticsImage () const |
const mitk::Image * | GetMaskImage () const |
const mitk::PlanarFigure * | GetPlanarFigure () const |
void | SetIgnoreZeroValueVoxel (bool _arg) |
bool | GetIgnoreZeroValueVoxel () const |
void | SetHistogramNBins (unsigned int nbins) |
unsigned int | GetHistogramNBins () const |
const HistogramType * | GetTimeStepHistogram (unsigned int t=0) const |
bool | GetStatisticsUpdateSuccessFlag () const |
void | run () override |
std::string | GetLastErrorMessage () const |
/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.
typedef itk::Statistics::Histogram<double> QmitkImageStatisticsCalculationJob::HistogramType |
Definition at line 42 of file QmitkImageStatisticsCalculationJob.h.
QmitkImageStatisticsCalculationJob::QmitkImageStatisticsCalculationJob | ( | ) |
/brief standard constructor.
|
override |
/brief standard destructor.
unsigned int QmitkImageStatisticsCalculationJob::GetHistogramNBins | ( | ) | const |
/brief Get bin size for histogram resolution.
bool QmitkImageStatisticsCalculationJob::GetIgnoreZeroValueVoxel | ( | ) | const |
/brief Get status of zero value voxel ignoring.
std::string QmitkImageStatisticsCalculationJob::GetLastErrorMessage | ( | ) | const |
const mitk::Image* QmitkImageStatisticsCalculationJob::GetMaskImage | ( | ) | const |
const mitk::PlanarFigure* QmitkImageStatisticsCalculationJob::GetPlanarFigure | ( | ) | const |
mitk::ImageStatisticsContainer* QmitkImageStatisticsCalculationJob::GetStatisticsData | ( | ) | const |
/brief returns the calculated image statistics.
const mitk::Image* QmitkImageStatisticsCalculationJob::GetStatisticsImage | ( | ) | const |
bool QmitkImageStatisticsCalculationJob::GetStatisticsUpdateSuccessFlag | ( | ) | const |
/brief Returns a flag the indicates if the statistics are updated successfully
const HistogramType* QmitkImageStatisticsCalculationJob::GetTimeStepHistogram | ( | unsigned int | t = 0 | ) | const |
/brief Returns the histogram of the currently selected time step.
void QmitkImageStatisticsCalculationJob::Initialize | ( | const mitk::Image * | image, |
const mitk::Image * | binaryImage, | ||
const mitk::PlanarFigure * | planarFig | ||
) |
/brief Initializes the object with necessary data.
|
override |
/brief Method called once the thread is executed.
void QmitkImageStatisticsCalculationJob::SetHistogramNBins | ( | unsigned int | nbins | ) |
/brief Set bin size for histogram resolution.
void QmitkImageStatisticsCalculationJob::SetIgnoreZeroValueVoxel | ( | bool | _arg | ) |
/brief Set flag to ignore zero valued voxels