- 博客(7)
- 收藏
- 关注
原创 TypeError: object of type ‘NoneType‘ has no len()的解决方法
TypeError: object of type 'NoneType' has no len()的解决方法
2022-12-08 23:51:02 2780 1
原创 自定义一个3×3卷积模板
#include<opencv2/opencv.hpp>#include<opencv2/highgui/highgui.hpp>#include <opencv2/highgui.hpp>#include<iostream>using namespace cv;int main(/*int argc, char** argv*/){ Mat src, dst; Point anchor; double delta;.
2022-04-13 20:57:30 464
原创 图像的三种平滑、三种锐化增强操作
不是边缘提取,要求是锐化增强,边缘信息需要叠加到原图之上#include<opencv2/opencv.hpp>#include<opencv2/highgui/highgui.hpp>#include <opencv2/highgui.hpp>#include<iostream>using namespace cv;int main(){ namedWindow("原图", WINDOW_NORMAL); Mat image = im
2022-04-13 20:41:51 574
原创 数据库实验二
(1)查询性别为“男”的所有学生的名称并按学号升序排列。select hsy_Sname,hsy_Snofrom Husy_Studentswhere hsy_Ssex='男'order by hsy_Sno asc(2)查询学生的选课成绩合格的课程成绩,并把成绩换算为积分。积分的计算公式为:[1+(考试成绩-60)*0.1]*Ccredit。考试成绩>=60 否则=0 SELECT hsy_Sno,hsy_Cno,hsy_Score,(hsy_Scor...
2022-04-03 22:18:04 5401
原创 opencv图像的减法
当一段视频里,摄影机位置不变的情况下,其中的两帧单独拿出来做图像的减法,可以展现这两个图片的变化以及忽略背景。#include<opencv2/opencv.hpp>#include<opencv2/highgui/highgui.hpp>#include <opencv2/highgui.hpp>#include<iostream>//#include <opencv2/imgproc/imgproc.hpp>using name
2022-03-14 19:41:27 8217
原创 opencv图像灰度化如何处理
#include<opencv2/opencv.hpp>#include<opencv2/highgui/highgui.hpp>#include <opencv2/highgui.hpp>//#include <opencv2/imgproc/imgproc.hpp>using namespace std;using namespace cv;#define cvQueryHistValue_1D( hist, idx0 ) \ ((f.
2022-03-14 18:18:54 5891
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人