Basic 2D transformations

An object in 3D space can cast a projection in 2D space that is different from the original projection. Such transformations are called 2D transformations. They are shown in the following image. We will use some of these transformations to explain concepts discussed later in the chapter and also in other chapters:

Basic 2D transformations

We write these transformations in the mathematical form, along with their matrix representations, as shown here:

  • Translation: The mathematical representation of a translation transformation is given by:
    Basic 2D transformations
  • Affine: The ...

Get Mastering OpenCV Android Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.