Why were you asked to store the routines you develop in sxcv.py?
So that you can use them later in vision application programs.
What underlying OpenCV routine does sxcv.display call to display an image?
cv2.imshow
How are the pixels of an image normally represented in OpenCV?
unsigned bytes
What is the purpose of the doctest module?
To let you store unit tests in the top-of-routine documentation.
How are images represented in OpenCV?
as numpy arrays
What is sys.argv[1]?
The first space-separated word on the command line.
What do the three subscripts of a colour image represent in OpenCV?
row, column, colour.
Where is the origin of an image in OpenCV?
the top left corner
What is the standard deviation?
The average spread of values from the mean.
How many rows and columns are there in the image sx.jpg?
512 and 512.