/Geometric-Transformation

Geometric transformation such as translation, rotation, scaling, sharing implemented from scratch in openCV python.

Primary LanguagePython

Geometric-Transformation

Geometric transformation such as translation, rotation, scaling, sharing implemented from scratch in openCV python.
Geometric transformation -

  1. Translation -> x, y
  2. Rotation -> Angle in degree
  3. scaling -> x,y
  4. sharing -> 0,y or x,0 or x,y

Input

alt text

Translation

x = 100
y = 50

alt text

Rotation

Angle = 90
alt text

Scaling

x = 0.5
y = 0.5
alt text

Sharing

x = 0.2
y = 0.2
alt text