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
Currently the function getHyperslab if the data of an object is not loaded yet, you could get some unexpected results if your dtype is not float or double. In that case, the function miget_hyperslab_normalized is called, and the actual range of your input data is mapped onto the range of your dtype. For example, if your input file has float values from 1.0 to 3.0, and your dtype is ubyte, the value 1.0 will be mapped to 0 and 3.0 to 255. This is probably not what you would have expected from this function. That functionality should be implemented in a function called getHyperslabNormalized, and this function should simply return values between 1 and 3
The text was updated successfully, but these errors were encountered:
Currently the function getHyperslab if the data of an object is not loaded yet, you could get some unexpected results if your dtype is not float or double. In that case, the function miget_hyperslab_normalized is called, and the actual range of your input data is mapped onto the range of your dtype. For example, if your input file has float values from 1.0 to 3.0, and your dtype is ubyte, the value 1.0 will be mapped to 0 and 3.0 to 255. This is probably not what you would have expected from this function. That functionality should be implemented in a function called getHyperslabNormalized, and this function should simply return values between 1 and 3
The text was updated successfully, but these errors were encountered: