plastimatch
Loading...
Searching...
No Matches
src
util
itk_mask.h
Go to the documentation of this file.
1
/* -----------------------------------------------------------------------
2
See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3
----------------------------------------------------------------------- */
4
#ifndef _itk_mask_h_
5
#define _itk_mask_h_
6
7
#include "
plmutil_config.h
"
8
#include "
itk_image_type.h
"
9
10
enum
Mask_operation
{
11
MASK_OPERATION_FILL
,
12
MASK_OPERATION_MASK
13
};
14
15
#if defined (commentout)
16
template
<
class
T,
class
U>
17
T
18
vector_mask_image
(
T
&
vf_image
,
U
& ref_image);
19
20
template
<
class
T>
21
T
22
vector_mask_image
(
T
& image,
float
x_spacing
,
23
float
y_spacing
,
float
z_spacing);
24
template
<
class
T>
25
T
26
vector_mask_image
(
T
&
vf_image
,
float
* origin,
float
* spacing,
int
*
size
);
27
28
template
<
class
T>
29
T
30
vector_mask_image
(
T
&
vf_image
,
Plm_image_header
* pih);
31
#endif
32
33
template
<
class
T>
34
T
35
mask_image
(
36
T
input,
37
UCharImageType::Pointer
mask
,
38
Mask_operation
mask_operation
,
39
float
mask_value
40
);
41
42
#endif
Plm_image_header
The Plm_image_header class defines the geometry of an image. It defines image origin,...
Definition
plm_image_header.h:24
Point
Definition
pointset.h:15
itk_image_type.h
mask_image
T mask_image(T input, UCharImageType::Pointer mask, Mask_operation mask_operation, float mask_value)
Definition
itk_mask.cxx:13
Mask_operation
Mask_operation
Definition
itk_mask.h:10
MASK_OPERATION_MASK
@ MASK_OPERATION_MASK
Definition
itk_mask.h:12
MASK_OPERATION_FILL
@ MASK_OPERATION_FILL
Definition
itk_mask.h:11
plmutil_config.h
Generated on Thu Apr 11 2024 17:38:24 for plastimatch by
1.9.8