UIImage 有个imageOrientation只读属性,当我处理UIImage 2 IplImage 时图像就出现了问题。
后来发现是找个标记问题,没有什么好的修改方法。
在sdk中又这么一句 “this will affect how the image is composited”
也就是说在重新生成时才可以。
最后只得在来一次了。
另外网上给的demo有些问题。cvCvtColor 用bgr,后来用rgb,不是搞笑么
UIImage 有个imageOrientation只读属性,当我处理UIImage 2 IplImage 时图像就出现了问题。
后来发现是找个标记问题,没有什么好的修改方法。
在sdk中又这么一句 “this will affect how the image is composited”
也就是说在重新生成时才可以。
最后只得在来一次了。
另外网上给的demo有些问题。cvCvtColor 用bgr,后来用rgb,不是搞笑么