Program to convert image and rotate
- by user1755692
I've been trying to make this program in c++ with opencv that converts the image to greyscale and rotates the image afterwards, but the output I get is all kinds of messed up.
I have been searching for solutions and looking for help everywhere, but I haven't been able to find out what the heck I have done wrong so if any of you could help me it'd be great
Code:
http://pastebin.com/FSJKyaeU
Also, here's a picture of the output I get
http://i.imgur.com/qpYm1.jpg