![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
algorithm research
文章平均质量分 73
suDongCai_happiness
以算法为生
展开
-
数列切断倒置程序
根据Bently写的编程珠玑>>(programming pearls)写的一个例程,解决的问题可以简要概述为:[A, B]-->[B, A]例如:输入[1, 2, 3, 4, 5], 切断位置(partitioning position)为2,那么输出为:[3, 4, 5, 1, 2]。问题看似简单,大家千万别小看它的编程难度, 我对编程水平的理解,应该是程序的时间(多快的运原创 2011-12-27 16:41:47 · 598 阅读 · 0 评论 -
连接物体分割问题(truncated watershed method)
连接物体分割问题(truncated watershed method)连接物体分割在医学图像处理当中的一个非常常见的应用,如处理细胞粘连,本文就一个具体例子试图与大伙探讨一下这个有趣的问题(注:图片由会友刘yan?提供)。程序代码并不复杂, 图(1) 图(2) 图(3)原创 2011-12-28 21:08:36 · 1058 阅读 · 1 评论 -
hausdorff distance and it's application to tile images classification
前段时间有会友发过求瓷砖图片分类的帖子,我看这是一个演示hausdorf距离的好例子,所以就发到这里来了。hausdorf 距离的介绍请参考如下文献:[1] D. P. Huttenlocher, G. A. Klanderman, and W. J. Rucklidge, “Comparing images using the Hausdorff原创 2012-01-11 13:23:19 · 690 阅读 · 0 评论 -
三点定圆程序(matlab实现)
function [center, r] = solve_circle(pt1, pt2, pt3)%Effect: solve the circle which across points 'pt1', 'pt2' and 'pt3'%Inputs:%pt1, pt2, pt3: [x, y]%center: the circle center [x0; y0]%r: the radi原创 2012-01-02 09:32:53 · 3790 阅读 · 0 评论