Patterns generation and transition matrices in multi-dimensional lattice models