ImageSplit: Splict image into small patches
Description
Splict an image matrix A of size M by N into overlapped small patches of size m by n.
Total of (M-m+1)(N-n+1) patches.
Usage
ImageSplit(A, m, n, stepsize = 1)
Arguments
m, n
Size of the small patches (m by n).
stepsize
(optional) The stepsize when splicting the image. Default is 1
Value
A (mn) by (M-m+1)(N-n+1) matrix, each column of which is a
vectorized small patch.