Wednesday, July 11, 2018
Week 1 Wednesday - (Testing out Math)
After learning some very valuable information from Carl yesterday, we tried to test out the different frames that we had with the method that he taught us.
I took a given frame in Image J, and then I found four reference points that we knew the exact coordinates on the ice of. I wrote down the coordinates according to Image J, which were the pixel dimensions. We wrote down the known dimensions according the previous freshman's measurements, centered around the origin. As I know think about it, it seems inappropriate to do so, as those are centered around something different than what the Image J coordinates were centered around.
Anyway, after doing all of the necessary math, we used another reference point on our broadcast frame to check if our work was accurate. However, when using that point, the predicted coordinates in the hockey rink frame were completely different than what we had based on the measurements.
This result may be due to the orientation being different, as previously stated, or due to inaccurate measurements from before. Looking at a regulation hockey rink, it seems that the measurements were not correct; we will verify this on Friday when we measure the rink ourselves. We must also correct our orientation.
Next, I worked on creating a code in Matlab to complete the math with just the inputs. I had to do some research online as to how to use the programming language, but after that I was good to go. I will check the program's final accuracy tomorrow (already checked certain portions of the program).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment