2017-04-17 16:15:39 -0600 | commented question | The mat function pop_back does not seem to exist in Java+OpenCv 3.2.X I thought I would need it for SVM work but it looks like I do not. So not having it worked out. |
2017-04-17 15:36:42 -0600 | received badge | ● Scholar (source) |
2017-04-17 15:36:08 -0600 | commented answer | The mat function pop_back does not seem to exist in Java+OpenCv 3.2.X Okay so I am not crazy :) One more additional question then. If I resize them the 1d arrays will a SVM still be able to classify the information? Since the image height and image width data is lost? Also I didnt know about making my images float from SVM training. Thank you for that hint! (I am using CV_32FC1) |
2017-04-17 12:08:03 -0600 | asked a question | The mat function pop_back does not seem to exist in Java+OpenCv 3.2.X I am looking to create some training data in a Mat for a SVM. After I use: I was expecting to be able to do: In eclipse this function does not seem to exist: (I don't have enough karma to post inline images) imgur.com/76zYpAj And I am using openCV 3.2.0 which I thought would have this functionality: docs.opencv.org/3.2.0/d3/d63/classcv_1_1Mat.html#a88bbb01901fdfe3f1d0592c592e8757c I am new to openCV and not sure if I am making a simple mistake. Does anyone have any thoughts? |