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

2.6.6 Scalebar dialog and display #44

Open
MattPankhurst opened this issue May 19, 2020 · 3 comments
Open

2.6.6 Scalebar dialog and display #44

MattPankhurst opened this issue May 19, 2020 · 3 comments

Comments

@MattPankhurst
Copy link

Hi Ajay,
Thank you very much for Drishti.
In 2.6.6, the Scalebar dialog asks for "Number of voxels". Here (attached) I've put 1000. The Scalebar returns with 1000 um. If the voxel size does not = 1 um, either the scalebar length displayed or the units displayed cannot be correct.
Should the dialog instead ask "Number of voxel units?"
For example, this volume has a voxel size of 3.24 um. I would like to place a scalebar of 1 mm, but I'm not sure if the length is correct, or the units (or neither?), or maybe I'm simply not understanding something correctly.
Thank you,
Matt
image

@AjayLimaye
Copy link
Collaborator

AjayLimaye commented May 20, 2020 via email

@MattPankhurst
Copy link
Author

Thanks Ajay, and especially for the rapidity of the fix!

I followed your instructions and confirm that the scalebar now correctly displays in um according to the input number of voxels. I put in 100 voxels and a scalebar of 324.00 um is displayed as expected.

A follow up (please tell me if you regard this is a side/separate issue and I will start a new thread) is that what would be even better is if the user could nominate the length in units, not voxels. The reason I suggest this is illustrated below.
To make a scalebar of 1000 um I first calculated the number of voxels needed. The number is 308.64197. I needed this many significant figures to produce the 1000.00 um scalebar. Using less significant figures resulted in "999.99 um", which is awkward! It's obviously a piece of cake calculation for the user, but needs a little trial and error which takes time. For that reason, it'd be nice to have it integrated into Drishti for a smoother experience.

For example, what I imagine is that the user could nominate to display a scale bar of 1000 um (no decimal places), or choose to display it as 1 mm. I think whole numbers are easier to digest at a glance. In terms of workflow, the user could open the dialog box and choose to either nominate a number of voxels (for extreme precision), or nominate a scalebar length and units to display, and Drishti would calculate how many voxels are needed according to the voxel size (to the nearest voxel perhaps as that would be fit for purpose).

Thanks again,
Matt
image

@AjayLimaye
Copy link
Collaborator

AjayLimaye commented May 21, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants