Python

  1. MIP_2 = np.max(img2, axis=0)

Matlab

  1. MIP = max(f,[],3);
  2. imshow(MIP,[]),title('raw iamge MIP')