In this case all 8 pixel neighbors of processed pixel are taken into account.
In this case only 4 nearest neighbors of processed pixel are taken into account.
In this case all 26 pixel neighbors of processed pixel are taken into account.
In this case only 18 nearest neighbors of processed pixel are taken into account (with a distance ).
In this case only 6 nearest neighbors of processed pixel are taken into account (with a distance ).