中文说明:该算法是同学下的,来源地址不清楚了,他们在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.