-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# motionEnergy | ||
|
||
Implements motion energy filtering as described in Adelson & Bergen (1985), on 3D moving dot stimuli as done in Kiani et al. (2008) and others. | ||
Implements motion energy filtering as described in Adelson & Bergen (1985), on 3D moving dot stimuli as done in Kiani et al. (2008) and others. See tutorial.m for explanation of how to use the code. | ||
|
||
See also these excellent tutorials on the 2D equivalent of these filters | ||
* http://www.georgemather.com/Model.html (George Mather) | ||
* http://mplab.ucsd.edu/~marni/CSHL_Tutorials/MotionEnergy.tar (Simoncelli, Glimcher, Chichilnisky) | ||
* http://www.cns.nyu.edu/~david/courses/perceptionGrad/syllabus2015.html (David Heeger) | ||
|
||
INPUT | ||
- stimulus, a 3d matrix containing the x-y-t stimulus movie | ||
- display, structure containing the following fields: | ||
- display.frameRate (in Hz) | ||
- display.ppd (pixels/degree) OR all of the following: | ||
- display.width (in cm of physical screen) | ||
- display.res.width (in pixels) | ||
- display.dist (between eyes and screen, in cm) | ||
- theta, the angles at which motion energy should be computed | ||
(rightwards = 0, counterclockwise). | ||
- plotme, generate graphical output (default = false); | ||
|
||
OUTPUT | ||
- motionenergy, length(theta) x size(stimulus, 3) motionenergy filter output | ||
filters (optional) | ||
|
||
Anne Urai, 2016 | ||
[email protected] / anneurai.net | ||
Thanks to Klaus Wimmer | ||
% Permission is hereby granted, free of charge, to any person obtaining a | ||
% copy of this software and associated documentation files (the "Software"), | ||
% to deal in the Software without restriction, including without limitation | ||
% the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
% and/or sell copies of the Software, and to permit persons to whom the | ||
% Software is furnished to do so, subject to the following conditions: | ||
% | ||
% The above copyright notice and this permission notice shall be included | ||
% in all copies or substantial portions of the Software. | ||
% If you use the Software for your own research, cite the paper. | ||
% | ||
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||
% OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
% FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
% DEALINGS IN THE SOFTWARE. | ||
% | ||
% Anne Urai and Klaus Wimmer, 2016 | ||
% [email protected] / [email protected] | ||
|
||
[](http://dx.doi.org/10.5281/zenodo.45139) |