Why not incorporate this into skimage.feature.peak_local_max?