silx icon indicating copy to clipboard operation
silx copied to clipboard

Graphical tool to measure distance in pixels in image

Open vallsv opened this issue 4 years ago • 5 comments

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.

vallsv avatar Oct 14 '21 08:10 vallsv

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.

t20100 avatar Sep 28 '22 15:09 t20100

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 avatar Sep 29 '22 09:09 vallsv

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

vallsv avatar Sep 29 '22 09:09 vallsv

For information I just have the same need for an application

payno avatar Oct 30 '23 07:10 payno

Indeed I started a prototype here: https://github.com/silx-kit/silx/pull/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 avatar Oct 30 '23 09:10 payno