Closed tibuch closed 6 months ago
The planes are not missing, but some planes get assigned the same ZIndex
after the auto-focus correction. The issue can be tracked down to a rounding error in ZAdjustedStackAcquisition._parse_files()
.
Currently, we compute the updated ZIndex
for each acquired plane. Which, in combination with the rounding error, can lead to a situation where the same ZIndex
is used by multiple planes and some ZIndices
are skipped.
After discussing the issue with @imagejan we concluded that we should compute the Z-Index offset for each field-stack once and shift all Z-indices belonging to one field and well together. Like this the acquired stack stays together.
In some cases planes are missing after stitching.