图2-16 图像采集体内部分系统软件流程图
Fig 2-16 part of the body image capture system software flow chart
图2-17 系统工作流程
Fig 2-17 workflow system
由于篇幅有限,下面给出了采集部分的程序代码:
void collect()
{
int pixel_count = 0;
int line_count = 0;
int i,j;
IOPMOD = IOPMOD & 0x00000000; /*设置IO口为输入*/
while (!VSYNC); /*等待新的一帧开始*/
for (line_count=0; line_count<480; line_count++)
{
while (!HREF); /*等待新的一列开始*/
for (pixel_count=0; pixel_count<640; pixel_count++)
{
while (PCLK); /*等待一个新的象素点*/
buf[line_count][pixel_count] = PIXEL;
while (!PCLK); /*等待这个象素点传输完毕*/
}
while (HREF); /*等待这一列传输完毕*/
}
while (VSYNC); /*等待这一帧传输完毕*/
}
2.7.2 体外部分软件流程图:
图2-18 图像采集体外部分系统软件流程图
Fig 2-18 part of image acquisition in vitro system software flow chart
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>