随笔分类 -  OpenCV

opencv重叠图片
摘要:void test() { cv::Mat image_mat1 = cv::imread("/home/oem/8_temp/maps/地图1/map.pgm"); cv::Mat image_mat2 = cv::imread("/home/oem/8_temp/maps/地图1/map_vir 阅读全文
posted @ 2023-03-09 13:44 543680484 阅读(28) 评论(0) 推荐(0)
c++使用this的一个实例
摘要:转载:原文地址 正在做一个鼠标绘图程序,在一个class中需要调用鼠标响应函数setMouseCallback, 由于setMouseCallback中的mousecallback不支持调用non-static function,遇到了很多问题,现总结解决方法。 myclass.h中 class M 阅读全文
posted @ 2022-12-20 16:09 543680484 阅读(22) 评论(0) 推荐(0)
OpenCV的通道和位深
摘要:预定义: CV_<bit_depth>(S|U|F)C<number_of_channels> 1–bit_depth—比特数—代表8bite,16bites,32bites,64bites—举个例子吧–比如说,如如果你现在创建了一个存储–灰度图片的Mat对象,这个图像的大小为宽100,高100,那 阅读全文
posted @ 2022-12-19 14:08 543680484 阅读(49) 评论(0) 推荐(0)