test converting between UIImage and cvMat FAILED