python create 1d image array of zeros and ones code example Example: np.zeros([8,8,3]) >>> np.zeros([8,8,3]) array([[ 0.], [ 0.]])