One of the lines of the code that i'm editing from IplImage* to Mat is
CV_IMAGE_ELEM(output, float, pit->y, pit->x) = CV_IMAGE_ELEM(SWTImage, float, pit->y, pit->x);
Please tell me how to convert it into Mat format for C++.
1 | initial version |
One of the lines of the code that i'm editing from IplImage* to Mat is
CV_IMAGE_ELEM(output, float, pit->y, pit->x) = CV_IMAGE_ELEM(SWTImage, float, pit->y, pit->x);
Please tell me how to convert it into Mat format for C++.