The answer asked in this assignment is the following: Rotate the image around its center (that is the point of coordinates (100,100)) of an angle theta sampled uniformly in the range [10, 80].
I tried to implement my function my function, but if i try to rotate the image my image to be rotated I find a wrong result and I can't find where's the error. For example, if I try to rotate the image of 180 degrees (only to understand if it works) and I always get the wrong result. wrong resul Another problem is that when I call the function the brightness of each small square inside the image is attenuate, why? Thanks to all