Image Processing Reference
In-Depth Information
enddo
N
←
length of the list
(Main cycle processing)
[STEP 3]
(Detection of
FPV
(
l
n
←
0
means
FPV
) and classification of
border voxels)
for
n
=
1
to
N
do
if
(
l
n
≤
mind)
then
if
C
2istrue(=(
i
n
,j
n
,k
n
) is not deletable)
then
exclude an element
e
n
from the list (
FPV
)
else
if
C
1 is true (= thickness of a figure at (
i
n
,j
n
,k
n
)is
1
)
then
exclude
e
n
from the list (
FPV
)
else
m
←
(the number of non-0 voxels in the 26-neighborhood of (
i
n
,j
n
,k
n
))
l
n
←
int(
m/
3
)+
7
(classification of border voxels)
endif
endif
endif
enddo
(Subcycle processing)
[STEP 4]
(Deletion of a voxel)
N
←
length of the list
for
bordertype =
7
to
15
do
for
n
=
1
to
N
do
if
(
l
n
=bordertype)
then
if
C
2istrue(=(
i
n
,j
n
,k
n
) is not deletable)
then
exclude
e
n
from the list (
FPV
)
else
if
C
1 is true (= thickness of a figure at (
i
n
,j
n
,k
n
)is
1
)
then
exclude
e
n
from the list (
FPV
)
else
f
i
n
j
n
k
n
←
0
(deletion of a voxel (
i
n
,j
n
,k
n
))
exclude
e
n
from the list
for
(all voxels (
i
,j
,k
) in the 6-neighborhood of (
i
n
,j
n
,k
n
))
do
if
(
f
i
j
k
>
20
)
then
add (
i
,j
,k
,f
i
j
k
) to the list (addition of voxels to the list)
f
i
j
k
←
1
endif
enddo
endif
Search WWH ::
Custom Search