In this paper, we propose a universal piecewise-linear (PWL) CNN coupling cell, the simplicial cell, which is intended to work with binary as well as gray-level inputs. The construction of the cell is based on the theory of canonical simplicial PWL representations. As a consequence, the coupling function is endowed with important numerical features, namely: the representation of the characteristic cell function is sparse; the family of coupling functions constitutes a Hilbert space; powerful solution algorithms have been developed for the approximation of nonlinear functions, which is particularly useful when the CNN parameters need to be tuned from examples; the parameters can be extracted from a truth table when the CNN is specified analytically.