def minmax_to_corner_3d(minmax_box):
    ndim = (minmax_box.shape[(- 1)] // 2)
    center = minmax_box[..., :ndim]
    dims = (minmax_box[..., ndim:] - center)
    return center_to_corner_box3d(center, dims, origin=0.0)
def minmax_to_corner_3d(minmax_box):
    ndim = (minmax_box.shape[(- 1)] // 2)
    center = minmax_box[..., :ndim]
    dims = (minmax_box[..., ndim:] - center)
    return center_to_corner_box3d(center, dims, origin=0.0)