Bitmaps are rotated and mirrored? #97
Labels
bug
Something isn't working
help wanted
Extra attention is needed
Urgency: High
This issue is a high priority
Milestone
Describe the bug
The raytracer currently produces bitmaps/tensors that need to be flipped (rotated 180 degrees) and transposed before they can be compared to the calibration images/bitmaps downloaded from PAINT.
To reproduce
Steps to reproduce the behavior:
ARTIST/artist/util/alignment_optimizer.py
optimize_kinematic_parameters_with_raytracing()
look at the optimization loop and notice how the bitmap is flipped and transposed before the new center is calculated.matplotlib.pyplot
to visualize what is happening.Expected behavior
The raytracer should deliver bitmaps that are oriented correctly.
Additional context
You can see how we always transposed the raytraced bitmaps before using them in other tests as well, for example
test_integration_stral_data.py
.The text was updated successfully, but these errors were encountered: