Suppose an image matrix A of size M by N is splited into (M-m+1)(N-n+1) overlapped small patches of size m by n. Given a matrix B of size (mn) by (M-m+1)(N-n+1) , where each column of B is a vectorized small patch, this function try to reconstruct the full image A.
ImageReCon(B, mm, nn, m, n, stepsize = 1)
An (mn) by (M-m+1)(N-n+1) matrix.
Full image of size (mm by nn).
Size of the small patches (m by n).
(optional) The stepsize when splicting the image. Default is 1
A mm by nn matrix