摘要
针对Image Quilting纹理合成算法的新旧纹理块拼接特点,研究了一种创建多任务实现纹理块切割拼接的并行编程模式.设计了重叠区域缝合路径计算的多任务模块函数iq(),利用MATLAB多核集群中创建的调度器将子任务分配到各个节点上并行执行计算.实验结果表明,该算法获得了较好的加速比,提高了多核CPU的使用效率,有效地提升了多核计算机资源的利用率.
According to Image Quilting for texture synthesis algorithm characteristic that the new and old texture pieces spliced,a parallel programming model that creating multi-task realized the texture pieces to cut and splice was studied to Image Quilting for texture synthesis algorithm.A functional module named iq() was designed for the calculation of suture path in the overlapping area,subtasks assigned to each worker executed parallel computing by using of the scheduler of MATLAB multi-core clusters.The experimental results indicated that this algorithm can achieve a better speed-up ratio and enhance the available efficiency of multi-core CPU and promote the utilization rate of multi-core computer resources effectively.
出处
《微电子学与计算机》
CSCD
北大核心
2012年第7期146-149,共4页
Microelectronics & Computer
基金
国家自然科学基金项目(60603047)