Registering Atlas to Head Size - BUNPC/AtlasViewer GitHub Wiki

AtlasViewer is able to automatically read in head size data in the subject folder where it finds a file named "headsize.txt" with 3 numbers.
There are 2 possible formats to this file: labeled and unlabeled. Examples of both formats look like this:

  • labeled

lpa-cz-rpa: 33.1 cm
nz-cz-iz: 39.1 cm
circumference: 57.89 cm

  • unlabeled

57.89 cm
39.1 cm
33.1 cm

Note that the order does NOT matter in labeled but does matter in unlabeled. In unlabeled format, the order is assumed to be (a) circumference, (b) nz-cz-iz, (c) lpa-cz-rpa.

Then follow the following steps to register Atlas to head size:

  1. Open AtlasViewerGUI in each subject folder which has the head size measurements (headsize.txt).
  2. Go to Tools --> Register Atlas to Head Size.



You should see the measurements loaded from headsize.txt in the dialog box. Click the OK button.



This will generate simulated digitized points for the probe in digitized points space for that subject.

If you open AtlasViewerGUI in the group folder. You should get the mean of the optode positions for the group in the unregistered atlas space.

Note that because the simulated digitized points are derived from an idealized head shape (ellipsoid), the variation across the subjects with only head size info when registered to atlas space is very small.

⚠️ **GitHub.com Fallback** ⚠️