Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
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
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkContourModelUtils.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 mitkContourModelUtils_h
14
#define mitkContourModelUtils_h
15
16
#include <
mitkContourModel.h
>
17
#include <
mitkImage.h
>
18
#include <vtkSmartPointer.h>
19
20
#include <
MitkContourModelExports.h
>
21
22
namespace
mitk
23
{
29
class
MITKCONTOURMODEL_EXPORT
ContourModelUtils
:
public
itk::Object
30
{
31
public
:
32
mitkClassMacroItkParent
(
ContourModelUtils
, itk::Object);
33
40
static
ContourModel::Pointer
ProjectContourTo2DSlice(
const
Image
*slice,
41
const
ContourModel
*contourIn3D);
42
49
static
ContourModel::Pointer
BackProjectContourFrom2DSlice(
const
BaseGeometry
*sliceGeometry,
50
const
ContourModel
*contourIn2D);
51
60
//[[deprecated]]
61
DEPRECATED
(
static
void
FillContourInSlice(
const
ContourModel
*projectedContour,
62
Image
*sliceImage,
63
const
Image
* workingImage,
64
int
paintingPixelValue = 1));
65
75
//[[deprecated]]
76
DEPRECATED
(
static
void
FillContourInSlice(
const
ContourModel
*projectedContour,
77
TimeStepType
contourTimeStep,
78
Image
*sliceImage,
79
const
Image
* workingImage,
80
int
paintingPixelValue = 1));
81
92
static
void
FillContourInSlice2(
const
ContourModel
* projectedContour,
93
Image
* sliceImage,
94
int
paintingPixelValue = 1);
95
108
static
void
FillContourInSlice2(
const
ContourModel
* projectedContour,
109
TimeStepType
contourTimeStep,
110
Image
* sliceImage,
111
int
paintingPixelValue = 1);
112
127
[[deprecated]]
128
static
void
FillSliceInSlice(
vtkSmartPointer<vtkImageData>
filledImage,
129
vtkSmartPointer<vtkImageData>
resultImage,
130
const
Image
* image,
131
int
paintingPixelValue,
132
double
fillForegroundThreshold = 1.0);
133
137
static
ContourModel::Pointer
MoveZerothContourTimeStep(
const
ContourModel
*contour,
TimeStepType
timeStep);
138
147
static
int
GetActivePixelValue(
const
Image
* workingImage);
148
149
protected
:
150
ContourModelUtils
();
151
~
ContourModelUtils
()
override
;
152
};
153
}
154
155
#endif
mitkImage.h
vtkSmartPointer< vtkImageData >
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
DEPRECATED
#define DEPRECATED(func)
Definition:
mitkCommon.h:175
itk::SmartPointer< Self >
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkContourModel.h
MitkContourModelExports.h
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition:
mitkBaseGeometry.h:94
mitk::ContourModel
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
Definition:
mitkContourModel.h:47
mitk::ContourModelUtils
Helpful methods for working with contours and images.
Definition:
mitkContourModelUtils.h:29
mitk::TimeStepType
std::size_t TimeStepType
Definition:
mitkTimeGeometry.h:27
MITKCONTOURMODEL_EXPORT
#define MITKCONTOURMODEL_EXPORT
Definition:
MitkContourModelExports.h:15
src
MITK
Modules
ContourModel
Algorithms
mitkContourModelUtils.h
Generated on Sat Mar 15 2025 02:13:15 for Medical Imaging Interaction Toolkit by
1.8.17