From e0ff9db39d98689c61b046080e8184ddf42c844b Mon Sep 17 00:00:00 2001 From: Seb James <seb.james@sheffield.ac.uk> Date: Wed, 26 Jan 2022 16:50:33 +0000 Subject: [PATCH] Draw boundary as a very faint blue, as the values from the boundary do not contribute to the mean or area --- src/DM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DM.h b/src/DM.h index 2dac396..7a42fe1 100644 --- a/src/DM.h +++ b/src/DM.h @@ -1432,7 +1432,7 @@ class DM void draw_boundary (const std::vector<cv::Point>& vp, cv::Mat* _pImg, const cv::Scalar& colour) { - double alpha = 0.8; + double alpha = 0.1; for (size_t ii=0; ii<vp.size(); ii++) { cv::Point cur = vp[ii]; cv::Mat roi = (*_pImg)(cv::Rect(cur.x, cur.y, 1, 1));