diff options
Diffstat (limited to 'svg-flatten/src/nopencv.hpp')
-rw-r--r-- | svg-flatten/src/nopencv.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svg-flatten/src/nopencv.hpp b/svg-flatten/src/nopencv.hpp index 98f6f50..48bb82b 100644 --- a/svg-flatten/src/nopencv.hpp +++ b/svg-flatten/src/nopencv.hpp @@ -37,7 +37,7 @@ namespace gerbolyze { CP_HOLE }; - typedef std::function<void(Polygon, ContourPolarity)> ContourCallback; + typedef std::function<void(Polygon_i&, ContourPolarity)> ContourCallback; class Image32 { public: @@ -101,6 +101,7 @@ namespace gerbolyze { }; void find_blobs(Image32 &img, ContourCallback cb); + ContourCallback simplify_contours_teh_chin(int kcos, ContourCallback cb); } } |