来源:《Learning Image Processing With OpenCV》 算法原理:蒙特卡洛 PI的计算公式: Cpp代码: 踩到的坑: 问题1. 看输出的s2的图像,理论上是黑背景白点,但是随机8000个点下来就看不出了,还以为是白背景黑点了。。。 解决:npixels=80 问题2: ...
分类:
其他好文 时间:
2016-12-15 01:06:18
阅读次数:
236
https://en.wikipedia.org/wiki/K-means_clustering k-means clustering is a method of vector quantization, originally from signal processing, that is pop ...
分类:
其他好文 时间:
2016-12-14 20:59:53
阅读次数:
154
Description 在英文文献中,尤其是专业文献中,经常有很多的缩略词,如CPU代表Central Processing Unit等。为了方便学习,Qili决定从一批英文论文中提取出所有的缩略词以及它们的全称。 经过初步判断,这些文章的缩略词都是以全部大写字母的形式出现,而且每个缩略词之后会有一 ...
分类:
其他好文 时间:
2016-12-11 13:08:59
阅读次数:
338
OLTP与OLAP的介绍 数据处理大致可以分成两大类:联机事务处理OLTP(on-line transaction processing)、联机分析处理OLAP(On-Line Analytical Processing)。OLTP是传统的关系型数据库的主要应用,主要是基本的、日常的事务处理,例如银 ...
分类:
其他好文 时间:
2016-12-04 07:46:36
阅读次数:
202
1 响应式编程规范 目标:provide a standard for asynchronous stream processing with non-blocking backpressure http://www.reactive-streams.org/ https://github.com/ ...
分类:
编程语言 时间:
2016-12-03 12:07:04
阅读次数:
283
硬件(hardware) 软件(software) 总线(bus) 中央处理器(Central Processing Unit,CPU) 控制单元(control unit) 算术/逻辑单元(arithmetic/logic unit) 比特(bite) 字节(byte) 编码模式(schema) ...
分类:
其他好文 时间:
2016-12-02 02:27:56
阅读次数:
161
* crystal.hdev: extraction of hexagonally shaped crystals via local thresholding and region post-processing* dev_close_window ()dev_update_window ('of ...
分类:
其他好文 时间:
2016-12-01 01:49:28
阅读次数:
349
草草的看完第一章,虽然看的是译文也是感觉涨姿势了, 我来总结一下: 由于 大多数浏览器都是 single process 处理 ui updatas and js execute 于是产生问题: js (script tag) will blocking page processing 上图说话: ...
分类:
编程语言 时间:
2016-11-29 18:57:27
阅读次数:
178
In this lesson we are going to learn how to build a custom Node process for batch processing of Firebase data using the Firebase queue library. From U ...
分类:
其他好文 时间:
2016-11-28 09:30:25
阅读次数:
124
[nio-8080-exec-8] o.s.web.cors.DefaultCorsProcessor : Skip CORS processing: request is from same origin 一次正常的请求 最近别人需要调用我们系统的某一个功能,对方希望提供一个api让其能够更新数据 ...
分类:
编程语言 时间:
2016-11-28 09:22:57
阅读次数:
772