function out = reconstruct_bg(im_in)
% Reconstruct background 
% random synthesis 
if ~exist('im_in')
  im_in = imread(sprintf('../../aligned_data/martin/9.jpg'));
end


[h w c]=size(im_in);
out = im_in;
for j = 1 : w  
  out(:, j, :) = im_in(:, randi(100), : );
end
out = imfilter(out, fspecial('gaussian', [20 20], 10));
out = out(10:end-200, 10:end-10, :);
out = imresize(out, [h w]);
