Ask Your Question

wez470's profile - activity

2013-06-03 16:52:43 -0600 received badge  Editor (source)
2013-06-03 16:49:13 -0600 answered a question Transposing and Flipping Frames on Android Camera

I'm not so sure I can solve the problem entirely but I think I have some information that might be of use.

The error you are getting is from calling t() on an Rgba Mat. You can call t() on mGray and it will work without giving you an error.

Another thing is that I believe your flip function call is wrong. Giving a value of 1 will flip the image on the Y-axis and you want to flip it on the X-axis after rotating it 90 degrees so you should give it a value of 0.

I hope this bit of information is at least somewhat useful in getting part of your problem solved :) For some reason in my program when I display the edited gray frame, it is just black but I can process the gray frame and draw things on the rgba frame according to my findings and display that

P.S. I hate the formatting of this thing -- Solved it for you