- 博客(1)
- 资源 (8)
- 收藏
- 关注
原创 opengl、ffmpeg内存泄露及混编问题(2017-4-20)
记录备忘(2017-4-20)ffmpega. 从摄像头获取到数据为yuv422格式,通过ffmpeg库函数或者yuyv转rgb的方式来处理数据,然后用opengl显示。直接用ffmpeg的库来转比较方便,各种格式都有,还有缩放等功能不过,注意sws_getContext只能调用一次,在初始化时候调用即可,另外调用完后,在析构函数中使用sws_free_Context,将它的内存释放否则会导致内存
2017-04-20 14:54:15 1852
Example.zip
Qt平台可以拖拽及调整大小带网格的边框,适合ROI Window,statistics window 3x3 window,基于QGraphicsView和QGraphicsItem开发,运行环境Mac OS + Qt Creator 4.11.0 + Qt 5.14.1
2020-08-24
数字图像处理与机器视觉 Visual.C.与Matlab实现(扫描版)
看了下CSDN上有同类的资源,但是好黑,下载要12积分,我在网上找了好久才发现一个完整的扫描版,就当个搬运工吧。书写的很好,建议买纸质版的阅读
2018-01-12
TSMessages-master
TSMessages 是另一个非常简单的库 用来显示浮层警告和通知 当出现错误信息而不直接影响用户的时候 最好使用浮层来代替模态窗口 例如UIAlertView 这样你将尽可能减少对用户的影响
2015-05-15
LBBlurredImage-master
LBBlurredImage是一个继承自UIImageView 轻而易举使图像模糊的项目 你将仅仅用一行代码来创建一个神奇的模糊效果
Copy file
This code must be used with deploy target 6 0+ and under ARC If your code doesn"t use ARC you can mark this source with the compiler flag fobjc arc
Just grab the two file named UIImageView+LBBlurredImage {h m} and UIImageImage+ImageEffects {h m} in the Additions group into your project and link with Accelerate framework
#import "UIImageView+LBBlurredImage h" where you need it
CocoaPods
You can use CocoaPods to manage your dependencies and install LBBlurredImage Follow the instructions on the CocoaPods site to install the gem and add pod "LBBlurredImage" to your Podfile
Use
[self imageView setImageToBlur:[UIImage imageNamed:@"example"]
blurRadius:kLBBlurredImageDefaultBlurRadius
completionBlock:^ {
NSLog @"The blurred image has been set" ;
}];
The generation of the blurred image is made on a background thread for this reason a completion block is provided The completionBlock is dispatched on the main thread when the image has been generated and set to the UIImageView
The code is provided with an example project if you want to see the class in actions ">LBBlurredImage是一个继承自UIImageView 轻而易举使图像模糊的项目 你将仅仅用一行代码来创建一个神奇的模糊效果
Copy file
This code must be used with deploy target 6 0+ and under ARC If your code doesn"t use ARC you can mark this source with the compile [更多]
2015-05-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人