fix pixel_neighbor_