原始草图,生成图像素描图我要分享

Primal Sketch, sketch images are generated

matlab 图像 生成 原始

关注次数: 217

下载次数: 0

文件大小: 259.71 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:该算法是同学下的,来源地址不清楚了,他们在vs2008下运行时生成无错,本人编译环境是vs2010,出错了,但是经过调试之后终于也成功了。该算法生成自然图像的PrimalSketch图,算法显示了生成过程。该算法是在OpenCV下实现的,采用CMake生成。运行时若在VS2010下,若生成出错,是因为vs2010对DWORD以及GetTimeOut没有定义,应在报错的地方引入头文件“Windows.h”,另外运行时应该是算法本身的问题,不能生成.bmp文件,这个错误以后有时间我再修改。


English Description:

The algorithm is a student under the source address is unknown, they generate error-free run in vs2008 under, I compiler environment vs2010, wrong, but later, after commissioning are successful. The algorithm generates natural images PrimalSketch map algorithm shows the generation process. The algorithm is implemented in OpenCV using CMake to generate. If running under VS2010, if an error is generated because vs2010 for DWORD and GetTimeOut not defined, should be introduced into the header file "Windows.h" in error where, in addition to running the algorithm itself, the question should be, can not generate a .bmp file this error after a time I would be modified.


代码预览