Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Rotation of an image with this algorithm

I have to do a rotation of an image with this algorithm:

we need to define the amount of rotation in terms of an angle. We denote this angle θ meaning that each pixel in f (x, y) is rotated θ degrees. The transformation is defined as

x1 = x · cos θ −y · sin θ | x1 | | cos θ −sin θ | | x | ⇒ | | = | | * | | y1 = x · sin θ + y · cos θ | y1 | | sin θ cos θ | | y |  I tried to go through some of the core functionality tutorials, but I'm already lost at the 3rd chapter.

I don't know how to do this with c++ and opencv, and I really hope that someone in here can help me.

I don't even know how to access one pixel in the matrix and tell it to do - well just something..

Rotation of an image with this algorithm

I have to do a rotation of an image with this algorithm:

we need to define the amount of rotation in terms of an angle. We denote this angle θ meaning that each pixel in f (x, y) is rotated θ degrees. The transformation is defined as

x1 = x · cos θ −y · sin θ | x1 | | cos θ −sin θ | | x | ⇒ | | = | | * | | y1 = x · sin θ + y · cos θ | y1 | | sin θ cos θ | | y | algorithm  I tried to go through some of the core functionality tutorials, but I'm already lost at the 3rd chapter.

I don't know how to do this with c++ and opencv, and I really hope that someone in here can help me.

I don't even know how to access one pixel in the matrix and tell it to do - well just something..

Rotation of an image with this algorithm

I have to do a rotation of an image with this algorithm:

we need to define the amount of rotation in terms of an angle. We denote this angle θ meaning that each pixel in f (x, y) is rotated θ degrees. The transformation is defined as

algorithmimage description  I tried to go through some of the core functionality tutorials, but I'm already lost at the 3rd chapter.

I don't know how to do this with c++ and opencv, and I really hope that someone in here can help me.

I don't even know how to access one pixel in the matrix and tell it to do - well just something..

Rotation of an image with this algorithm

I have to do a rotation of an image with this algorithm:

we need to define the amount of rotation in terms of an angle. We denote this angle θ meaning that each pixel in f (x, y) is rotated θ degrees. The transformation is defined as

image description  

I tried to go through some of the core functionality tutorials, but I'm already lost at the 3rd chapter.

I don't know how to do this with c++ and opencv, and I really hope that someone in here can help me.

I don't even know how to access one pixel in the matrix and tell it to do - well just something..