portugueslab / stytra

A modular package to control stimulation and track behaviour
http://www.portugueslab.com/stytra/
GNU General Public License v3.0
41 stars 26 forks source link

How to tell if calibration has worked? #13

Open EricThomson opened 5 years ago

EricThomson commented 5 years ago

I am working on calibration as discussed here: http://www.portugueslab.com/stytra/userguide/4_calibration.html#calibration

The red dots in the calibration window show up rotated 180 degrees from the dots in the camera window. Is this OK? Overall the topology of the dots seems to match, modulo the rotation. How can we tell by eye if the calibration worked? Screenshot is attached.

calibration_result

vilim commented 5 years ago

If you press the show/hide calibration button again it should show the camera view transformed into the monitor display in the right. There is also a rotation camera configuration parameter, which if you set to 2 rotates images 180 degrees (see http://www.portugueslab.com/stytra/userguide/5_configuring_computer.html for example). However the calibration should work regardless. We need to improve the UX and documentation of this feature

EricThomson commented 5 years ago

Ah wonderful thanks that works. Now I see the red dots literally line up with the image projected, it is very intuitive this is great!

vilim commented 5 years ago

I'll keep this issue open until we improve the documentation and UX a bit.

vigji commented 4 years ago

@vilim is this fixed in the latest version?

vilim commented 4 years ago

It's improved only slightly in the units naming, but the workflow should be more intuitive