Synergetics Applied to Pattern Formation and Pattern Recognition