10

基于平移算法的一个小演示

 3 years ago
source link: https://blog.csdn.net/accesine960/article/details/1445485
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

基于平移算法的一个小演示

田春峰 2006-12-16 14:40:00 3845
文章标签: 算法
基于平移算法的一个小演示
小米加步枪  --- 题记

抽空学习过一点关于平移算法的问题,文本聚类平移算法的几点问题。现在做了一个小的演示,自动生成:今日热点关键词 列表。

一、DDA算法原理       DDA(数值微分算法算法一个增量算法。增量算法:在一个迭代算法中,每一步的x、y值是用前一步的值加上一个增量来获得。       通过各行各列象素中心构造一组虚拟网格线。按直线从起点到终点的顺序计算直线与各垂直网格线的交点,然后根据误差项的符号确定该列象素中与此交点最近的象素。 DDA需要考虑所画直线的斜率k: 当 |k| 当 |k|>1 , y每增加


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK