Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still having problem running autosegmentation. #22

Open
ana-ich opened this issue Feb 4, 2024 · 4 comments
Open

Still having problem running autosegmentation. #22

ana-ich opened this issue Feb 4, 2024 · 4 comments

Comments

@ana-ich
Copy link

ana-ich commented Feb 4, 2024

Hello, I tried to run autosegmentation on the same recording and I have this error now:
Error using -
Array dimensions must match for binary array op.

Error in flufinder.preprocess.removeDynamicBackground (line 30)
imageArray = imageArray - min(imageArray(:));

Error in flufinder.module.preprocessImages (line 43)
imArray = flufinder.preprocess.removeDynamicBackground(imArray);

Error in flufinder.runAutoSegmentation (line 30)
imArray = flufinder.module.preprocessImages(imArray, params);

Error in imviewer.plugin.RoiManager/runAutoSegmentation (line 537)
foundRois = flufinder.runAutoSegmentation(Y, opts);

Error in roimanager.RoimanagerDashboard/onAutosegmentationOptionsChanged (line 626)
obj.runAutoSegmentation()

Error in roimanager.RoimanagerDashboard>@(varargin)obj.onAutosegmentationOptionsChanged(varargin{:}) (line 386)
callbacks{i} = @obj.onAutosegmentationOptionsChanged;

Error in structeditor.App/editCallback_propertyValueChange (line 2283)
obj.Callback{obj.currentPanel}(name, newVal)

Error in structeditor.App>@(varargin)obj.editCallback_propertyValueChange(varargin{:}) (line 1785)
inputbox.Callback = @obj.editCallback_propertyValueChange;

Related documentation

Error while evaluating UIControl Callback.
image

I also tried to run autosegmentation from the main menu ( not from the black GUI) and it works. The problem is that when I then want to add a few ROIs and save using the GUI(extract signal) the file contains only the ROIs that the autosegmentation found (no new ones). Also is not ideal as data is parsed differently, so I have to change my whole code just for this video.
I'm trying now to draw them by hand in the GUI and let you know. Thank you so much for the support!

@ehennestad
Copy link
Collaborator

Could we set up a zoom meeting to discuss some of these issues? Do you have my email?

@ana-ich
Copy link
Author

ana-ich commented Feb 5, 2024

Hi, yes! I will write you!

@ana-ich
Copy link
Author

ana-ich commented Feb 5, 2024

Thanks!

@ehennestad
Copy link
Collaborator

Have not received anything, did you try to follow up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants