Add CanvasReader class.

mean() and median() for RGBA channels.