aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_contours.h
diff options
context:
space:
mode:
Diffstat (limited to 'pix_opencv_contours.h')
-rw-r--r--pix_opencv_contours.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/pix_opencv_contours.h b/pix_opencv_contours.h
index 5882b5a..fb1ebe1 100644
--- a/pix_opencv_contours.h
+++ b/pix_opencv_contours.h
@@ -61,14 +61,22 @@ class GEM_EXTERN pix_opencv_contours : public GemPixObj
// Messages handling
void epsilonMess(double arg);
void areaMess(double arg);
+ void contoursMess(double arg);
+ void convexhullsMess(double arg);
+ void convexitydefectsMess(double arg);
+ void hierarchyMess(double arg);
private:
t_outlet *m_dataout_middle; // contour outlet
t_outlet *m_dataout_right; // info outlet
- std::vector<std::vector<cv::Point> > m_contours;
+ std::vector<std::vector<cv::Point> > m_contours;
+ std::vector<std::vector<int> > m_convexhulls;
+ //~ std::vector<cv::Vec4i> m_hierarchy;
double m_area_threshold; // min area for contour
double m_epsilon;
+
+ int m_enable_contours, m_enable_hulls, m_enable_defects, m_hierarchy_level, m_mode;
};
#endif // for header file