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
Here, dist2 is an SFLOAT image, and distance_function is a standard 64-bit float NumPy array.
What happens is that the output image is being reforged to DFLOAT, the common format for the two input images. This means of course that the result is not being written into dist2 as expected by the user.