Mathematics of Digital Images: The seven braid patterns