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

roiManager ignores selection when saving #249

Closed
ATpoint opened this issue May 8, 2024 · 2 comments
Closed

roiManager ignores selection when saving #249

ATpoint opened this issue May 8, 2024 · 2 comments

Comments

@ATpoint
Copy link

ATpoint commented May 8, 2024

From my (probably wrong) understanding, this should save ROIs number 4 and 5 to RoiSet.zip, no? It saves the first two though.

MRE:

newImage("Untitled", "16-bit black", 512, 512, 1);
makeRectangle(108, 51, 77, 54);
roiManager("Add");
makeRectangle(225, 181, 75, 56);
roiManager("Add");
makeRectangle(367, 118, 51, 54);
roiManager("Add");
makeRectangle(342, 263, 98, 69);
roiManager("Add");
makeRectangle(271, 367, 84, 72);
roiManager("Add");
roiManager("Select", newArray(3,4));
roiManager("Save selected", "C:/Users/atpoint/Desktop/RoiSet.zip");

Is this a bug or am I being stupid?

@ATpoint
Copy link
Author

ATpoint commented May 23, 2024

Any feedback? "It's a noob problem" is also a feedback I am fine with. Then I keep digging. @rasband

@rasband
Copy link
Member

rasband commented May 25, 2024

This bug is fixed in the ImageJ 1.54j22 daily build. The commit is at 6f6e828.

@rasband rasband closed this as completed May 25, 2024
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