aoles / EBImage

:art: Image processing toolbox for R
70 stars 28 forks source link

question about reading the multiple channels tiff #68

Open dingxm opened 8 months ago

dingxm commented 8 months ago

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 commented 6 months ago

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