PDA

查看完整版本 : [MATLAB图像处理] 求救:如何用matlab通过连续拍摄的几十张小球空中运动图片 求出其运动轨迹和落点?


t51
2009-05-17, 22:41
我们有个作业 周二要交了 时间很紧急 还望兄弟们帮帮忙:
有一个24mn的mat文件 里面有十几张图 读取图片命令为:
load ballimage(该文件叫ballimage.mat)
I=imshow(ballimage1.pospic.p1)
里面有2组图 第一组是ballimage1 第二组是ballimage2 里面分别有23,18张图片
每张图都是小球运动过程中照的照片(位置不同)
请问 如何用matlab通过里面连续的几十张图 求出小球轨迹并计算落点?这个我们周二就要交了 求强人帮忙解答啊!
需要matfile的兄弟留一个邮箱 我马上发过去 这事情很急 还望高手帮忙 感激不尽
这是我们的要求:
Image processing and modelling: At Wimbledon there are always debates about whether a ball was inside or outside a line. We have an interest in taking images of a ball and using these images to infer its trajectory and therefore where it lands. If a robot was playing, they would want to process these images fast enough to decide whether they should return the ball and also where to be to hit it, or leave it. Hence there is a need for fast image processing (in milli-seconds).

In this assignment you will be provided with a sequence of camera images and corresponding times. You will need to use MATLAB/SIMULINK to process these images, as if in real-time, and work out the position of the ball in each. The sequence of images should then be used to estimate the trajectory of the ball and hence its landing point. As each new image becomes available, you should update your estimates of the trajectory and impact point. Note that you will need to calibrate your images so that you can refer a ball position in the image to a real position within the laboratory environment