A quiz on the colour laboratory

Adrian F. Clark

  1. Why are the HSV values used by most people changed for use in OpenCV?

  2. What data type are the colour arguments in a call to cv2.inRange?

  3. How would two masks returned from cv2.inRange be combined?

  4. Why is segmenting red difficult in HSV colour space?

  5. What ordering are the colour channels by default in OpenCV?

  6. What colour corresponds roughly to HSV values (60, 90, 90)?

  7. Which OpenCV HSV values are closest to (180, 50, 50)?

  8. What does saturation mean in HSV colour space?

  9. What colour correspond to OpenCV HSV values (120, 0, 100)?

  10. Given a three-channel colour image as input, what does cv2.inRange return?

  11.