In this example, a chessboard image is produced, and introduce the ImgArray methods: dstack(),app_along_axis() and an array generate static method meshgrid()
Acknowledgement: the following examples are adapted from :https://rationaltools.org/tools/image-editor/editor.html