aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/nopencv.hpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-01 23:36:32 +0200
committerjaseg <git@jaseg.de>2021-06-01 23:36:32 +0200
commit3386e586ac0f0ae07535036efe6293f6118f7e2b (patch)
tree8758724de348c39cfd45054cff013abffc4fb27f /svg-flatten/src/nopencv.hpp
parentbbf1c02e799573532d1f5416fafe1b2255168bba (diff)
downloadgerbolyze-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.hpp3
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);
}
}