Skip to content
Discussion options

You must be logged in to vote

Closing, since this was followed up by email. A summary for anyone who finds this thread:

Voxel size. When loading a TIFF stack, every pixel becomes one voxel, and voxelSize is the real-world size of one voxel along each axis. Pixels are square in almost all cases, so voxelSize.x and voxelSize.y should normally be equal. Compute the value from the axis whose physical range you know reliably and use it for both:

voxelSize = ( physical X range / image width in px,
              physical X range / image width in px,
              stack length     / number of slices )

So here it should be (520/7440, 520/7440, 50/150). With 40/350 for Y, the Y voxel is about 1.6× larger than the X voxel (0.11…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@Gooda11
Comment options

@Gooda11
Comment options

@Grantim
Comment options

@Gooda11
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Grantim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants