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

Graphical tool to measure distance in pixels in image #3538

Closed
vallsv opened this issue Oct 14, 2021 · 6 comments
Closed

Graphical tool to measure distance in pixels in image #3538

vallsv opened this issue Oct 14, 2021 · 6 comments

Comments

@vallsv
Copy link
Contributor

vallsv commented Oct 14, 2021

Feedback from Flint users.

They would like to have a tool to measure distance in pixels in images.

Such tool is very generic and probably have to deal with internal plot modes to make it work, so i open an issue here.

This is not a priority, but could be useful sometime.

@t20100 t20100 added this to the 1.1.0 milestone Sep 12, 2022
@t20100
Copy link
Member

t20100 commented Sep 28, 2022

Distance info could be added to the line profile tool or as a separated tool with an interaction mode and a toolbutton to add to the toolbar.
What do you need for flint?

Since the profile tool is not a mode, I would go for a dedicated tool/mode.

@vallsv
Copy link
Contributor Author

vallsv commented Sep 29, 2022

I dont think it's a good idea to talk about profile here.

Maybe it could have featured based on a ROI.

But it also could be implemented as a mouse interaction, and only be displayed during the mouse interaction.
I prefer this last solution.

@vallsv
Copy link
Contributor Author

vallsv commented Sep 29, 2022

I don't need the solution using a ROI, cause i can implement it in flint without problem.

@t20100 t20100 removed this from the 1.1.0 milestone Oct 11, 2022
@vallsv vallsv closed this as completed Jun 15, 2023
@vallsv vallsv reopened this Jun 15, 2023
@payno
Copy link
Member

payno commented Oct 30, 2023

For information I just have the same need for an application

@payno
Copy link
Member

payno commented Oct 30, 2023

Indeed I started a prototype here: #3959

But according to the different use cases:

  • handling image scales
  • numerical precision to be displayed
  • displaying or not the start and end points...
    I wonder if it is worth to be added to silx or not ?

@payno
Copy link
Member

payno commented Feb 10, 2025

API given by: #3959

@payno payno closed this as completed Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants