Image2Neibs.perform

Implement Image2Neibs.perform to allow run in FAST_COMPILE to help debug.