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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkLabeledImageVolumeCalculator.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
13
#ifndef mitkLabeledImageVolumeCalculator_h
14
#define mitkLabeledImageVolumeCalculator_h
15
16
#include "
MitkDataTypesExtExports.h
"
17
#include <itkObject.h>
18
19
#include "
mitkImage.h
"
20
#include "
mitkImageTimeSelector.h
"
21
22
#include <itkImage.h>
23
24
namespace
mitk
25
{
34
class
MITKDATATYPESEXT_EXPORT
LabeledImageVolumeCalculator
:
public
itk::Object
35
{
36
public
:
37
typedef
std::vector<double>
VolumeVector
;
38
typedef
std::vector<Point3D>
PointVector
;
39
40
mitkClassMacroItkParent
(
LabeledImageVolumeCalculator
, itk::Object);
41
itkFactorylessNewMacro(Self);
42
itkCloneMacro(Self);
43
itkSetConstObjectMacro(
Image
,
mitk::Image
);
44
45
virtual
void
Calculate();
46
47
double
GetVolume(
unsigned
int
label)
const
;
48
49
const
Point3D
&GetCentroid(
unsigned
int
label)
const
;
50
51
const
VolumeVector
&GetVolumes()
const
;
52
53
const
PointVector
&GetCentroids()
const
;
54
55
protected
:
56
LabeledImageVolumeCalculator
();
57
58
~
LabeledImageVolumeCalculator
()
override
;
59
60
template
<
typename
TPixel,
unsigned
int
VImageDimension>
61
void
_InternalCalculateVolumes(itk::Image<TPixel, VImageDimension> *image,
62
LabeledImageVolumeCalculator
*volumeCalculator,
63
BaseGeometry
*geometry);
64
65
ImageTimeSelector::Pointer
m_InputTimeSelector
;
66
67
Image::ConstPointer
m_Image
;
68
69
VolumeVector
m_VolumeVector
;
70
PointVector
m_CentroidVector
;
71
72
Point3D
m_DummyPoint
;
73
};
74
}
75
76
#endif
mitkImage.h
mitk::LabeledImageVolumeCalculator::m_CentroidVector
PointVector m_CentroidVector
Definition:
mitkLabeledImageVolumeCalculator.h:70
MitkDataTypesExtExports.h
mitkImageTimeSelector.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition:
MitkDataTypesExtExports.h:15
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitk::LabeledImageVolumeCalculator::m_VolumeVector
VolumeVector m_VolumeVector
Definition:
mitkLabeledImageVolumeCalculator.h:69
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::LabeledImageVolumeCalculator::m_Image
Image::ConstPointer m_Image
Definition:
mitkLabeledImageVolumeCalculator.h:67
mitk::LabeledImageVolumeCalculator::m_InputTimeSelector
ImageTimeSelector::Pointer m_InputTimeSelector
Definition:
mitkLabeledImageVolumeCalculator.h:65
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition:
mitkBaseGeometry.h:94
mitk::Point< ScalarType, 3 >
mitk::LabeledImageVolumeCalculator::PointVector
std::vector< Point3D > PointVector
Definition:
mitkLabeledImageVolumeCalculator.h:38
mitk::LabeledImageVolumeCalculator::VolumeVector
std::vector< double > VolumeVector
Definition:
mitkLabeledImageVolumeCalculator.h:37
mitk::LabeledImageVolumeCalculator::m_DummyPoint
Point3D m_DummyPoint
Definition:
mitkLabeledImageVolumeCalculator.h:72
mitk::LabeledImageVolumeCalculator
Class for calculating the volume (or area) for each label in a labeled image.
Definition:
mitkLabeledImageVolumeCalculator.h:34
src
MITK
Modules
DataTypesExt
include
mitkLabeledImageVolumeCalculator.h
Generated on Tue Dec 10 2024 10:35:08 for Medical Imaging Interaction Toolkit by
1.8.17