OpenCV C++ 学习笔记

基本操作

  • 读取文件
    • imread(“filename”,cv::IMREAD_COLOR)
  • 类型转换
    • img.convertTo(img_new,CV_32F)