Combines a list of images using cv::hconcat or cv::vconcat.
All images must share the same depth, colorspace, and
nchan. For horizontal concatenation all must have the same
nrow; for vertical, the same ncol.
Examples
# \donttest{
a <- Image$zeros(3L, 4L, 1L, "CV_8U", "GRAY")
b <- Image$fill(128, 3L, 3L, 1L, "CV_8U", "GRAY")
concatenate(list(a, b), "h")$plot()
# }