An example of musical composition.
An example of a musical composition befor rectification.
The image after turning by the necessary angle
The algorithm of rectification.
X = x*cosT - y*sinT;
Y= x*sinT + y*cosT.
where:
(X, Y) - previous pixel coordinates;
(x, y) - pixel coordinates after rectification by the necessary angle;
T (or Theta on the picture) - the necessary angle.
to the previous page.