distance transform

所属分类:多媒体编程
开发工具:Visual C++
文件大小:6KB
下载次数:430
上传日期:2006-01-07 02:25:52
上 传 者woodheadone
说明:  目前效率最好的距离变换算法,距离变换广泛应用于图像处理,比如可以用距离变换准确找到图像中物体的骨架或者中心线。(用winrar解压)
(efficiency of the current best distance algorithm distance transform widely used image processing, For example, can be used to find accurate distance transform image objects in the frame or center. (Using WinRAR decompression))

文件列表:
dt (0, 2005-02-08)
dt\dt.cpp (767, 2005-02-08)
dt\dt.h (1939, 2005-02-08)
dt\image.h (1573, 2005-02-08)
dt\imconv.h (4205, 2005-02-08)
dt\imutil.h (927, 2005-02-08)
dt\input.pbm (5014, 2005-02-08)
dt\Makefile (262, 2005-02-08)
dt\misc.h (1010, 2005-02-08)
dt\pnmfile.h (4532, 2005-02-08)

Implementation of the distance transform algorithm described in: Distance Transforms of Sampled Functions Pedro F. Felzenszwalb and Daniel P. Huttenlocher Cornell Computing and Information Science TR2004-1963 The main program "dt.cpp" computes the standard distance transform of a binary image. The algorithm for computing the transform of a sampled function is in "dt.h". 1) Type make to compile "dt". 2) Run "./dt input.pbm output.pgm" to compute the distance transform of a binary image. The input is a binary PBM image and the output is a grayscale PGM image. Note that the actual distance values are scaled to fit in the [0-255] grayscale range.

近期下载者

相关文件


收藏者