A quiz on the histograms laboratory

Adrian F. Clark

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

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

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

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

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

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

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

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

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

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

  11.