Ask Your Question

Revision history [back]

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:

    trainingImages.push_back(img);

I was expecting to be able to do:

    System.out.println( trainingImages.pop_back(img) );

In eclipse this function does not seem to exist: (I don't have enough karma to post inline images or proper links...)

http:// DeleteThisText imgur.com/76zYpAj

And I am using openCV 3.2.0 which I thought would have this functionality:

http:// DeleteThisText 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?

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:

    trainingImages.push_back(img);

I was expecting to be able to do:

    System.out.println( trainingImages.pop_back(img) );

In eclipse this function does not seem to exist: (I don't have enough karma to post inline images or proper links...)images)

http:// DeleteThisText imgur.com/76zYpAj

And I am using openCV 3.2.0 which I thought would have this functionality:

http:// DeleteThisText 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?