Returns the highest points of a 3d ndarray as a 2d ndarray.