You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Go to ARTIST/artist/util/alignment_optimizer.py
In the method 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.
Use matplotlib.pyplot to visualize what is happening.
Compare to the calibration image downloaded from PAINT
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:
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: