The routines you are writing for sxcv.py are specified by their documentation and some tests. What form of extreme programming is this?
test-driven development
The initial histogram routine you developed plotted values in what range?
zero to the value returned by a call to highest
How many distinct peaks did the histogram of fruit.png show?
2
Image 2006-10-23-001.jpg is well exposed. How does its histogram appear?
there is a peak around the middle of the histogram
Why does your histogram routine need different cases for monochrome and colour images?
colour images require 3 subscripts and monochrome only 2
What is likely to happen if you cann sxcv.binarize with its below and above parameters set to 255 and zero respectively?
the image will come out with all pixels set to 255
Which of the following best describes the exposure of image 2006-10-23-002.jpg?
under-exposed
What is the first value returned by cv2.threshold?
the value of the threshold
For a colour image, the histogram is plotted in what colours by sxcv.py routine plot_histogram?
red, green, blue
What are plotted along the x- and y-axes of a histogram?
grey level and frequency