| |
Program Functions
119
ing a point, the result is divided by the sum of weights to get the average of the weighted
minimal squared distances of all points. This divisor was introduced to make the distance en-
ergy independent of the number of points specified.
4. The ring energy is principally calculated in the same way as the wedge energy. How-
ever, for the ring energy, a measured phase ring image and the corresponding atlas image are
taken.
After all components are computed as explained, the weighted sum of these components
is calculated. The used weights can be changed in the options menu and in the source code
(vSetUdDefault.m). In addition to the total energy, the weighted energy components are calcu-
lated in percent.
vEnergyForDynPhUpdate.m
This function calculates the wedge energy between the deformed atlas image in complex
space and the phase image in complex space as described before. The function is called for
phase offset calculation.
6.7 Foreign
This directory contains functions written by other programmers. They are not explained in this
report. For more information, please refer to the source code directly.
6.8 Load
vLoadData.m
This function returns functional data and creates a visual field sign map. Based on the selec-
tion of the user in the File menu of mrFindBorders, the functional flat data (phase and coher-
|  |
|
| |
|
|