用鼠標截取矩形圖像並保存(1)

                摘要:繼上一個實驗,實現用鼠標截 取矩形圖像並保存。     關鍵字:copyTo     copyTo最一般的用法是src.copyTo(img),將src複製到img矩陣中。 實驗代碼如下:  #include "opencv2/imgproc.hpp" #include "opencv2/highgui.hpp" #include <stdio.h>   us
相關文章
相關標籤/搜索