Sunday, 10 March 2013

Naughty Techniques of JavaCv : The wrapper of OpenCv

Converting CvMat to CvArr using JavaCv:

Hey man it is really simple, I thought it might be a tedious conversion procedure, but it is just...

CvMat img1 = CvMat.create(imp.getWidth(),imp.getHeight());  // here         
                                                                                                                              geting height and width       
                                                                                                       of the image is shown as pseudo code
CvArr img2 = img1;   

No comments:

Post a Comment