MATLAB code for the paper "Nonlocal Random Walks Algorithm for Semi-Automatic 2D-to-3D Image Conversion"