1 | initial version |
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 :)
2 | No.2 Revision |
P.S. I hate the formatting of this thing
3 | No.3 Revision |
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
4 | No.4 Revision |
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
5 | No.5 Revision |
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
6 | No.6 Revision |
I'm not so sure I can solve the problem entirely but I think I have some information that might be of use.
P.S. I hate the formatting of this thingthing -- Solved it for you