Added output images checking in the test benches "detection of local extrema" and "topological erosion"