i have some problem with my program.
i must detect neighbor pixel from seed pixel.
and detect neighbor can grow up until full of pixel on image..
for example :
1. i have seed pixel at (5,5)
2. detect first at (4,5),(6,5), (4,4),(5,4),(6,4), (4,6),(5,6),(6,6)
3. and now detect (3,3)(4,3)(5,3)(6,3)(7,3), (3,4)(3,5)(3,6), ........
4. more grow up to detect neighbor
how algorithm of this problem??
thx.