A quiz on the histograms laboratory

Adrian F. Clark

  1. The initial histogram routine you developed plotted values in what range?

  2. The routines you are writing for sxcv.py are specified by their documentation and some tests. What form of extreme programming is this?

  3. How many distinct peaks did the histogram of fruit.png show?

  4. Which of the following best describes the exposure of image 2006-10-23-002.jpg?

  5. Image 2006-10-23-001.jpg is well exposed. How does its histogram appear?

  6. Why does your histogram routine need different cases for monochrome and colour images?

  7. For a colour image, the histogram is plotted in what colours by sxcv.py routine plot_histogram?

  8. What are plotted along the x- and y-axes of a histogram?

  9. What is likely to happen if you cann sxcv.binarize with its below and above parameters set to 255 and zero respectively?

  10. What is the first value returned by cv2.threshold?

  11.