Ask Your Question

evoclue's profile - activity

2020-10-24 13:53:47 -0600 received badge  Nice Answer (source)
2020-10-24 13:53:44 -0600 received badge  Student (source)
2015-10-15 18:47:25 -0600 received badge  Enthusiast
2015-10-07 09:09:27 -0600 received badge  Scholar (source)
2015-10-05 06:47:12 -0600 received badge  Teacher (source)
2015-10-03 03:38:12 -0600 received badge  Self-Learner (source)
2015-10-02 21:00:08 -0600 answered a question HSV Thresholding Difference between ImageJ and OpenCV

In OpenCV, the hue range 0-179 while in ImageJ it's 0-255.

2015-09-30 11:51:22 -0600 received badge  Editor (source)
2015-09-30 11:49:19 -0600 asked a question HSV Thresholding Difference between ImageJ and OpenCV

I use ImageJ before using OpenCV functions because in ImageJ I can use their interactive HSV thresholding tool to get the HSV parameters I want to threshold using OpenCV functions. After using ImageJ and after converting a pic from BGR to HSV, I use the parameters from ImageJ in the cv2.thresholding function with cv2.THRESH_BINARY. However, when I look at my mask derived from the thresholding using OpenCV, it is close, but not the same as the one I obtained with ImageJ.

  1. Is there a reason for this? Am I doing something wrong?

  2. Is there an interactive thresholding script in Python that uses OpenCV functions?