6 connected neighborhood

Hi all
I have a very simple problem.
I am processing a 3D image and I need to visit a 6 connected neighborhood.


I am wondering if there is a way to do this ic C/C++ by using a simple "for" cycle

THX in advance

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!