gkaguirrelab / transparentTrack

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

Adjust camera position during acquisition #133

Closed gkaguirre closed 5 years ago

gkaguirre commented 5 years ago

The routines can be supplied with a vector that describes the position of the camera relative to the eye, relative to the start of the acquisition. This allows the routine to adjust for head motion during the course of a video. An estimate of head position over time may be derived from simultaneously acquired functional MRI data of the brain.

The routines also now save a vector that indicates if a fitting operation has hit a bound for an unlocked parameter. The fit video now indicates frames that hit the boundary by drawing the pupil ellipse in red. The center of azimuthal rotation of the eye is now also indicated in the fit video by a cyan +. This facilitates observing the effect of the head motion correction.