flatironinstitute / NoRMCorre

Matlab routines for online non-rigid motion correction of calcium imaging data
GNU General Public License v2.0
142 stars 88 forks source link

read_file avi lost frames #15

Closed ivosonntag closed 6 years ago

ivosonntag commented 6 years ago

The definition of v by videoreader needs to be repeated after the first readFrame command, otherwise the inital frame is lost. This only seems to be the case for avi files.

epnev commented 6 years ago

@ivosonntag thanks, good catch! I think it should be fine now.