A quiz on the colour laboratory

Adrian F. Clark

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

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

  3. What does saturation mean in HSV colour space?

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

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

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

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

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

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

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

  11.