JinghaoLu / MIN1PIPE

A MINiscope 1-photon-based Calcium Imaging Signal Extraction PIPEline.
GNU General Public License v3.0
56 stars 25 forks source link

Error: Index exceeds the number of array elements (147248008). #41

Open wuffi opened 4 years ago

wuffi commented 4 years ago

Dear Jinghao,

Thanks for making the analysis pipeline available to the community. When I run the pipeline, I get an error "Index exceeds the number of array elements (147248008)." Another user had already described this issue ([https://github.com/JinghaoLu/MIN1PIPE/issues/19]). I'm using a tif stack instead of an avi movie, however.

Changing line 236 in data_cat.m to for ii = rg(rgcount): rg(rgcount + 1) - 2 % note the '2' instead of '1' here solves the issue for me, but I'm not sure, whether this introduces new problems.

Kind regards Wuffi

JinghaoLu commented 4 years ago

Hi Wuffi,

I will need a piece of video with which you ran into this issue to help debug and see what the real problem is. If it's okay to you, you can email it to min1pipe2018@gmail.com.

Thanks,

Jinghao

wuffi commented 4 years ago

Dear Jinghao, Thanks for your answer. I'll generate a small tiff stack I was running MIN1PIPE on a computer without the Computer Vision Toolbox. Could this be part of the problem?