实时图像处理时机 [英] Real time image processing timing

查看:217
本文介绍了实时图像处理时机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的Arduino控制器,MATLAB建立一个系统,该系统在传感器数据读取,这将触发一个活饲料相机捕捉到的实时图像处理的图像。基于这些结果,通过控制器经过一番所需的延迟再作进一步处理。我现在面临的问题是我不能读取传感器数据,直到previous阶段的最后一步完成。我希望能够读取时间可持续传感器数据和处理图像即使基于previous图像的最后处理阶段仍在执行(因为提供的延迟的)。谢谢你的任何意见/帮助。很抱歉,如果我的英语不好,我希望我是清楚的。

I am using Arduino controller with MATLAB to build a system that reads in sensor data, which triggers a live feed camera to capture an image for real time image processing. Based on these results further processing is done "after some required delay" through controller. Now the problem I am facing is I cannot read sensor data until the last step of previous stage is completed. I want to be able to read sensor data continuosly and process images even while the last processing stage based on previous image is still executing (because of the delay provided). Thank you for any advice/help. Sorry if my english is bad I hope I'm clear.

推荐答案

您是想询问在异步模式下执行一个Matlab code。由于这也许很难利用matlabpool产生的并行进程控制(如PARFOR),你可能会考虑写你的code作为的 MPI 。通过MPI您可以分配code线,在每个从属进程,而合并运行/定时的结果可以通过主进程进行控制。

You are asking about executing a Matlab code in asynchronous mode. As this maybe hard to control using parallel processes generated by matlabpool (e.g. parfor), you may consider writing your code as MPI. Through MPI you can assign the code lines to be run on each slave process while merging/timing the results can be controlled by the master process.

这篇关于实时图像处理时机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆