Program to convert image and rotate

Posted by user1755692 on Stack Overflow See other posts from Stack Overflow or by user1755692
Published on 2012-10-21T16:56:46Z Indexed on 2012/10/21 17:00 UTC
Read the original article Hit count: 132

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about c++

Related posts about opencv