% Created by Yuandong Tian, Oct. 5, 2009
% Email: yuandong@andrew.cmu.edu
% reconstruct the underlying scene given the coefficients. 

[centerFrame, reconImg1, reconImg2, meanImg, medianImg] = exp_getReconComp(img, frames, tsel, blockx1, blocky1, blockx2, blocky2, b, deltapsReals1, deltapsReals2);

sampleImgs = [sampleImgs, frames(:, :, distortedIndices(i))];
reconImg1s = [reconImg1s, reconImg1];
reconImg2s = [reconImg2s, reconImg2];
meanImgs = [meanImgs, meanImg];
medianImgs = [medianImgs, medianImg];
