A quiz on the histograms laboratory

Adrian F. Clark

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

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

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

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

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

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

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

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

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

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

  11.