fork download
  1. #include "main.h"
  2. #include <iostream>
  3. #include "opencv2\opencv.hpp"
  4.  
  5. using namespace std;
  6. using namespace cv;
  7.  
  8. //void DLL_EXPORT test(uchar* p)
  9. //uchar* DLL_EXPORT test(void)
  10. //void DLL_EXPORT test(uchar* p, int x, int y)
  11. uchar* DLL_EXPORT test(void)
  12. {
  13.  
  14. string ImageName("SOP5_10.5mm_25mm_5+5");
  15.  
  16. Mat OriginalImg = imread(ImageName+".bmp", 0 );
  17.  
  18. // imshow("aa",OriginalImg);
  19. return OriginalImg.data;
  20. }
  21.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty