9
The RGGROW Algorithm
•
Let
R
be the
N
pixel region so far and
P
be a neighboring
pixel with gray tone
y
.
•
Define the mean
X
and scatter
S
(sample variance) by
X = 1/N
å
I(r,c)
S
=
å
(I(r,c) - X)
2
2
(r,c)
Î
R
(r,c)
Î
R
2