A mirror reverses an array or image along a chosen dimension. For an image, horizontal mirroring reverses pixel order from left to right while preserving rows and color channels. section 3.1.2
Mirror an image horizontally
Use slicing to reverse the horizontal axis: `img = img[:, ::-1, :]`. The first and last axes remain unchanged, so the image keeps its vertical structure and channels. NumPy also provides `flip()` for similar transformations. section 3.1.2
Mirroring fits naturally into image preprocessing and augmentation. A training pipeline can randomly choose a horizontal flip or Gaussian noise, creating varied inputs for cat-and-dog classification. section 9.1
Figure 9.1 Scheme of the data augmentation process
Shows horizontal flipping as one branch of a simple image data-augmentation process. section 9.1

