More seemless conversion between bp cv::Mat and opencv's ctype bindings, so that cells can be written in python.