%0 Journal Article %T Quaternion-Based Attitude Estimation of an Aircraft Model Using Computer Vision. %A Kasula P %A Whidborne JF %A Rana ZA %J Sensors (Basel) %V 24 %N 12 %D 2024 Jun 12 %M 38931579 %F 3.847 %R 10.3390/s24123795 %X Investigating aircraft flight dynamics often requires dynamic wind tunnel testing. This paper proposes a non-contact, off-board instrumentation method using vision-based techniques. The method utilises a sequential process of Harris corner detection, Kanade-Lucas-Tomasi tracking, and quaternions to identify the Euler angles from a pair of cameras, one with a side view and the other with a top view. The method validation involves simulating a 3D CAD model for rotational motion with a single degree-of-freedom. The numerical analysis quantifies the results, while the proposed approach is analysed analytically. This approach results in a 45.41% enhancement in accuracy over an earlier direction cosine matrix method. Specifically, the quaternion-based method achieves root mean square errors of 0.0101 rad/s, 0.0361 rad/s, and 0.0036 rad/s for the dynamic measurements of roll rate, pitch rate, and yaw rate, respectively. Notably, the method exhibits a 98.08% accuracy for the pitch rate. These results highlight the performance of quaternion-based attitude estimation in dynamic wind tunnel testing. Furthermore, an extended Kalman filter is applied to integrate the generated on-board instrumentation data (inertial measurement unit, potentiometer gimbal) and the results of the proposed vision-based method. The extended Kalman filter state estimation achieves root mean square errors of 0.0090 rad/s, 0.0262 rad/s, and 0.0034 rad/s for the dynamic measurements of roll rate, pitch rate, and yaw rate, respectively. This method exhibits an improved accuracy of 98.61% for the estimation of pitch rate, indicating its higher efficiency over the standalone implementation of the direction cosine method for dynamic wind tunnel testing.