Rotate image correctly [closed]
I'm using Emgu to rotate a very large image (7085w x 9920h)
However, after rotating it , he seems to "Invert" width and height. On the rotated image (using Windows Image Viewer), after rotating it 90 degrees the image has 9920w x 7085h.
With Emgu, after rotating and saving it (testing), the image has 7085w x 9920h.
What can be happening in that case ? I'm passing the correct parameters, but i've got no idea why this behaviour is happening.
newImage = newImage.Rotate(90, new Bgr(0, 0, 0));
Thanks in advance
we cannot help you with emgu-specific problems, please ask on their own forum
(there is no Rotate() function in opencv)
actually berak, there is a rotate() function in OpenCV, Emgu and thus C# has a nasty habit of making function names starting with a capital ;) But still I agree that this is out of scope and should be placed on the proper fora :)