自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(107)
  • 资源 (2)
  • 收藏
  • 关注

原创 CSharp Library develop histroy

C# 版本 发布时间 对应 .Net 框架版本 对应Visual Studio版本。C# 9.0 2020.11 .NET 5 (跨平台统一命名) Visual Studio 2020。.NET Core 1 2016 第一版开放源代码和跨平台的.NET;2 .NET 发展版本(.NET CORE属于过渡)1. .NET FRAMEWORK 发展版本。.NET Core 2 2017年6月。Windows 默认安装。

2023-09-21 14:07:05 315

原创 WPF_头尾

菜单栏 Menu <!--菜单栏--> <Menu Background="#EEEEF2" Foreground="Black" Height="20" HorizontalAlignment="Stretch" VerticalAlignment="Top" > <MenuItem Header="登录" > <MenuItem He...

2021-12-16 14:38:40 235

原创 事件定义及使用(一)

//事件参数定义 class MyEventArgs : EventArgs { public MyEventArgs(string s) { InputString = s; } public string InputString { get; private set; } public bool Cancel { get; set; } } //事件 class MyEvent { publi.

2021-12-16 14:31:59 296

原创 c++ 创建dll

#pragma once#include <opencv2/opencv.hpp>#ifndef BIGSHOW_DLL_API #define BIGSHOW_DLL_API extern "C" _declspec(dllimport)#endif#ifndef IN#define IN#endif#ifndef OUT#define OUT#endif#ifndef INOUT#define INOUT#endif//#.

2021-03-20 21:58:06 141

原创 ubuntu 编译opencv

1. 下载xxx.tar.gz ,网址如下opencv下载地址2. 解压:tar -xvfxxx.tar.gz3. 创建build文件夹 mkdir build4. 创建install文件夹 mkdir install5. 进入build文件夹 cd build/ -->产生中间文件6. 开始编译cmake -D CMAKE_BUILD_TYPE=Release ...

2020-05-06 20:08:29 142

原创 k-nearest neighbors[k-邻近法]

import numpy as npimport operator as opdef createDataSet(): group = np.array([[1.0, 1.1], [1.0,1.0],[0,0],[0,0.1]]) labels = ['A','A','B','B'] return group, labelsgroup,labels = cre...

2020-03-30 19:38:50 121

原创 基于opencv透视变换

using namespace std;using namespace cv;vector<cv::Point3f> Generate3DPoints();int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); const string fileName = "cam.xml"; File...

2020-01-21 20:01:59 269

原创 不知道干嘛的

cv::Vec3b getColorSubpix(const cv::Mat& img, cv::Point2f pt);cv::Vec3b getColorSubpix1(const cv::Mat& img, cv::Point2f pt){ cv::Mat patch; cv::getRectSubPix(img, cv::Size(1, 1), pt, patch...

2020-01-21 20:00:59 172

原创 cloundCompare

https://github.com/cloudcompare/cloudcompare开源软件,github地址

2019-12-10 10:33:48 382

原创 点云配准

using PointType = pcl::PointCloud<pcl::PointXYZ>;int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); PointType::Ptr cloud_in(new PointType); cloud_in->width = 5; cloud_...

2019-12-02 18:27:04 186

原创 pcl_kdtree

int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); using PointT = pcl::PointXYZ; pcl::PointCloud<PointT>::Ptr cloud(new pcl::PointCloud<PointT>); //点云生成 cloud->w...

2019-11-26 14:59:43 213

原创 pcl_show

using showView = pcl::visualization::PCLVisualizer; showView viewer("PCL"); viewer.setBackgroundColor(0, 0, 0); viewer.addPointCloud(cloud); while (!viewer.wasStopped()) viewer.spinOnce();...

2019-11-26 10:18:09 147

原创 scope_time

pcl::ScopeTime scope_time("Test loop"); { float total = 0.0f; for (std::size_t i = 0; i < 1e1; ++i) total += static_cast<float> (i); } std::cout << "Done." << st...

2019-11-26 09:49:59 333

原创 organized point

// Setup the cloud using PointType = pcl::PointXYZ; using CloudType = pcl::PointCloud<PointType>; CloudType::Ptr cloud(new CloudType); // Make the cloud a 10x10 grid cloud->height = 1...

2019-11-26 09:45:19 109

原创 get_max_min_coordinates

pcl::PointCloud<pcl::PointXYZ>::Ptr cloud; cloud = pcl::PointCloud<pcl::PointXYZ>::Ptr(new pcl::PointCloud<pcl::PointXYZ>); std::string szPath = "C:\\Users\\BZL\\Desktop\\rs1.pcd...

2019-11-26 09:40:55 183

原创 copy_point_cloud

//cloudType::PointType p; //p.x = 1; p.y = 2; p.z = 3; //cloud->push_back(p); //std::cout << p.x << " " << p.y << " " << p.z << std::endl; //cloudType::Ptr...

2019-11-26 09:36:32 186

原创 lambda

auto L = [] { std::cout << "Hello lambda" << std::endl; }; //调用lambdas函数 L(); //int id = 0; //auto f = [id]() mutable { // std::cout << "id:" << id << std::e...

2019-11-18 16:47:57 92

原创 pcl配置

罗sir推荐

2019-11-17 20:01:12 208

原创 qt down file

https://download.qt.io/archive/

2019-09-23 14:20:40 174

原创 calcHist

Mat img = (Mat_<uchar>(9, 12) << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 4, 2, 3, 4, 5, 6, 7, 8, 9, 10...

2019-09-20 15:54:05 230

转载 点积 叉积

1.向量的点积: 向量点积是其各个分量乘积的和a*b = |a||b|cosθ几何意义:点积的结果是一个标量,等于向量大小与夹角的cos值的乘积。2.向量叉积:两个向量a和b的叉积写作a×b(有时也被写成a∧b,避免和字母x混淆)。它的运算结果是一个向量。叉乘的几何意义:|c|=|a×b|=|a| |b|sinα(α为a,b向量之间的夹角)https://www....

2019-09-19 15:55:22 202

原创 opencv--LUT

LUT --lookup tables 查找表Mat aa = imread("C:\\Users\\BZL\\Desktop\\lena.jpg");//记录开始时间double ts = (double)getTickCount(); //创建灰度值间距 并改变指定区间像素值uchar lutData[256];for (int i = 0; i < 256; ...

2019-09-19 09:05:36 242

原创 高低视差

read_image(Image,'1.bmp')get_image_size(Image, Width, Height)*图像中心点halfWidth := Width/2halfHeight := Height/2visionHeight := 700.0takePictureHeight := 18.0value := takePictureHeight /visio...

2019-09-17 20:55:36 257

原创 opencv-fitLine

§fitLine()void cv::fitLine ( InputArray points, OutputArray line, int distType, double param, double reps, doub...

2019-09-16 14:35:32 1284

转载 c++ 修改序列操作-复制(copy copy_n copy_if copy_backward)

https://blog.csdn.net/baidu_34884208/article/details/87891466

2019-09-15 21:08:29 227

转载 C++ STL算法系列2---find ,find_first_of , find_if , adjacent_find的使用

转载自:https://yq.aliyun.com/articles/359442一.find运算假设有一个int型的vector对象,名为vec,我们想知道其中是否包含某个特定值。二.find_first_of的使用除了find之外,标准库还定义了其他一些更复杂的查找算法。当中的一部分类似string类的find操作,其中一个是find_first_of函数。这个...

2019-09-15 21:00:09 275

转载 for_each

函数原型:std::for_eachtemplate <class InputIterator, class Function> Function for_each (InputIterator first, InputIterator last, Function fn);///////////////////////////////////////////////...

2019-09-15 20:09:13 151

原创 all_of any_of & none_of

auto IsOdd(int n) ->bool{ return n % 2 != 0;}int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); std::vector<int> v0{ 1,3,5,7,9,10 }; std::vector<int> v1{ 2,3,6,...

2019-09-15 20:03:15 139

原创 string::size_type & string::npos

#include <QtCore/QCoreApplication>#include <string>#include <iostream>using namespace std;int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); string szStr = ...

2019-09-15 19:49:34 165

原创 STL----- nth_element

#include <QtCore/QCoreApplication>#include <algorithm>#include <iostream>using namespace std;int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); int b[] = { 1...

2019-09-14 14:05:17 76

原创 圆点标定板

* gen_caltab( : : XNum,YNum,MarkDist,DiameterRatio,CalTabDescrFile,CalTabPSFile : )* XNum 每行黑色标志圆点的数量* YNum 每列黑色标志圆点的数量* MarkDist 两个就近黑色圆点中心之间的距离(单位为m)* DiameterRatio 黑色圆点直径与圆点中心距离的比值* CalT...

2019-09-08 10:13:45 1679

原创 FileStorage

//写入数据到xml文档中string szName = "C:\\Users\\BZL\\Desktop\\1.xml"; FileStorage fs(szName, FileStorage::WRITE); // seq_node 是一个 seq 型的节点, 以它为父节点,存入10个数据 fs << "seq_node" << "["; for (in...

2019-09-04 17:24:38 3251

原创 foreach every pixel

Mat img = (Mat_<uchar>(3, 4) << 1, 2, 3, 10, 4, 5, 6, 11, 7, 8, 9, 12);int step = img.step;1./////////////////////////////////for (int i = 0; i <1; i++...

2019-08-29 18:10:09 125

原创 chessboard

int n_cols = 4; // 角点行的个数 int n_rows = 6; //角点列的个数 int n_pix = 100; //每一个块的像素 int col = n_pix * (n_cols + 1); // 生成标定图的列 int row = n_pix * (n_rows + 1); //生成标定图的行 Mat map = Mat(row, co...

2019-08-26 16:19:29 459

原创 python基础学习

1. 控制语句if 语句if--else语句if--elif字典def 函数

2019-08-25 21:17:31 79

原创 CSingleLock

DWORD CThreadSafeBuffer::GetCount(DWORD dwIndex, DWORD* pdwNotify, int* pnBatchNo){    CSingleLock singleLock(&amp;m_csDataAccess);    singleLock.Lock();    *pdwNotify = m_adwNotify[dwIndex];   ...

2018-12-01 12:45:19 654

转载 OCCC

利用jTessBoxEditor工具进行Tesseract3.02.02样本训练,提高识别率1 . 下载Tesseract-OCR(相关版本自行选择)  得到目录结构如下:   tessdata目录为相关的语言包文件目录2 .下载jTessBoxEditor(运行环境为Java虚拟机)得到目录结构如下: 打开方式如下: 工具都安装完成了,我们接下来测试下tesseract ...

2018-11-05 22:34:22 218

原创 Mat结构

int _tmain(int argc, _TCHAR* argv[]){ Mat m = (Mat_&lt;int&gt;(3,2) &lt;&lt; 11,12,13,14,15,16,17,18,19); cout &lt;&lt; "Rows:"&lt;&lt; m.rows &lt;&lt; endl; //行:3 cout &lt;&lt; "Col

2018-11-04 21:30:11 222

原创 远程

1.tightVNC安装进行2. win + R --&gt; mstsc 进入 设置电脑IP

2018-10-05 10:42:09 97

转载 Opencv函数确认

void callback1(int pos, void*){ std::cout &lt;&lt; "hmin" &lt;&lt; pos &lt;&lt; std::endl;}void callback2(int pos, void*){ std::cout &lt;&lt; "smin" &lt;&lt; pos &lt;&lt; std::endl;}voi

2018-10-03 12:04:02 115

相机与手臂校正

将第三方相机的视野与机器人的坐标进行校正,建立转换关系

2018-03-19

毛豆彻底卸载工具 一键卸载

一键安全卸载毛豆 毛豆一般的卸载都不干净 还是有许多文件注入注册表 但是这个工具帮助你彻底卸载毛豆

2011-06-09

空空如也

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

TA关注的人

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