gkaguirrelab / transparentTrack

Determine pupil size and gaze location in IR video of the eye
MIT License
17 stars 9 forks source link

camera rotation in z #99

Closed gkaguirre closed 6 years ago

gkaguirre commented 6 years ago

Need to add the ability to adjust the camera rotation matrix in Z. This is because the eye model now has a specific horizontal and vertical orientation both in eye rotation and in exit pupil ellipticity.

The estimateSceneParams stage can adjust camera rotation in Z by the value theta, with negative values being counter-clockwise, and positive values clockwise. The extrinsicCameraRotation matrix would then take the form:

[cosd(theta) -sind(theta) 0; sind(theta) cosd(theta) 0; 0 0 1];