You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Precomputed format does not support sub-pixel precision, and so has issues when computing offsets that are not divisible by two. For instance, a dataset voxel offset of five would display correctly at mip 0, but at mip 1, would be required to be offset by either two or three, which introduces a shift of half a pixel relative to the original data.
@nkemnitz believes that tinybrain should be able to emulate sub-pixel precision. I think this is possible because (a) most datasets are ringed by black making the shift due to the boundary seem unreasonable as perturbing the boundary by a small amount should have no effect on the registration of the tissue (b) it would be possible to shift the location of tissue by half a pixel by shifting the downsample window by one pixel on source mip level.
This does present some challenges to the downsample pipeline however as it would require downloading an expanded region per task in order to provide the necessary material for the shift. Additionally, multiple shifts per a task may be in order depending on the numbers involved. Each integer truncation changes the prime factorization of the resulting number. Some of this would be solved in igneous and some would be solved in tinybrain.
The text was updated successfully, but these errors were encountered:
The Precomputed format does not support sub-pixel precision, and so has issues when computing offsets that are not divisible by two. For instance, a dataset voxel offset of five would display correctly at mip 0, but at mip 1, would be required to be offset by either two or three, which introduces a shift of half a pixel relative to the original data.
@nkemnitz believes that tinybrain should be able to emulate sub-pixel precision. I think this is possible because (a) most datasets are ringed by black making the shift due to the boundary seem unreasonable as perturbing the boundary by a small amount should have no effect on the registration of the tissue (b) it would be possible to shift the location of tissue by half a pixel by shifting the downsample window by one pixel on source mip level.
This does present some challenges to the downsample pipeline however as it would require downloading an expanded region per task in order to provide the necessary material for the shift. Additionally, multiple shifts per a task may be in order depending on the numbers involved. Each integer truncation changes the prime factorization of the resulting number. Some of this would be solved in
igneous
and some would be solved intinybrain
.The text was updated successfully, but these errors were encountered: