Skip to content

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

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

Closed
PierreRaybaut opened this issue Apr 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@PierreRaybaut
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant