-
Hi! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
We use the assumption that 40x means a pixel spacing of 0.00025 mm. Since a level might not have this exact spacing we need to use a threshold that might be too strict in your case. Here is the logic: https://github.com/smistad/FAST/blob/master/source/FAST/Algorithms/ImagePatch/PatchGenerator.cpp#L88 This off course requires the WSI file to have the correct spacing stored. Tiff files have a x and y resolution parameter. What is the spacing/resolution of your file? |
Beta Was this translation helpful? Give feedback.
Hi @mhoibo
I have been thinking more about this and note that my knowledge of microscopes is limited.
However resolution (e.g. pixel spacing) is not the same as magnification, although they are somewhat linked.
Check out this article on this exact topic: "Relationship between magnification and resolution in digital pathology systems" https://www.sciencedirect.com/science/article/pii/S2153353922006423
Thus, this gets rather complicated.. as using the spacing to "guess" the magnification of the images is not completely reliable.
We could try to get the magnification from the WSI metadata and use that if it exists as this is the most reliable source. If that doesn't exist we can try to guess…