The dihedral group is the symmetry group of the square. It is the subgroup of that maps a square pixel grid onto itself. It has 8 elements, generated by a rotation by and a reflection :
Cayley table (row column):
Structure. is non-abelian. It contains the cyclic rotation subgroup (index 2, normal) and four reflections: two across the axes and two across the diagonals. It can also be generated by two reflections, for example and the transpose (reflection across a diagonal). Their product is a rotation.
Action on filters. On a filter centred at the origin, acts by rotating and flipping the array (rot90, reverse, transpose). For a point at offset , the orbit has
- size 1 for the centre,
- size 4 for points on an axis () or a diagonal (),
- size 8 otherwise.
This orbit structure determines the dimension of invariant filter spaces (see Invariant Filter Banks).
References
- D. S. Dummit, R. M. Foote (2004). Abstract Algebra, 3rd ed. Wiley. ISBN 978-0-471-43334-7
- T. Cohen, M. Welling (2016). Group Equivariant Convolutional Networks. ICML 2016. arXiv:1602.07576