自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 资源 (2)
  • 问答 (1)
  • 收藏
  • 关注

原创 win10下安装labelme数据标记工具(@author:Gujiamin)

天网恢恢疏而不漏

2021-12-23 16:23:14 1038

原创 视频解析成帧,标记图像,然后获得坐标

视频解析成帧#include<iostream>#include<fstream>#include "cv.h"/*先在程序源文件所在目录查找,未找到再去默认目录查找*/#include<opencv2\opencv.hpp>/*在包含目录中查找*/using namespace cv;using namespace std;int main(){ VideoCapture cap("D:\\NSFC\\videoMaterial\\war3.mp4")

2020-10-06 16:58:01 907 2

原创 从指定路径批量读取图像并比对得出特定pixel的坐标

#include<iostream>#include<fstream>#include<opencv2/opencv.hpp>using namespace std;using namespace cv;int main(){ ofstream file; file.open("shuju.txt"); bool flag1 = true; bool flag2 = true; int step = 30; int currFrame = 0;

2020-09-26 18:26:53 159

原创 OpenCV imread()和show()出现的bug

写了一个图像读取后显示出来的小测试代码如下:#include<iostream>#include<fstream>#include"cv.h"#include<opencv2\opencv.hpp>using namespace std;using namespace cv;int main(){ Mat src, mark; int currentFrame = 30; stringstream str; bool flags = true;

2020-09-20 15:59:21 452

原创 同时含有二叉树和链表——Exercise of 6-3

这第一层馍是行云流水的数据结构—链表:这第二层馅是妙趣横生的Oriented English Grammar这第三层馍是苍翠挺拔的数据结构—二叉树一、没有馅,馍就是普通膜鸡汤卤汁卤的:Every day I remind myself that my inner and outer life are based on the labors of other men,living and deaded,and I must exert myself in order to gi...

2020-06-04 20:37:21 145

原创 深度理解朴素贝叶斯

阅读下面这边文章后,使我对贝叶斯分类的认知又有了新的体会,拨云见日、醍醐灌顶。原著作者:夕小瑶https://mp.weixin.qq.com/s/_oTPcevGiaXl-bKa9nHD_w下面是对作者文章的理解:一、顾名思义,从名字上把贝叶斯掰开来看 Naive,有道翻译是“幼稚的、天真的”。Bayes,就是科学家贝叶斯(如图1,https://en.wikipedia.org/w...

2020-04-17 16:15:32 378

原创 利用caffe实现手写数字识别

2020-03-11 15:04:07 111

原创 Caffe+VS2013+Win10环境(CPU)

编译过程中,vs自动先要帮我们下载编译所需的依赖包:NugetPackages

2020-03-10 15:52:17 132

原创 读入一个C语言程序,并按字母表顺序分组打印变量名,要求每一组内各变量名的的前6个字符相同。

Caution① : 问题来源于 《The C Programming Language Second Edition》Exercise6-2Caution② : 我测试的时候输入的是一组字符串 : ① abcdefg ②abcdefga ③ abcdefa ④cbcdefg ⑤ cbcdefa⑥bbcdefg ⑦bbcdefa 以上述字符串来测试程序。...

2020-02-27 12:12:22 483

原创 C program 结合测试解释一下getchar()函数

本来是写一个能够正确处理下划线,预处理器控制指令,字符串常量,注释的getword()函数先写了第一个功能,进行测试。#include <stdio.h>#include <stdlib.h>#include <ctype.h>#define MAXWORD 100int getword(char*word , int lim){ int...

2020-02-20 18:11:26 321

原创 CodeBlock无代码自动提示的原因和解决方法

原因1:下载版本问题URL(United esource location):http://www.codeblocks.org/downloads/26#windows一定要下载带有编译器的版本原因2:下载了带有编译器的版本,一路默认安装代码仍然没有提示,且在编译时提示如下错误:翻译过来,大致意思是:在你设置的GNU GCC compiler编译器查找路径下没有发现可...

2020-02-19 08:51:41 4544 4

原创 二叉树代码实现

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#define MAXWORD 100struct tnode{ struct tnode*left ; struct tnode*right ; int count...

2020-02-07 14:53:45 175

原创 Windows10+Anaconda+tensorflow(CPU版本)

查看自己的windows版本:1903(OS 内部版本 18362.592) 2019 Microsoft Corporation.使用命令:conda -V 查看anaconda版本:4.3.27使用命令:python 查看python版本:3.6.2Anaconda版本与对应内置pyth...

2020-02-01 10:43:53 16162 18

原创 关于指针的几个模糊概念

以上论述仅是个人夜半时分维之遨游,若有不正,请大家批评指正。总结起来其实就简单的以下5点:① 指针数组:int (*p)[]②数组指针:int*p[]③指针函数: int* fun(char , char)④函数指针:int(*fun)(char,char)⑤typedef int (*fun)(char,char): fun为指向某种特定函数类型的指针类型...

2020-01-19 16:53:16 159

原创 Arcgis中实现平面坐标向经纬度转换

1。打开属性表2.点击左上角的“表选项“菜单下的添加字段精度:小数点前后一共有多少位小数点位数:这个就不啰嗦成功后如下图所示:然后点击计算几何:点击确定计算即可。...

2020-01-09 15:52:30 6732 2

原创 深挖带参数的主函数

本来是要说int main(int argc,char*argv[])的,可是后来却不知不觉的深挖了很多问题。所以这是一篇没有中心的随笔,我就把自己挖开问题的一步步思路记录了下来。首先一个小程序测试走起来:#include <stdio.h>#include <stdlib.h>int main(int argc,char*argv[]){ int ...

2019-12-18 21:12:50 140

原创 能够正确处理下划线、字符串常数、注释及预编译器控制指令的getword()函数

关于问题的理解#include <stdio.h>#include <stdlib.h>#include <ctype.h>#define MAXWORD 100int getword(char*,int);int main(){ char word[MAXWORD]; char c ; char* p = word ; ...

2019-11-27 14:42:11 332

原创 手绘之路——数据结构之链表

①链表的问题导向②原理一③原理二③原理3Code:#include <stdio.h>#include <stdlib.h>#include <string.h>#define HASHSIZE 101static struct nlist* hashtab[HASHSIZE];unsigned hash(char*);struct nlist...

2019-11-13 10:44:12 202

原创 手绘之路——数据结构之“”二叉树“

以解决实际问题为例阐述强大的数据结构——二叉树到底怎么玩我们要解决的问题:随机输入一个文本,统计文本中出现过的单词,同时统计该单词出现的次数。如果不用数据结构,我们可能会想到,每出现一个单词就先遍历前面的单词,如果有,就计数+1,如果没有,就作为一个新单词存入,但是这样会耗费大量的时间空间。二叉树数据结构就能完美的解决这个问题。下面是二叉树个人理解,希望对大家有用:①②③...

2019-10-18 21:09:58 233

原创 输入文本中统计C语言关键字个数之getword()函数——getch()版本

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#define MAXWORD 100int main(){ char word[MAXWORD] ; char* p = NULL; char result ; ...

2019-10-04 20:19:20 931 3

原创 输入文本中统计C语言关键字个数之getword()函数——getchar()版本

书上使用的是getch() 和 ungetch()函数组合,由于最开始对getch()函数了解不是很透彻,以及自身习惯了使用getchar()函数,故而使用了getchar()和ungetch()函数组合。Code如下:#include <stdio.h>#include <stdlib.h>#include <string.h>#include...

2019-09-24 17:59:00 1333

原创 指向结构的指针之 “指针版的 binsearch() ”

写此程序前首先明确#include <stdio.h>#include <stdlib.h>#include <string.h>#define lim sizeof keytab/sizeof keytab[0]struct key{ char* word ; int count ;};struct key keytab[]...

2019-09-19 22:15:23 107

原创 指向结构的指针·之"参数传递与符号常量"之间的小bug问题

#include <stdio.h>#include <stdlib.h>#include <ctype.h>#include <string.h>#define lim sizeof keytab/sizeof keytab[0]struct key{ char* word ; int count ;};struc...

2019-09-17 15:57:08 113

原创 统计输入文本中C语言关键字个数

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#define nkeys sizeof keytab/sizeof keytab[0]#define maxword 100struct key{ char* word ; ...

2019-09-14 09:49:59 991

原创 解释一个结构体数组作为参数传递给函数的误区

#include <stdio.h>#include <stdlib.h>#include <string.h>struct key{ char* word ; int count;};struct key keytab[] ={{"char",0},{"double",0},{"enum",0},{"float",0},...

2019-09-11 17:29:33 5820

原创 getchar()函数

getchar()函数由 “宏” 实现:#define getchar getc(stdin);getchar有一个int 类型的返回值。当程序调用getchar()时,程序就等着用户按键。用户输入的字符被存放在键盘的缓冲区中。直到用户按下回车为止。当用户按下回车键之后,getchar才开始从stdin流中每次读入一个字符。getchar函数的返回值是用户输入的字符的ASCLL码。...

2019-09-08 11:45:44 985

原创 Binsearch之字符串查找

#include <stdio.h>#include <stdlib.h>#include <string.h>struct key{ char* word;};struct key keytable[] ={ "char", "double", "enum", "float", "int", ...

2019-09-01 17:09:51 382

原创 Binsearch:字符查找

#include <stdio.h>#include <string.h>int Binsearch(char , char* , int);int main(){ char *s ="acbdef"; char a = 'b'; int length = 6 / sizeof *s; //printf("%d\n",length)...

2019-08-28 20:44:46 295

原创 Binsearch之整形数值查找

#include <stdio.h>#include <stdio.h>#include <string.h>int BinSearch(int , int[] , int);int main(){ int m = 4;//被查找对象 int p[10] ={1,2,3,4,5,6,7,8,9,11}; int l = si...

2019-08-28 16:06:17 177

原创 The C Programming Language Second Edition.

代码错误:int m = 4 语句缺少“ ;”然而程序的世界里依然逃不脱:城门失火殃及池鱼,唇亡齿寒的道理。10:未申明的 p( p 首次出现在该函数中)9:在 int 之前出现异常的‘逗号’或‘分号’...

2019-08-28 15:23:03 377

原创 “Win10安装ArcGIS10.2 for Desktop需要Microsoft.net framework 3.5 sp1或等效环境” 的解决方案

Google得到如下solution:“I had the same issue on Windows10. found some articles that said to place a copy of Windows10 on my local drive and then use commond line to restall .NET3.5.Here is the command I...

2019-08-12 12:38:51 13246 6

原创 关于指针为什么是4个字节大小

为了理解题设问题,以及深入理解指针...我建议首先理清楚以下几个概念:1、指针是一种极其特殊的数据类型,它不像基本数据类型那样可以直接赋值到内存空间,因此指针的空间是无法存取数据的。因此,不妨提出这样一个疑问,指针的空间中到底存储的是什么?答案是:地址。那么地址是什么,它总得有一串形式将其表现出来吧。是的,其表现形式是一串数字。而基本数据类型的多数表现形式也是一串数字,因此初见指针的感觉就像美...

2019-08-03 14:53:36 6870 3

原创 关于bp神经网络底层数学到底是怎么玩的,我想说个究竟

 依然还是板书,一来是因为个人文本能力有限,直接在线编辑难以形象表达,二来是因为在线编辑太费时间了,请大家见谅。并欢迎交流...smithGu,shihezi University...到此,还有两个思考没写:①为什么要用最小均方差(也称为“最小二乘法”)收敛。②激励函数sigmoid()为什么被淘汰,现在主流激励函数是什么...另外:python测试代码,我后面更新一并附...

2018-09-16 14:59:36 250 1

原创 霍夫变化之直线检测底层算法破解

依旧是板书....

2018-09-03 19:52:13 147

原创 关于 “常量引用可以绑定非常量对象” 的问题

引自C++PRIMER  FOURTH EDITION① A noconst reference may be only attached to an object of the same type as the reference itself.② A const reference may be bound to an object of a different type but re...

2018-09-03 16:48:12 970

原创 关于Canny边缘检测算法的最后两个步骤的深入理解

Canny边缘检测算子一共分为5步:第一步:进行高斯模糊第二步:转灰度图像第三步:求梯度第四步:非最大值抑制第五步:利用双阈值算法检测并连接边缘习惯于板书...给大家带来的不便,敬请原谅。...

2018-09-01 18:53:41 2374

原创 Opencv中Normalize()函数的norm_type参数心得

Opencv中Normalize()函数的norm_type参数心得,欢迎和给大牛交流。未经同意不得转载,谢谢。石河子大学smithGu

2018-08-27 16:21:02 2651

opencv三年研究生图像工程师算法破解汇总.doc

主要是对图像处理算法的探讨,可能有些凌乱,有些需要结合博客内容去看,对于个人来说也希望借助CSDN这个平台保存一些研究笔记,以免硬盘坏掉。

2020-03-18

CAFFEMASTER.zip

用于Caffe在Windows环境下编译的caffe包,之前看视频给的github的地址里没有找到这个包

2020-01-26

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除