| |
Program Functions
137
the phase images. A bilinear interpolation would cause problems because of the wrapping of
the phase, which is periodic in 2 . Afterwards, the function vMk0To2pi is called with both
phase images (wedge and ring stimuli). This makes sure that the phase values are all in the
interval [0 2 ]. At the end, the function vShiftPhase estimates the phase shift for the wedge-
stimulus phase image so that the phases for the current hemisphere are within the interval [ /2
3 /2]. The function vShiftPhase uses convolution to estimate the phase offset. The result of
the convolution is returned and can be displayed from mrFindBorders' View menu. The calcu-
lated initial phase-offset estimate can be changed manually by using the phase offset slider or
by pressing the button to estimate the phase offset for the wedge-stimulus phase image auto-
matically.
6.12 ProgramData
This directory contains no functions. There are only two mat files and four sub directories.
The mat files called alyssaData.mat and hukData.mat each contain exemplary flat data sets
(phase, coherence, and amplitude data). They can be accessed from the File menu. The direc-
tories store data that the user can save from the File menu, namely
1. vFbData: Data and options
2. vFbDisplacements: Displacement fields
3. vFbOptions: Options only
4. vFbROIs: Visual-area ROIs, gold-standard visual-area ROIs, iso-angle ROIs
The ProgramData directory is the default directory if one of the exemplary data sets (Alyssa
or Huk) is loaded. If a mrSESSION.mat file and a corAnal*.mat file is specified to load the
functional flat data, the default directory for mrFindBorders' program data is the directory
where the corAnal*.mat file resides. For more information on default directories, please refer
to vSetDirOptions.m.
|  |
|
| |
|
|