code: def test_bbox_3():
      YXZ = np.indices((32, 32, 64), float)
      YXZ -= 8
      Y, X, Z = YXZ
      ball = ((X**2 + Y**2 + Z**2) < 64).astype(np.uint8)
      m0, M0, m1, M1, m2, M2 = mahotas.bbox(ball)
  
      Y, X, Z = np.where(ball)
      assert np.all(m0 <= Y)
      assert np.all(m1 <= X)
      assert np.all(m2 <= Z)
      assert np.all(M0 > Y)
      assert np.all(M1 > X)
      assert np.all(M2 > Z)
  
file_path: mahotas/mahotas/tests/test_bbox.py
imports: import numpy
  import mahotas
  import mahotas
  from mahotas import bbox
label_desc: Use image node_id 4 for calling a global function with example usage: test_bbox_3() without return types