User Tools

Site Tools


biac:analysis:roi_et

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
biac:analysis:roi_et [2011/04/25 20:06] pettybiac:analysis:roi_et [2011/04/25 20:17] – [Visualizing Eyetracking Points in Matlab] petty
Line 317: Line 317:
 ET_filename = '11436_run4_pre.txt'; ET_filename = '11436_run4_pre.txt';
  
-%%Path to your actual images +%%Path to your actual images, an array if multiple locations possible 
-imgPath = '/home/petty/net/hill/data/Dichter/AutReg.01/Stimuli/AutReg.01/';+imgPath = {'//hill/data/Dichter/AutReg.01/Stimuli/AutReg.01/','//hill/data/Dichter/AutReg.01/Notes/SubjectPics/PS06'};
  
 %%Image attribute name from behavioral XML [value=name"THIS"] %%Image attribute name from behavioral XML [value=name"THIS"]
Line 341: Line 341:
  
 </file> </file>
 +
 +The output will look like this:
 +{{:biac:analysis:plotter_example.png?800|}}
 +
 +Hits are green circles inside the ROI, misses are red Xs outside.  Since **linesOn** was turned on, there is a yellow gaze path from one point to the next.  If **withPause** was turned on, there would be a slight pause between each point.
 +
 +Currently, to move to the next image in the XML, just close the current figure.  If you want to stop the redrawing, "ctrl + c" inside matlab to kill the loop.  There are some updates planned to the controls.
 +
 +Also, if you just have the behavioral XML and preprocessed ET data, you can run the function **ET_plot** instead.  This will look at all images and ignore any ROIs, otherwise and ROI must be present for the image to get plotted.
  
biac/analysis/roi_et.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1