Skip to content
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

16 bit Tiffs are generating black thumbnails #466

Closed
NetaFG opened this issue Apr 12, 2024 · 6 comments
Closed

16 bit Tiffs are generating black thumbnails #466

NetaFG opened this issue Apr 12, 2024 · 6 comments

Comments

@NetaFG
Copy link

NetaFG commented Apr 12, 2024

@NetaFG NetaFG changed the title 16 bit Tiffs that are generating black thumbnails 16 bit Tiffs are generating black thumbnails Apr 12, 2024
@NetaFG
Copy link
Author

NetaFG commented Apr 12, 2024

@NetaFG
Copy link
Author

NetaFG commented Apr 12, 2024

Please find attached a sample image showing how the thumbnails should look:

image

@NetaFG
Copy link
Author

NetaFG commented Apr 12, 2024

File path:
: \ai-fas12.niaid.nih.gov\RMLEMHedwigProd\Projects\RTB\efischer\hansenbry-2024-0117-DMID\TEM-2024-0118-VLP-quant

@blowekamp
Copy link
Collaborator

The images come from a new microscope and with new tools which export the images to 16-bit TIFFs.

The tiff contains outlier pixel ( perhaps caused by X-rays ) for example 1632 value with a median of the image at 151. The range preserving approach of pytools.convert will not work with this.

A similar issue was previous encountered with 16-bit tiff exported from FIBSEM images. For this the 16-bit were preserved I the OME ZARR, but the intensity was windows with a MAD algorithm when viewing.

@blowekamp
Copy link
Collaborator

blowekamp commented Apr 16, 2024

The command line from convert_3d_mrc_to_tiff was run on 4 sample input 16-bit tiff files. The conversion looked good. And Bryan said "those look good to me". This can address this issue.

However, it raises the question if these 16-bit TIFF need to be processed with this separate conversion, or if all can be run through the IMOD newstack command.

@philipmac
Copy link
Member

#468 should close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants