A quiz on the colour laboratory

Adrian F. Clark

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

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

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

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

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

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

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

  8. What does saturation mean in HSV colour space?

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

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

  11.