OpenCV IplImage到CGImageRef

时间:2014-03-17 18:17:50

标签: objective-c macos cocoa opencv cgimageref

我在OS X项目中使用OpenCV for iOS,到目前为止一切都设置得很好。我希望从视频文件中读取帧,但是我需要它们是CGImageRef类型,而不是我读它时的IplImage

我的问题很简单:如何从IplImage转换为CGImageRef

1 个答案:

答案 0 :(得分:0)

https://github.com/sonsongithub/OpenCV-Help-Library

内置的第一个功能是IplImageCGImageRef

的转换器