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

Reading in 8-bit images #4

Open
nilseling opened this issue Nov 27, 2023 · 0 comments
Open

Reading in 8-bit images #4

nilseling opened this issue Nov 27, 2023 · 0 comments

Comments

@nilseling
Copy link

Hi all,

I just stumbled upon this by chance. Looking at the mean pixel intensity of CK across all cells it seemed to me that these intensities are quite low. So I checked and you should be using the as.is = TRUE option in the cytomapper::loadImages function when reading in 8-bit images. I always tend to compare the pixel intensities of the CytoImageList object against the ones I get from ImageJ/FIJI and there you can see that not setting as.is = TRUE divides the true pixel intensities by 2^8 - 1 = 255. It's a bit of an annoying thing and comes from how tiff::readTIFF processes integers when reading in images.

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

1 participant