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
Hi, I'm trying to compute the FindScaleSpaceExtrema function and it's taking a really long time with a Runtime warning below.
RuntimeWarning: overflow encountered in ubyte_scalars
dx = gaussian_image[region_y, region_x + 1] - gaussian_image[region_y, region_x - 1]
RuntimeWarning: overflow encountered in ubyte_scalars
gradient_magnitude = np.sqrt(dx * dx + dy * dy)
RuntimeWarning: overflow encountered in ubyte_scalars
dy = gaussian_image[region_y - 1, region_x] - gaussian_image[region_y + 1, region_x]
It will take a long time because of how it's implemented in Python for readability.
If you can give me details about your Python, Numpy, etc. versions, then I can try to reproduce this.
Activity
rmislam commentedon Jan 26, 2024
It will take a long time because of how it's implemented in Python for readability.
If you can give me details about your Python, Numpy, etc. versions, then I can try to reproduce this.