Skip to content

FindScaleSpaceExtrema error #33

Open

Description

@SebastianusRadhya

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.

Activity

  1. rmislam commented on Jan 26, 2024

    @rmislam
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions