-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surfaces Revamp #1268
Surfaces Revamp #1268
Conversation
…istorted space. GUI partially adapted to those changes.
…surfaces in undistorted space.
…alisation and gaze mapping logic.
…ded from g_pool, so it is up to date.
…ates rather than pixel coordinates.
… in undistorted space
I pushed a first more or less complete refactor of the Online Surface Tracker. One issue with surface tracking is camera undistortion. The undistortion function that is defined by the camera intrinsics is only correct inside the bounds of the image. However parts of the surface may lie outside of the image. Given the location of the surface corner outside of the image in undistorted image space, it is impossible for us to correctly compute it's location in distorted image space for visualization. This problem also occurs inside of the image in the very corners. In the previous version of the surface tracker this problem was not solved, i.e. the visualization was broken if one or more corners of the surface lie outside of the image. The refactored version is contained in a new plugin called I droped the 3D localization feature in this version to save time. Since we plan to replace this with a separate and more capable plugin I decided to skip it for now. What do you think about that? |
Currently the homographys output by the surface tracker transform normalized surface coordinates into normalized image coordinates. This makes it difficult to directly use the homographys in e.g. OpenCV to transform an image, which requires the image coordinates to be in pixels. Therefore I propose to switch to transformations between normalized surface coordinates and pixel image coordinates. |
…xel image coords.
Some of the surface related naming is currently inconsistent/not very descriptive, therefore I propose the following changes. What do you think @papr ? Goals of renaming:
Changes in Surface Event API:
In 'gaze_positions_on_surface_<surface_name>_<surface_id>.csv' file:
In 'fixations_on_surface_<surface_name>_<surface_id>.csv' file: In 'srf_positions_<surface_name>_<surface_id>.csv' file:
In 'surface_events.csv' file:
!!! This file is not part of the surface tracker exports !!!
!!! This file is not part of the surface tracker exports !!!
|
…d support pickling
@romanroibu Could you please review the last two commits. Afterwards, I would merge and we can start creating incremental PRs. |
The surface tracking feature needs a lot of refactoring and a few bug fixes and enhancements.
Progress: