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]
How can i resolve this issue? Thank you.
The text was updated successfully, but these errors were encountered:
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.
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]
How can i resolve this issue? Thank you.
The text was updated successfully, but these errors were encountered: