Skip to content

Average profile visualization: empty profile is displayed when the target rectangular area is outside the image area #41

Description

@PierreRaybaut

When using the "Average profile" feature on an image, a non-empty profile is displayed when the target rectangular area is outside the image area (e.g. when the image is zoomed out and the target area is outside the image area).

This is not expected behavior, as the profile should be empty in this case.

This is caused by the fact that the get_closest_index_rect method of image items is avoiding to return an empty rectangular area as it should when the target area is outside the image area.

Activity

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

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions