Ask Your Question

Revision history [back]

 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 a 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 :)
 

I'm not so sure I can solve the problem entirely but I think I have some information that might be of use. use. The error you are getting is from calling t() on a 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. 0. I hope this bit of information is at least somewhat useful in getting part of your problem solved :)

:)

P.S. I hate the formatting of this thing

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 a 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

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. You also need to switch the order of your arguments. It should be "Core.flip(mGray, mGray.t(), 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

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. You also need to switch the order of your arguments. It should be "Core.flip(mGray, mGray.t(), 0);" 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

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. 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. 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 thingthing -- Solved it for you