The official point of our Zurich trip was to meet up with a fellow U of A student, Malcolm, who is doing similar work in matlab to exchange ideas. The trip was great and I will put up an epic post about it soon. During our meeting with Malcolm I had a huge breakthrough in our program and have figured out how to access and correctly use the position data that our simulink model is generating. Matlab and Simulink have some different standards of dealing with images and the position points that might have been intuitive and so when I first brought the positions out of the model into the workspace it the graphed points looked like a jumbled mess that didn't match the fishes trajectory. However after some manipulation (that I later found out makes perfect sense with how matlab handles this data) there is a perfect overlay with the trajectory of the fish in the video. From here we were also able to pull out the velocity and acceleration vectors of the fish as well and plot them. I put a short little video together to demonstrate that the graphed trajectory is actually the fishes trajectory. I apologize the as the video has to be heavily compressed for uploading, but I think it still gets the point across.
Note: The fish's position is marked by the center of the area of the viewable fish
Here is the actual trajectory graph. The values correspond to the number of pixels and the
y-axis is negative due to matlabs way of handling images where the origin of the image is in the upper left corner.
During our trip we also gave a presentation to Dr. Enikov and Dr Rilo, our bosses if you will, they both seemed pretty happy with the progress we have made and had some suggestions as well. We should be having a meeting soon to talk again about functionality of our code which will be good as of now we have been just making assumptions to the data that we need to harvest and what might be useful to the end user. I think we're all looking forward to getting real input from the end users and having some more concrete goals to pursue.
I will get on posting about the actual trip it self soon. It was an amazing trip and there were some major reality checks like: I'm in the middle of Europe in the Austrian alps; I'm driving on the Autobahn; Wow the U.S. economy sucks and the Dollar is frustratingly weak!
No comments:
Post a Comment