首页 开发技术 C++     /    图像处理中使用多线程及图像分块实现加速运算

图像处理中使用多线程及图像分块实现加速运算

上传者: u013085897 | 上传时间:2024/3/23 14:28:02 | 文件大小:1.99MB | 文件类型:zip
图像处理中使用多线程及图像分块实现加速运算
对于一副图像,比如1000*800分辨率,我们在处理时,通常思路是从第1个像素开始,一直计算到最后一个像素。
其实,目前不论手机还是个人电脑,处理器都是多核。
那么完全可以将整副图像分成若干块,比如cpu为4核处理器,那么可以分成4块,每块图像大小为1000*200,这样程序可以创建4个线程,每个处理器执行一个线程,每个线程处理一个图像块。
更多内容请参考:http://blog.csdn.net/grafx/article/details/71084473

文件下载

资源详情

[{"title":"(27个子文件1.99MB)图像处理中使用多线程及图像分块实现加速运算","children":[{"title":"TestBlog","children":[{"title":"release","children":[{"title":"pthreadVCE2.dll <span style='color:#111;'>60.50KB</span>","children":null,"spread":false},{"title":"pthreadVC2.dll <span style='color:#111;'>54.50KB</span>","children":null,"spread":false},{"title":"pthreadVSE2.dll <span style='color:#111;'>56.00KB</span>","children":null,"spread":false},{"title":"pthreadGC2.dll <span style='color:#111;'>117.08KB</span>","children":null,"spread":false},{"title":"pthreadGCE2.dll <span style='color:#111;'>119.09KB</span>","children":null,"spread":false},{"title":"TestBlog.exe <span style='color:#111;'>11.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"debug","children":[{"title":"pthreadVCE2.dll <span style='color:#111;'>60.50KB</span>","children":null,"spread":false},{"title":"pthreadVC2.dll <span style='color:#111;'>54.50KB</span>","children":null,"spread":false},{"title":"pthreadVSE2.dll <span style='color:#111;'>56.00KB</span>","children":null,"spread":false},{"title":"pthreadGC2.dll <span style='color:#111;'>117.08KB</span>","children":null,"spread":false},{"title":"pthreadGCE2.dll <span style='color:#111;'>119.09KB</span>","children":null,"spread":false},{"title":"TestBlog.exe <span style='color:#111;'>64.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"TestBlog.sln <span style='color:#111;'>889B</span>","children":null,"spread":false},{"title":"TestBlog","children":[{"title":"Debug","children":null,"spread":false},{"title":"result.png <span style='color:#111;'>892.02KB</span>","children":null,"spread":false},{"title":"TestBlog.vcproj.LAPTOP-8TEOO0IS.sunch.user <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"pthreadVC2.lib <span style='color:#111;'>29.62KB</span>","children":null,"spread":false}],"spread":true},{"title":"test.png <span style='color:#111;'>842.27KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>276B</span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'>956B</span>","children":null,"spread":false},{"title":"TestBlog.vcproj <span style='color:#111;'>4.77KB</span>","children":null,"spread":false},{"title":"Release","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>213B</span>","children":null,"spread":false},{"title":"TestBlog.vcproj.SUNCH-THINK.CC.user <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"TestBlog.cpp <span style='color:#111;'>5.79KB</span>","children":null,"spread":false},{"title":"include","children":[{"title":"sched.h <span style='color:#111;'>4.88KB</span>","children":null,"spread":false},{"title":"pthread.h <span style='color:#111;'>42.84KB</span>","children":null,"spread":false},{"title":"semaphore.h <span style='color:#111;'>4.46KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"TestBlog.suo <span style='color:#111;'>18.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • fk543:
    感谢分享!谢谢2018-04-24
  • freedesert:
    谢谢,是我要的东西2018-04-17
  • Intel0011:
    goodresource,thx2018-04-05
  • 只爱ISP:
    还可以,值得参考2018-02-07
  • 工控视觉,深度学习专攻:
    不错谢谢楼主2018-01-23

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明