diff options
author | jaseg <git@jaseg.de> | 2021-06-01 23:36:32 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-06-01 23:36:32 +0200 |
commit | 3386e586ac0f0ae07535036efe6293f6118f7e2b (patch) | |
tree | 8758724de348c39cfd45054cff013abffc4fb27f /svg-flatten/src/nopencv.hpp | |
parent | bbf1c02e799573532d1f5416fafe1b2255168bba (diff) | |
download | gerbolyze-3386e586ac0f0ae07535036efe6293f6118f7e2b.tar.gz gerbolyze-3386e586ac0f0ae07535036efe6293f6118f7e2b.tar.bz2 gerbolyze-3386e586ac0f0ae07535036efe6293f6118f7e2b.zip |
Work on chain approx
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); } } |