自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Solution to PCL OpenNI installation Error

There is a problem with this Windows Installer !!!!I encoutered this error today, when i try to install PCL(all in one packet).I search some key words related to this error, but only a few people ...

2018-08-19 23:30:24 269

转载 Security - lessons in Sydney University - 1

1. In Linux, Both dev/random and /dev/urandom could generate pseudo-random number. But before properly seeding, /dev/random will block on your read, while /dev/urandom not do so. Though /dev/urandom r...

2018-07-11 15:32:26 144

原创 Python 二维傅里叶变换 fft2 ifft2 小尝试

import numpy as npfrom PIL import Imagefrom numpy.fft import fft,ifft,fft2,ifft2,ifftshift,fftshiftfrom tkinter import filedialogdef filterImage(srcImage,max): #打开图像文件并获取数据 srcIm = Image.o...

2018-03-30 20:38:35 5864 1

原创 魔方格答案纠错-概率论

考试时共有N张考签,个学生参加考试(),被抽过的考签立刻放回,求在考试结束之后,至少有一张考签没有被抽到的概率.这是一道经典题目魔方格答案:http://www.mofangge.com/html/qDetail/02/g0/201408/tp4sg002761990.html·~~~与课本的思路(例1.3.7 《概率论与数理统计》武汉大学第二版)不一致

2017-09-24 21:51:38 492

原创 关于广度优先遍历(Breadth First Search)的提纲性内容

1.深度优先遍历可以使用递归 或者 栈的方式实现,然而广度优先应当使用队列,究其原因,广度优先需要保证“先被访问的顶点的未访问邻接点 比后被访问的顶点的未访问邻接点 先访问” 类似于FIFO 问题,借助于队列这种数据结构,我们可以很好地实现广度优先遍历。2.具体实现:1.建好队列q2.源点入队3.队尾元素出队,访问该元素4.刚刚出队的那个元素的未访问邻接点入队5.循环3

2017-08-31 19:27:54 217

原创 广度优先算法展示相关/如何在代码中计算当前顶点相对于源点的层数

void MarkLayer(Graph& G, int v0){//再初始化一下visited数组for (int i = 0; i {visited[i] = 0;//0代表没有被访问}printf("\n B F S \n");//BFS算法 queue Q;Q.push(v0);//InputQueue 用于记录每次一个元素出队列后入队列

2017-08-25 14:35:30 284

空空如也

空空如也

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

TA关注的人

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