Closed minnerbe closed 10 months ago
Thanks for the review! I'll try to incorporate your suggestions later today, but if I don't get around to do it and it's time critical, feel free to edit the code yourself.
Thanks for applying the changes yourself, @trautmane ! I was completely swamped the last days...
Changes
I added a client that does a couple of rounds of the distributed block solver with alternating layouts to ensure that every tile is in the "interior" of a block at least once. More specifically, the algorithm looks like this:
_runN
)Test
I tested this on a small toy stack (1 mFOV):
Results
Using the error comparison tool, we see that the iterative solution only deviates from the exact one by more than 1.5 px for a handful of tile pairs, all of which contain more or less only resin. Otherwise, the iterative solve looks pretty good to me. In particular, the global coarse block solve has errors well below 1px after the first two runs.
Interestingly, the exact solve seems to have a very visible (and probably wrong) drift in the last few layers, which the iterative solve doesn't.