Open alexisfaure77 opened 3 years ago
Hi Alexis, thanks for the question. You are right, this does not seem to be toolbox related. I would suggest setting a breakpoint at for example line 29 in function get_trans_score, and then see what causes the loop (line 36-86) to throw an error so that it runs into line 88+, the makeup interpolation part. You can set the breakpoint and rerun the code, with all the selections to be "N" (no need to rerun the most part of the algorithm). Or since this is just a video of 500 frames, you can send it to me then I can take a look at what is wrong.
Dear,
Thank you for your quick response. We debug this with a colleague and it seems that it was licence issue.
Error was not that clear, but it seems to be only an absence of image processing toolbox licence (because we share licence at institute) that cause the bug.
If this was not eventually the case, I would comme back to you
Thank you again
Alexis
De: "JinghaoLu" notifications@github.com À: "JinghaoLu/MIN1PIPE" MIN1PIPE@noreply.github.com Cc: "Alexis Faure" alexis.faure@universite-paris-saclay.fr, "Author" author@noreply.github.com Envoyé: Vendredi 22 Janvier 2021 16:25:42 Objet: Re: [JinghaoLu/MIN1PIPE] issue with 1D interpolation function (#50)
Hi Alexis, thanks for the question. You are right, this does not seem to be toolbox related. I would suggest setting a breakpoint at for example line 29 in function get_trans_score, and then see what causes the loop (line 36-86) to throw an error so that it runs into line 88+, the makeup interpolation part. You can set the breakpoint and rerun the code, with all the selections to be "N" (no need to rerun the most part of the algorithm). Or since this is just a video of 500 frames, you can send it to me then I can take a look at what is wrong.
— You are receiving this because you authored the thread. Reply to this email directly, [ https://github.com/JinghaoLu/MIN1PIPE/issues/50#issuecomment-765482380 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ASR4VGEQFWIBXAWDR2F67Q3S3GKHNANCNFSM4WOQTMLQ | unsubscribe ] .
--
Alexis FAURE
Institut des Neurosciences Paris-Saclay (NeuroPSI) UMR9197 Université Paris-Saclay / CNRS
Cognitive & Network Neuroscience (CNN)
Neurobiology of Decision-making team
Université Paris-Sud, building 446 or 430
91405 Orsay, France
Phone: 01 69 15 68 30
Dear,
I first would thank you for your wonderfull pipeline. I have run it recently on one miniscope video and it have work well. However, to day after, trying the same video, it give me following error that seems to be link to basic matlab function rather than toolboxes. I am very new in Matlab and I hope that my question will not be too trivial.
Thank you
Alexis FAURE
Here the log of error
Warning: Name is nonexistent or not a directory: C:\Users\afaure\AppData\Local\Temp\Editor_qekiv Warning: "C:\Work Alexis\Recherche\endoscopie\MIN1PIPE-master" using the Custom Working Folder preference could not be accessed. Using "C:\Users\afaure\Documents\MATLAB" as the initial working folder instead.
Error in interp1 (line 128) [X,V,orig_size_v] = reshapeAndSortXandV(X,V);
Error in get_trans_score (line 91) acorr(idss) = interp1(ids, acorr(ids), idss, 'pchip', 'extrap');
Error in logdemons_unit (line 52) sco = get_trans_score(cat(3, imref, imcur), [], [], [], mq, maskc);
Error in min1pipe (line 179) [img, sx, sy] = logdemons_unit(imref, imcur);