basic image processing in the context of iOS using OpenCV