Table 1 Comparison of running times (in seconds) of the proposed approach based on use of cumulative space and a naive implementation; case of the toy example patterns involving three objects to detect in each simulated image; running times averaged on 5 realisations on a standard laptop computer (Core i7 2670QM@2.2Ghz, 4Go RAM)