- 博客(16)
- 资源 (28)
- 收藏
- 关注
原创 emgu cv 图像三色的直方图
结果如图所示using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;us
2013-08-29 20:07:09 5950 11
原创 C#读取C++编写的DLL
#include "stdafx.h"#define DLL1_API extern "C" _declspec(dllexport)#include "Dll1.h"#include #include int _stdcall add(int a,int b){ return a+b;}int _stdcall subtract(int a,int b){ return
2013-08-29 11:41:48 1046
原创 emgu cv hog 特征提取 与opencv 生成的结果略有区别
//////////////////////////////////////////////////////////////////参数设定////////////////////////////////根据自己的参数设置/////////////////////// Rectangle rc = new Rectangle(); rc.Width
2013-08-28 15:55:14 3298
原创 emgu cv 读取摄像头图像
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Emgu.CV;u
2013-08-29 20:12:09 5366 7
原创 emgu cv 轮廓提取
第一步:建c#窗体 添加好COM和引用在窗体上添加两个picturebox 控件和一个按键using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Sy
2013-08-29 19:12:42 7740 16
原创 C++读取C# .cs 生成的dll
第一步: 打开VS2010(我用的是这个版本的)文件->新建->项目->类库->using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace add_dll{ public class Class1 { pub
2013-08-29 18:38:14 1009
原创 c# 调用 .cs 生成的 dll 文件
第一步:打开VS2010(我用的是这个版本的)文件->新建->项目->类库->using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace add_dll{ public class Class1 { public sta
2013-08-29 16:41:25 1237
原创 双向链表
#include #include "dlist.h"int main()//测试程序{ Dlist dlist; int i=dlist.size(); std::cout<<i<<std::endl; dlist.push_back(2); for (int j1=0; j1<dlist.size(); ++j1) std::cout<<dlist.value(j1+
2013-08-29 08:42:32 733
原创 c# 读取 Excel的内容
//excel 的读取namespace Csharp_excel_读{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(obj
2013-08-28 19:42:09 942
原创 c# Excel 的写入
//需要添加COM,Microsoft Excel 11.0 object Librarynamespace Csharp_EXCEL_写{ public partial class Form1 : Form { Excel.Application m_objExcel = null; Excel._Workbook m_objBook = nu
2013-08-28 19:03:15 1095
原创 -0-1排序---遗忘比较交换算法
//-----------0-1排序---遗忘比较交换算法--------------------------templatevoid compare_exchange(T a[],int i,int j){if(a[i]>a[j]){exchange(a[i],a[j]);}}templatevoid insertion_sort(T a[],int size){for(int j = 1;j=
2013-08-28 15:32:30 1573
原创 找数组中第i小的元素
//----------------找数组中第i小的元素---------------------templateint randomized_select(T a[],int p,int r,int i){if(p==r)return a[p];int q = randomized_partition(a,p,r);int k = q-p+1;if(i==k)
2013-08-28 10:54:51 802
原创 排序算法_计数排序
//-----------counting_sort------------------templatevoid counting_sort(T a[],T b[],int k,int size){int *c = new int [k+1];for(int i =0;i{c[i]=0;}for(int j=0;j{c[a[j]]=c[a[j]]+1;
2013-08-28 10:31:19 707
原创 排序算法_堆排序(最大堆、最小堆)
//*****************************************void swap(int &a,int &b){ a=a+b; b=a-b; a=a-b;}void Heapify(int a[],int k,int m) //整理堆{ int k1=2*k; int k2=2*k+1; i
2013-08-27 21:37:07 881
原创 排序算法_快速排序、随机快速排序
//------------------------快速排序--------------------------int Partion(int a[],int low,int high) //找出分割位置{ int key; key=a[low]; while(low {
2013-08-27 21:33:46 710
原创 排序算法_插入排序、归并算法
//---------------------归并算法-------------------------templatevoid merge(T a[],int p, int q , int n){int n1=q-p+1;int n2 = n-q;int *l=new int[q-p+1];int *r=new int[n-q];for(int i
2013-08-27 17:25:49 746
metslib-0.5.3
2018-04-04
逆透视变换matlab 代码
2016-07-15
OpenCV3.1.0(bin,lib,include)VS2012 x86 扩展版本
2016-06-18
ICA 用到的声音资料
2015-09-25
coursera 上 Machine Learning 编程源码解答5-8
2015-05-28
Pattern Recognition And Machine Learning
2014-12-04
Optimization for Computer Vision
2014-08-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人