Medical Imaging Interaction Toolkit
2024.12.00
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
i
m
o
p
q
r
s
u
v
Examples
Download
▼
Medical Imaging Interaction Toolkit
►
MITK User Manual
►
Developer Manual
►
MITK Basic Image Processing Mini Apps
Deprecated List
▼
API Reference
►
Groups
►
Namespace List
►
Class List
▼
File List
►
File List
►
File Members
►
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
QmitkImageStatisticsCalculationRunnable.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
#ifndef QmitkImageStatisticsCalculationRunnable_h
13
#define QmitkImageStatisticsCalculationRunnable_h
14
15
//mitk headers
16
#include <
mitkImageStatisticsContainer.h
>
17
18
#include "
QmitkDataGenerationJobBase.h
"
19
20
// itk headers
21
#ifndef __itkHistogram_h
22
#include <itkHistogram.h>
23
#endif
24
25
#include <
MitkImageStatisticsUIExports.h
>
26
33
class
MITKIMAGESTATISTICSUI_EXPORT
QmitkImageStatisticsCalculationRunnable
:
public
QmitkDataGenerationJobBase
34
{
35
Q_OBJECT
36
public
:
37
38
typedef
itk::Statistics::Histogram<double>
HistogramType
;
39
42
QmitkImageStatisticsCalculationRunnable
();
45
~
QmitkImageStatisticsCalculationRunnable
();
46
49
void
Initialize(
const
mitk::Image
* image,
const
mitk::BaseData
* mask);
52
mitk::ImageStatisticsContainer
* GetStatisticsData()
const
;
53
54
const
mitk::Image
* GetStatisticsImage()
const
;
55
const
mitk::BaseData
* GetMaskData()
const
;
56
59
void
SetIgnoreZeroValueVoxel(
bool
_arg);
62
bool
GetIgnoreZeroValueVoxel()
const
;
65
void
SetHistogramNBins(
unsigned
int
nbins);
68
unsigned
int
GetHistogramNBins()
const
;
69
70
ResultMapType
GetResults
()
const override
;
71
72
protected
:
73
bool
RunComputation
()
override
;
74
75
private
:
76
mitk::Image::ConstPointer
m_StatisticsImage;
77
mitk::BaseData::ConstPointer
m_MaskData;
78
mitk::ImageStatisticsContainer::Pointer
m_StatisticsContainer;
79
bool
m_IgnoreZeros;
80
unsigned
int
m_HistogramNBins;
81
};
82
#endif
QmitkImageStatisticsCalculationRunnable
Definition:
QmitkImageStatisticsCalculationRunnable.h:33
MitkImageStatisticsUIExports.h
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
QmitkDataGenerationJobBase.h
itk::SmartPointer< const Self >
QmitkImageStatisticsCalculationRunnable::HistogramType
itk::Statistics::Histogram< double > HistogramType
Definition:
QmitkImageStatisticsCalculationRunnable.h:38
mitk::ImageStatisticsContainer
Container class for storing a StatisticsObject for each time step.
Definition:
mitkImageStatisticsContainer.h:34
QmitkDataGenerationJobBase::RunComputation
virtual bool RunComputation()=0
MITKIMAGESTATISTICSUI_EXPORT
#define MITKIMAGESTATISTICSUI_EXPORT
Definition:
MitkImageStatisticsUIExports.h:15
QmitkDataGenerationJobBase::GetResults
virtual ResultMapType GetResults() const =0
mitk::BaseData
Base of all data objects.
Definition:
mitkBaseData.h:42
QmitkDataGenerationJobBase
QmitkDataGenerationJobBase Base class for generation jobs used by QmitkDataGenerationBase and derived...
Definition:
QmitkDataGenerationJobBase.h:32
mitkImageStatisticsContainer.h
QmitkDataGenerationJobBase::ResultMapType
std::map< std::string, mitk::BaseData::Pointer > ResultMapType
Definition:
QmitkDataGenerationJobBase.h:39
src
MITK
Modules
ImageStatisticsUI
Qmitk
QmitkImageStatisticsCalculationRunnable.h
Generated on Tue Dec 10 2024 10:35:11 for Medical Imaging Interaction Toolkit by
1.8.17