Use 5x5 window for local maxima calculation