numpy array stack in python code example
Example: numpy stack in new dimension
np.stack((R_mat, G_mat, B_mat), axis = 2)
# identify any new dimension as you like
np.stack((R_mat, G_mat, B_mat), axis = 2)
# identify any new dimension as you like