Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Main Page
Modules
Related Pages
+
Classes
Class Index
Class List
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
r
s
t
u
v
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
+
Enumerations
_
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Related Functions
a
e
f
i
m
o
r
s
t
w
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
e
f
g
i
j
k
l
m
n
o
r
s
t
w
+
Functions
a
c
e
f
g
r
t
w
+
Variables
a
c
f
g
i
j
k
l
m
n
o
r
s
t
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
z
+
Functions
a
c
e
i
l
n
p
q
r
s
t
u
v
z
Variables
+
Typedefs
a
d
g
i
l
m
p
q
r
s
t
v
Enumerations
Enumerator
+
Macros
b
c
d
e
f
g
h
i
m
n
o
p
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Libs
MRML
Logic
vtkImageNeighborhoodFilter.h
Go to the documentation of this file.
1
/*=auto=========================================================================
2
3
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5
See COPYRIGHT.txt
6
or http://www.slicer.org/copyright/copyright.txt for details.
7
8
=========================================================================auto=*/
9
10
#ifndef __vtkImageNeighborhoodFilter_h
11
#define __vtkImageNeighborhoodFilter_h
12
13
#include <vtkImageSpatialAlgorithm.h>
14
15
#include "vtkMRMLLogicExport.h"
16
22
class
VTK_MRML_LOGIC_EXPORT
vtkImageNeighborhoodFilter
:
public
vtkImageSpatialAlgorithm
23
{
24
public
:
25
static
vtkImageNeighborhoodFilter
*New();
26
vtkTypeMacro(
vtkImageNeighborhoodFilter
,vtkImageSpatialAlgorithm);
27
32
unsigned
char
*
GetMaskPointer
() {
return
Mask;}
33
37
void
SetNeighborTo8();
38
void
SetNeighborTo4();
39
43
vtkGetMacro(Neighbor,
int
);
44
49
void
GetRelativeHoodExtent(
int
&hoodMin0,
int
&hoodMax0,
int
&hoodMin1,
50
int
&hoodMax1,
int
&hoodMin2,
int
&hoodMax2);
51
54
void
GetMaskIncrements(vtkIdType &maskInc0, vtkIdType &maskInc1, vtkIdType &maskInc2);
55
56
protected
:
57
vtkImageNeighborhoodFilter
();
58
~
vtkImageNeighborhoodFilter
();
59
62
void
SetKernelSize(
int
size0,
int
size1,
int
size2);
63
64
int
Neighbor
;
65
unsigned
char
*
Mask
;
66
};
67
68
#endif
vtkImageNeighborhoodFilter::GetMaskPointer
unsigned char * GetMaskPointer()
Definition:
vtkImageNeighborhoodFilter.h:32
vtkImageNeighborhoodFilter
Augments vtkImageSpatialFilter with a mask to allow neighborhoods of any shape.
Definition:
vtkImageNeighborhoodFilter.h:22
vtkImageNeighborhoodFilter::Mask
unsigned char * Mask
Definition:
vtkImageNeighborhoodFilter.h:65
vtkImageNeighborhoodFilter::Neighbor
int Neighbor
Definition:
vtkImageNeighborhoodFilter.h:64
Generated on Fri May 17 2019 15:20:19 for Slicer by
1.8.14