Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindScaleSpaceExtrema error #33

Open
SebastianusRadhya opened this issue Nov 3, 2022 · 1 comment
Open

FindScaleSpaceExtrema error #33

SebastianusRadhya opened this issue Nov 3, 2022 · 1 comment

Comments

@SebastianusRadhya
Copy link

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.

@rmislam
Copy link
Owner

rmislam commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants