Search code examples
c++algorithmmakefilevoronoi

C++ code of thinning algorithm (EVG-thin)


I'm trying to use this program which implements an extension of the pixel-based "thinning" algorithm that finds skeletons of bitmaps.

It's been told in Readme file that I should do a 'make' command and then the './test -image-file test1.pgm' , but I receive a set of the errors on the 'make' stage. I guess that there's something wrong with the ImageHelper.hh file, but I don't understand what exactly. Could anyone help me with this?

The sourcecode is here


Solution

  • I found the problem. I needed to add following:

    #include <string.h>
    #include <stdlib.h>
    

    To test.cc and ImageHelper.cc