Batch conversion of 3D images from 2D and depth map images by SPM