Open fogism.m
and click run

There is a section defining filename to use. They are all in pairs, either view0 view2.png, or im0, im1.png. For the patio, you need to uncomment filename1='patio.png', set fileread as false, and below there is a if statement, reverse commenting all the statement in the else clause:
Before:
    load('depth_map.mat');
%     depth = im2double(imread('patio_depth.jpg')); xmin=1;
    depth = Ipf(:,xmin:end);
After reverse commenting:
%    load('depth_map.mat');
     depth = im2double(imread('patio_depth.jpg')); xmin=1;
%    depth = Ipf(:,xmin:end);