CHANGED:applied the OpenCV::tilingImages function implementation