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

Interactive bounding box in BDV error after tranformation #114

Open
artgolden opened this issue May 24, 2022 · 0 comments
Open

Interactive bounding box in BDV error after tranformation #114

artgolden opened this issue May 24, 2022 · 0 comments

Comments

@artgolden
Copy link

I encounter a following error when trying to define new bounding box interactively in BDV:

Exception in thread "Thread-110" java.lang.IllegalArgumentException: invalid range properties
	at javax.swing.DefaultBoundedRangeModel.<init>(DefaultBoundedRangeModel.java:102)
	at javax.swing.JSlider.<init>(JSlider.java:274)
	at bdv.tools.brightness.SliderPanel.<init>(SliderPanel.java:72)
	at bdv.tools.boundingbox.BoxSelectionPanel.<init>(BoxSelectionPanel.java:107)
	at bdv.tools.boundingbox.BoundingBoxDialog.<init>(BoundingBoxDialog.java:161)
	at bdv.tools.boundingbox.BoundingBoxDialog.<init>(BoundingBoxDialog.java:99)
	at net.preibisch.mvrecon.process.boundingbox.BoundingBoxBigDataViewer$1.<init>(BoundingBoxBigDataViewer.java:123)
	at net.preibisch.mvrecon.process.boundingbox.BoundingBoxBigDataViewer.estimate(BoundingBoxBigDataViewer.java:122)
	at net.preibisch.mvrecon.fiji.plugin.boundingbox.BDVBoundingBoxGUI.setUpDefaultValues(BDVBoundingBoxGUI.java:52)
	at net.preibisch.mvrecon.fiji.plugin.boundingbox.BoundingBoxGUI.getSimpleDialog(BoundingBoxGUI.java:164)
	at net.preibisch.mvrecon.fiji.plugin.boundingbox.BoundingBoxGUI.queryParameters(BoundingBoxGUI.java:96)
	at net.preibisch.mvrecon.fiji.plugin.Define_Bounding_Box.defineBoundingBox(Define_Bounding_Box.java:137)
	at net.preibisch.mvrecon.fiji.plugin.Define_Bounding_Box.defineBoundingBox(Define_Bounding_Box.java:84)
	at net.preibisch.mvrecon.fiji.spimdata.explorer.popup.BoundingBoxPopup$MyActionListener$1.run(BoundingBoxPopup.java:89)
	at java.lang.Thread.run(Thread.java:748)

This happens if I had previously defined a bounding box, and then applied a significant transformation, for example rotation of 45 degrees. It looks like it is trying to create an initial guess for a bounding box on the same place as in previous definition, but fails since the image is transformed.

An example dataset that is currently in the state where you get this error when trying to create a bounding box interactively in BDV can be found here: https://drive.google.com/drive/folders/1KtUJHlPQucHVk35mBumR6Bsn1PpPzNRh?usp=sharing

I am running updated Fiji 2.3.0/1.53q on Ubuntu 20.04

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

1 participant