Voxel selection using submodular function optimization