摘要: 输入一张原图和一张你从原图上扣下来的矩形图,用opencv寻找到这个区域。代码如下: #include <opencv2/opencv.hpp> #include <iostream> int main() { // 读取源图像和模板 cv::Mat srcImg = cv::imread("tar 阅读全文
posted @ 2023-06-03 09:47 天天掉头发 阅读(117) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2023-05-03 16:04 天天掉头发 阅读(13) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WMPLib;//需要额外添加的引用,win媒体播放器, 阅读全文
posted @ 2023-04-26 11:45 天天掉头发 阅读(13) 评论(0) 推荐(0) 编辑
摘要: //二叉树链式存储 #include<stdio.h>#include<math.h> #define ElemType char#define MaxSize 20 typedef struct BiNode{ ElemType data; struct BiNode *lchild,*rchil 阅读全文
posted @ 2022-07-20 20:04 天天掉头发 阅读(35) 评论(0) 推荐(0) 编辑
摘要: //二叉树顺序存储 不存下标0#include<stdio.h>#include<math.h> #define ElemType int#define MaxSize 20typedef struct SqBinTree{ ElemType data; int isEmpty;//我们需要一个东西 阅读全文
posted @ 2022-07-20 16:54 天天掉头发 阅读(51) 评论(0) 推荐(0) 编辑
摘要: //利用程序中缀转后缀#include<stdio.h>#include<stdlib.h> #define ElemType char#define MaxSize 10 typedef struct{ ElemType data[MaxSize]; int top;} SqStack; //初始 阅读全文
posted @ 2022-07-18 14:50 天天掉头发 阅读(35) 评论(0) 推荐(0) 编辑
摘要: //链式队列#include<stdio.h>#include<stdlib.h> #define ElemType int typedef struct LinkNode{//链式队列节点ElemType data;struct LinkNode *next;}LinkNode; typedef 阅读全文
posted @ 2022-07-17 21:08 天天掉头发 阅读(25) 评论(0) 推荐(0) 编辑
摘要: //顺序队列,会有假溢出的缺点#include<stdio.h> #define MaxSize 5#define ElemType int typedef struct node{ElemType data[MaxSize];int front_queue,rear_queue;}SqQueue; 阅读全文
posted @ 2022-07-16 10:22 天天掉头发 阅读(34) 评论(0) 推荐(0) 编辑
摘要: //顺序循环队列,克服假溢出的缺点 #include<stdio.h> #define MaxSize 5#define ElemType int typedef struct node{ElemType data[MaxSize];int front_queue,rear_queue;}SqQue 阅读全文
posted @ 2022-07-16 10:14 天天掉头发 阅读(32) 评论(0) 推荐(0) 编辑
摘要: //链表栈#include<stdio.h>#include<stdlib.h>#define MaxSize 5#define ElemType int typedef struct node{ElemType data;struct node *next;}listStack; //创造头节点l 阅读全文
posted @ 2022-07-15 23:19 天天掉头发 阅读(16) 评论(0) 推荐(0) 编辑
返回顶端