opencv 一張圖片,鼠標左擊時顯示座標並輸出像素值,鼠標移動時不顯示座標

#include<opencv2/opencv.hpp> #include<iostream> #include<math.h> using namespace cv; using namespace std; Mat src; void on_mouse(int event, int x, int y, int flags, void* ustc); int main(int argc, cha
相關文章
相關標籤/搜索