uiimage to cvmat and cvmat to uiimage