In this chapter, the implementation of visual routines for topographic cellular processors is described in detail. In specific, Ana Logic Computers Kft. (called Ana Logic henceforth) - as part of their contribution to the SPARK project - has developed special visual algorithms for cognition, and implemented them on the Eye-RIS v1.2 system of Ana Focus, described in Chapter 8. A significant requirement was to be able to run these routines in real-time, enabling the roving robots to react to their environment instantaneously. This was achieved, and a library of image processing functions was efficiently implemented on the Eye-RIS system, utilizing the capabilities of the Q-Eye chip. This significant speedup enables real-time image processing with the system even in case of complex tasks. The new functionalities of the Eye-RIS v1.2 visual device enabled the implementation of several advanced visual routines. These routines run at a speed of 200 to 1,000 frames per second (fps) on the system. The following is a list of the specific routines that were implemented: • Global displacement calculation; • Foreground-background separation based segmentation; • Active contour; • Multi-object tracking. In the following sections, each of the above routines is described, along with example programs. Examples are also provided showing the results of the processing, both in terms of what output they produce and also their performance on the Eye-RIS system.