JinghaoLu / MIN1PIPE

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

Error running .avi miniscope video #43

Open MartoMandelbaum opened 4 years ago

MartoMandelbaum commented 4 years ago

Hello, I've run the demo provided without any issues, but run into the following error when running a Miniscope sample video (Archive is named msCam1.avi, per the suggestions).

Screen Shot 2020-09-23 at 23 01 38

Any help is appreciated

JinghaoLu commented 4 years ago

Hi, what is your avi codec? Right now the package can only directly work with uncompressed grayscale avi that was originally used in the v3 of miniscope.

MartoMandelbaum commented 4 years ago

I believe it's 24 bit depth RGB, but the video is in black and white. I was thinking of converting it to grayscale and see if that helps

MartoMandelbaum commented 4 years ago

Sorry, I was mistaken, it's actually uncompressed palettized 8-bit RGBA

JinghaoLu commented 4 years ago

I am guessing that the video has list header movi00dc instead of movi00db. It seems that you were using the old package based on the error message. Please give it a try with the new package (v3) and let me know if this issue persists. Thanks.

MartoMandelbaum commented 4 years ago

Hello Jinghao, after downloading V3 the video was loaded properly, but we've run into the following error:

Screen Shot 2020-09-30 at 19 45 04

Since wdenoise is on the Wavelet Toolbox, is this toolbox necessary? Since it isn't specified in the required dependencies. Thanks!

JinghaoLu commented 4 years ago

Hi yes, it is needed. Sorry that I did not update the dependency list after this update. Thanks for bringing this up to me.