-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing sources in bdvs #60
Comments
With
and commit e20bebd everything works fine. With 1.0.0-beta-34 the conflicting VolatileSource shows up. I continue to dig. |
Ok, if I rename "my"
It still works fine. (commit e20bebd for this repo, and a modified temp commit for bigdataviewer-playground) |
I can't disantangle everything easily, but the issue shows up when I put the BigWarp 9.1.0 dependency. I can't work on this before mid next week. So I'm gonna have to keep shadowing BigWarp for the moment. (@tischi no fix for now) |
This is truly strange. To me, this looks as if the mipmap levels don't have the correct transformation, but there is no separate code in sandbox' WrapVolatileSource that does anything to the transformations. It's all the same thing... |
Ah yeah indeed no sub-resolution shows up. I'll keep this in mind, I think there's potentially some threading issues - like a transform object shared between threads while it should be copied. |
This commit : saalfeldlab/bigwarp@86d431e I did not look yet what's in it. (@axtimwale, @bogovicj) |
I thought the
|
Ok, I found the issue: I need to adopt the same logic than was has been done in BigWarp in bigdataviewer-biop-tools/src/main/java/bdv/util/source/alpha/AlphaSourceWarped.java Lines 56 to 67 in 92bacfe
|
It's not sufficient, the change in saalfeldlab/bigwarp@86d431e
So, sorry to ask, but before I dig and spend a lot of time on this: do you have any clear benefit in this change ? Also have you tested whether it behaves correctly if you want to run BigWarp over an already WarpedSource (2xBigWarp). I need this in ABBA to apply successive transforms while keeping the ability to edit and cancel these successive layers. |
I also see that this commit makes 56 additions and 16 deletions, so if it's adding more code, breaks other repos, and if there's not clear benefit (but this I don't know). I'd be relieved if this could be reverted. |
Thanks for the recipe to reproduce the issue - I'm seeing the same thing and investigating ... |
I'm not sure I provided a good recipe... Don't hesitate if you want to set up a quick zoom meeting and avoid wasting time on some of my undocumented logic. |
😄 , so far so good. I gave this a try today: the changes: bogovicj@04ddc73 I'm not sure if this is entirely correct (especially not sure if the changes to
I'm sympathetic to that. Especially if there will be many places and lots of code that's affected by this. Perhaps it would have been better for WarpedSource to stay the way it was, and for this changes with different behavior to go to a new class ( |
Thanks for digging through this.
I know that I have at least another demo that fails: It's not self-contained (I'll try to make it self-contained) but it was looking like that: 1487185944595861513-dDk_NQ-dUZRToGU8.mp4Now the image is mostly black, even with the fix you suggested. I have another demo where the 'fused sources' are not multi-resolution, and this works fine.
Thanks for considering it. I'll try to make some simple use-cases that could show clearly where I'm affected. I need to confirm this, but I feel like the new way of specifying the transform is now relative to another referential, and that this may break backward compatibility. Maybe it'll backward compatible in some cases, but for the general case, I'm not sure that the landmark coordinates will still be valid when one switches from BW 8 to BW 9 with the same landmark files. Also, maybe that's a minor performance hit and it's not very relevant, but you need to compute two extra affine transforms per pixel if I understand correctly. I'll try keep wou posted by the end of week and hopefully provide useful inputs. |
I've tested a bunch of ways to mess around BigWarp with bigwarp 8 (branch test-bigwarp-bw-compat-8): and the same demo with BigWarp9 (branch test-bigwarp-bw-compat-9): And couldn't find any issue. So I need to look back at this repo and understand what's the root cause of the issue. |
I think this is fixed now. I'm not completely sure of the initial issue. I rewrote the test. The only remaining issue I have is thus: imglib/imglib2-realtransform#45 |
following this commit (92bacfe), which takes into account the last modifications, I have a problem with the demo named AlphaDemoFull.
(Sorry I do not have tests, but I have plenty of demos that I run and check. I check that everything behaves correctly. Let's say it's 'manual integration tests').
This is how the demo looked just a commit before:
And this is how it looks with the commit 92bacfe:
As you can see, some sources are missing and appear randomly or by block.
I will need to bissect this further, and this'll take a bit of time.
@axtimwalde, @tpietzsch
The text was updated successfully, but these errors were encountered: