-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issues in exported BLO file #12
Comments
On the second point, .blo doesn't currently support 16-bit, but we may want to be careful how we convert down to 8-bit. As far as I understood Here is an example: |
very good points, when I was implementing this I only thought of using the full range of 0-255 to have a minimum loss of intensity resolution, which I guess should be fine for indexing, but indeed relative intensities between images is important for VBF/VDF. Should the user have a choice in which way to do it? On the other hand, when you linscale the image (which you would most likely do when converting to 8-bit, since 2**16 is almost never reached in the raw images - the raw images are very dim), both conversion methods should be identical, as the linscaled images use the full range. I guess the main point is that the checkbox "use 8-bit" is a bit confusing, especially when unchecked blo still exports as 8-bit. |
Yes rescaling is certainly better for indexing, but not ideal for the reconstructions. So at the moment, I need two files, one rescaled and one not, for my analysis 😅. I'm sure there is a better way but this is fine for now. I agree that the '8-bit' box is confusing, especially as it is irrelevant for .hspy too. Maybe it should be changed, or at least renamed. |
This is exactly the problem with 8-bit datasets and why I'm trying to get ASTAR-like indexing into Pyxem with even more fine-grained user control. I'm quite close to a solution. Pyxem builds on hyperspy, and in this way you would be directly able to index the 16-bit dataset. |
then you can do ALL your analysis with python and without compromising on the data |
The text was updated successfully, but these errors were encountered: