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

question about reading the multiple channels tiff #68

Open
dingxm opened this issue Jan 2, 2024 · 1 comment
Open

question about reading the multiple channels tiff #68

dingxm opened this issue Jan 2, 2024 · 1 comment

Comments

@dingxm
Copy link

dingxm commented Jan 2, 2024

I have a multiple channels tiff and the below is the info about this tiff
=== TIFF directory 0 ===
TIFF Directory at offset 0x8 (8)
Image Width: 14066 Image Length: 13367
Resolution: 1, 1 (unitless)
Bits/Sample: 32
Sample Format: IEEE floating point
Compression Scheme: None
Photometric Interpretation: min-is-black
Samples/Pixel: 1
Rows/Strip: 13367
Planar Configuration: single image plane
ImageDescription: ImageJ=1.11a
images=28
channels=28
hyperstack=true
mode=grayscale
The tiff has 28 channels. I read this tiff using image <- readImage(image.fn[1],all=TRUE).
Image
colorMode : Grayscale
storage.mode : double
dim : 14066 13367
frames.total : 1
frames.render: 1
Only one channel was read. Can you help to solve this issue.
The multiple channels tiff was generated by ImageJ from one qbtiff.

@aoles
Copy link
Owner

aoles commented Mar 16, 2024

Hi there,

did you manage to solve the problem, or is it still a valid issue?

EBImage reads the image via a call to tiff::readTIFF, which doesn't seem to support more than 4 color channels.

You might want to try RBioFormats which has a better support for multi-channel file formats.

Cheers,
Andrzej

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

2 participants