基于DirectDraw双缓冲的实时动态成像技术  被引量:3

Real-time dynamic imaging based on double buffer drawing with DirectDraw

在线阅读下载全文

作  者:殷银锁[1] 张仁诚[1] 王东辉[1] 

机构地区:[1]沈阳军区总医院医学工程科,沈阳110015

出  处:《北京生物医学工程》2014年第4期379-382,411,共5页Beijing Biomedical Engineering

摘  要:目的应用程序基于特定的成像算法将硬件电路采集到的电信号计算成一系列二维静态图像,研究如何将静态图像序列转换成实时动态显示视频。方法采用具有毫秒级精度的多媒体定时器产生时钟信号触发图像序列间的切换,利用多线程优化程序设计节省总的成像时间,基于DirectDraw双缓冲技术实现图像的快速显示。结果基于以上软件技术将数据传输、图像计算和图像显示环节有效地结合,实现静态图像序列到实时动态成像的转换。结果显示视频帧速率达到预定的每秒25帧,图像序列间的切换显示所需要的时间远小于1 ms。结论基于多媒体定时器、多线程和DirectDraw双缓冲技术,可将静态图像序列以特定的帧速率显示出来,从而实现静态图像到动态视频的转换。Objective The application translated the electric signals collected by the hardware into a series of two-dimensional still images based on a specific imaging algorithm. Our research focused on how these still images could be transformed into a real-time dynamic video. Methods The multimedia timer was used to generate a clock signal to trigger the switching among the still image sequence. The multithreads were adopted to shorten the total period of imaging. The DireetDraw and double buffer were used to display the images rapidly. Results The data transmission, image calculation and image display were integrated together effectively based on these software techniques. The still image sequences were transformed into the real-time dynamic imaging. The results showed that the frame rate reached 25 frames per second and the time taken for switching images was far more less than 1 millisecond. Conclusions With the multimedia timer, the muhithreads, the DirectDraw and double buffer, the still images could be displayed at a certain frame rate so that these still images could be transformed into a dynamic video.

关 键 词:多媒体定时器 多线程 双缓冲 实时动态成像 

分 类 号:R318.04[医药卫生—生物医学工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象