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

Image is being incorrectly interpreted as 16bit instead of 8bit #72

Open
tlnagy opened this issue Feb 17, 2022 · 5 comments
Open

Image is being incorrectly interpreted as 16bit instead of 8bit #72

tlnagy opened this issue Feb 17, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@tlnagy
Copy link
Owner

tlnagy commented Feb 17, 2022

Does this mean you get an all-zero channel after loading it even before visualization?

Exactly. Apart from that it seems to be taking the pixel values in each slice (z) from different channels randomly, meaning that in slice 21 I'd be getting the information from original channel 1 and for slice 57 for example the info from channel 3, which is at least weird.

Because there are multiple Image IO backends. Can you check if using TIffImages directly works?

using TiffImages
TiffImages.load(filepath)

Yeah I've tried loading with TiffImages backend and the probelm stills.

If it is still the all-zero case, there might be some issues with your specific image file and TiffImages. In that case, providing an example image would be helpful to diagnose.

If you don't mind I can send you the image I am trying to load and I will be very grateful if you could help me.

https://drive.google.com/file/d/1JEDVJXh6yV5V5WU7qyvk_xBd4E1_rInJ/view?usp=sharing

Thanks in advance!

Originally posted by @DiegoPerezDones in JuliaImages/Images.jl#998 (comment)

@DiegoPerezDones
Copy link

First of all, thanks in advance. The image is supposed to be a 3-channel hyperstack with 84 slices, each of them of 678x647 pixels, as @johnnychen94 noticed, but each channel it's not RGB but gray-scale inteisty values.

@tlnagy
Copy link
Owner Author

tlnagy commented Feb 17, 2022

So I got a chance to play around with the image and this seemed to work:

using TiffImages
a = TiffImages.load("channels_24_1_R1.5.tif");

# convert to Gray to discard useless green and blue channels (all info is in red)
# and reshape since the color info is intercalated in the z dimension
b = reshape(Gray.(a), size(a)[[1,2]]..., 3, :)

# construct a new color view so now green and blue have the correct info
c = colorview(RGB, [view(b, :, :, i, :) for i in 1:3]...);

image

@tlnagy
Copy link
Owner Author

tlnagy commented Feb 17, 2022

But this is clearly a bug with TiffImages since it doesn't successfully detect the following:

  • It appears that the color info is spread across separate slices (!?) 1
  • It's actually 8bit, not 16bit
  • There's a colormap?
  • The TIFF is also MSB so the bits order needs to be flipped2

Footnotes

  1. I've never seen a TIFF do this. Truly bizarre.

  2. This might be the source of some of the problems

@tlnagy
Copy link
Owner Author

tlnagy commented Feb 17, 2022

ImageMagick reports the image as

  • A palette color image
  • MSB endianness
  • Depth at 8/16-bit (??)
  • Channel depth at 15, 1, 1 bits for RGB (wtf?)
Details

Image:
  Filename: channels_24_1_R1.5.tif
  Format: TIFF (Tagged Image File Format)
  Mime type: image/tiff
  Class: PseudoClass
  Geometry: 678x647+0+0
  Units: PixelsPerInch
  Colorspace: sRGB
  Type: Palette
  Endianness: MSB
  Depth: 8/16-bit
  Channel depth:
    red: 15-bit
    green: 1-bit
    blue: 1-bit
  Channel statistics:
    Pixels: 438666
    Red:
      min: 0  (0)
      max: 61 (0.238285)
      mean: 3.668 (0.0143843)
      standard deviation: 8.23963 (0.0323123)
      kurtosis: 6.76108
      skewness: 2.57928
      entropy: 0.3491
    Green:
      min: 0  (0)
      max: 0 (0)
      mean: 0 (0)
      standard deviation: 0 (0)
      kurtosis: -3
      skewness: 0
      entropy: 0
    Blue:
      min: 0  (0)
      max: 0 (0)
      mean: 0 (0)
      standard deviation: 0 (0)
      kurtosis: -3
      skewness: 0
      entropy: 0
  Image statistics:
    Overall:
      min: 0  (0)
      max: 61 (0.238285)
      mean: 1.22267 (0.00479477)
      standard deviation: 2.74654 (0.0107708)
      kurtosis: 28.2718
      skewness: 5.01711
      entropy: 0.116367
  Colors: 62
  Histogram:
    330859: (0,0,0) #000000 black
    5347: (0.996109,0,0) #010000 srgb(0.390631%,0%,0%)
    3955: (1.99222,0,0) #020000 srgb(0.781262%,0%,0%)
    4732: (2.98833,0,0) #030000 srgb(1.17189%,0%,0%)
    4274: (3.98444,0,0) #040000 srgb(1.56252%,0%,0%)
    4758: (4.98054,0,0) #050000 srgb(1.95315%,0%,0%)
    4169: (5.97665,0,0) #060000 srgb(2.34379%,0%,0%)
    4201: (6.97276,0,0) #070000 srgb(2.73442%,0%,0%)
    4228: (7.96887,0,0) #080000 srgb(3.12505%,0%,0%)
    4122: (8.96498,0,0) #090000 srgb(3.51568%,0%,0%)
    3636: (9.96109,0,0) #0A0000 srgb(3.90631%,0%,0%)
    3619: (10.9572,0,0) #0B0000 srgb(4.29694%,0%,0%)
    4313: (11.9533,0,0) #0C0000 srgb(4.68757%,0%,0%)
    3831: (12.9494,0,0) #0D0000 srgb(5.0782%,0%,0%)
    3267: (13.9455,0,0) #0E0000 srgb(5.46883%,0%,0%)
    3240: (14.9416,0,0) #0F0000 srgb(5.85946%,0%,0%)
    3019: (15.9377,0,0) #100000 srgb(6.2501%,0%,0%)
    3345: (16.9339,0,0) #110000 srgb(6.64073%,0%,0%)
    2894: (17.93,0,0) #120000 srgb(7.03136%,0%,0%)
    3035: (18.9261,0,0) #130000 srgb(7.42199%,0%,0%)
    2874: (19.9222,0,0) #140000 srgb(7.81262%,0%,0%)
    3086: (20.9183,0,0) #150000 srgb(8.20325%,0%,0%)
    2900: (21.9144,0,0) #160000 srgb(8.59388%,0%,0%)
    2543: (22.9105,0,0) #170000 srgb(8.98451%,0%,0%)
    2425: (23.9066,0,0) #180000 srgb(9.37514%,0%,0%)
    2850: (24.9027,0,0) #190000 srgb(9.76577%,0%,0%)
    1975: (25.8988,0,0) #1A0000 srgb(10.1564%,0%,0%)
    1911: (26.8949,0,0) #1B0000 srgb(10.547%,0%,0%)
    1707: (27.8911,0,0) #1C0000 srgb(10.9377%,0%,0%)
    1654: (28.8872,0,0) #1D0000 srgb(11.3283%,0%,0%)
    1214: (29.8833,0,0) #1E0000 srgb(11.7189%,0%,0%)
    1174: (30.8794,0,0) #1F0000 srgb(12.1096%,0%,0%)
    922: (31.8755,0,0) #200000 srgb(12.5002%,0%,0%)
    725: (32.8716,0,0) #210000 srgb(12.8908%,0%,0%)
    551: (33.8677,0,0) #220000 srgb(13.2815%,0%,0%)
    649: (34.8638,0,0) #230000 srgb(13.6721%,0%,0%)
    533: (35.8599,0,0) #240000 srgb(14.0627%,0%,0%)
    658: (36.856,0,0) #250000 srgb(14.4533%,0%,0%)
    675: (37.8521,0,0) #260000 srgb(14.844%,0%,0%)
    439: (38.8482,0,0) #270000 srgb(15.2346%,0%,0%)
    329: (39.8444,0,0) #280000 srgb(15.6252%,0%,0%)
    336: (40.8405,0,0) #290000 srgb(16.0159%,0%,0%)
    366: (41.8366,0,0) #2A0000 srgb(16.4065%,0%,0%)
    236: (42.8327,0,0) #2B0000 srgb(16.7971%,0%,0%)
    42: (43.8288,0,0) #2C0000 srgb(17.1878%,0%,0%)
    169: (44.8249,0,0) #2D0000 srgb(17.5784%,0%,0%)
    17: (45.821,0,0) #2E0000 srgb(17.969%,0%,0%)
    67: (46.8171,0,0) #2F0000 srgb(18.3597%,0%,0%)
    119: (47.8132,0,0) #300000 srgb(18.7503%,0%,0%)
    196: (48.8093,0,0) #310000 srgb(19.1409%,0%,0%)
    95: (49.8054,0,0) #320000 srgb(19.5315%,0%,0%)
    22: (50.8016,0,0) #330000 srgb(19.9222%,0%,0%)
    22: (51.7977,0,0) #340000 srgb(20.3128%,0%,0%)
    25: (52.7938,0,0) #350000 srgb(20.7034%,0%,0%)
    19: (53.7899,0,0) #360000 srgb(21.0941%,0%,0%)
    21: (54.786,0,0) #370000 srgb(21.4847%,0%,0%)
    35: (55.7821,0,0) #380000 srgb(21.8753%,0%,0%)
    29: (56.7782,0,0) #390000 srgb(22.266%,0%,0%)
    66: (57.7743,0,0) #3A0000 srgb(22.6566%,0%,0%)
    10: (58.7704,0,0) #3B0000 srgb(23.0472%,0%,0%)
    99: (59.7665,0,0) #3C0000 srgb(23.4379%,0%,0%)
    37: (60.7626,0,0) #3D0000 srgb(23.8285%,0%,0%)
  Colormap entries: 256
  Colormap:
    0: (0,0,0) #000000 black
    1: (0.390631%,0%,0%) #010000 srgb(0.390631%,0%,0%)
    2: (0.781262%,0%,0%) #020000 srgb(0.781262%,0%,0%)
    3: (1.17189%,0%,0%) #030000 srgb(1.17189%,0%,0%)
    4: (1.56252%,0%,0%) #040000 srgb(1.56252%,0%,0%)
    5: (1.95315%,0%,0%) #050000 srgb(1.95315%,0%,0%)
    6: (2.34379%,0%,0%) #060000 srgb(2.34379%,0%,0%)
    7: (2.73442%,0%,0%) #070000 srgb(2.73442%,0%,0%)
    8: (3.12505%,0%,0%) #080000 srgb(3.12505%,0%,0%)
    9: (3.51568%,0%,0%) #090000 srgb(3.51568%,0%,0%)
    10: (3.90631%,0%,0%) #0A0000 srgb(3.90631%,0%,0%)
    11: (4.29694%,0%,0%) #0B0000 srgb(4.29694%,0%,0%)
    12: (4.68757%,0%,0%) #0C0000 srgb(4.68757%,0%,0%)
    13: (5.0782%,0%,0%) #0D0000 srgb(5.0782%,0%,0%)
    14: (5.46883%,0%,0%) #0E0000 srgb(5.46883%,0%,0%)
    15: (5.85946%,0%,0%) #0F0000 srgb(5.85946%,0%,0%)
    16: (6.2501%,0%,0%) #100000 srgb(6.2501%,0%,0%)
    17: (6.64073%,0%,0%) #110000 srgb(6.64073%,0%,0%)
    18: (7.03136%,0%,0%) #120000 srgb(7.03136%,0%,0%)
    19: (7.42199%,0%,0%) #130000 srgb(7.42199%,0%,0%)
    20: (7.81262%,0%,0%) #140000 srgb(7.81262%,0%,0%)
    21: (8.20325%,0%,0%) #150000 srgb(8.20325%,0%,0%)
    22: (8.59388%,0%,0%) #160000 srgb(8.59388%,0%,0%)
    23: (8.98451%,0%,0%) #170000 srgb(8.98451%,0%,0%)
    24: (9.37514%,0%,0%) #180000 srgb(9.37514%,0%,0%)
    25: (9.76577%,0%,0%) #190000 srgb(9.76577%,0%,0%)
    26: (10.1564%,0%,0%) #1A0000 srgb(10.1564%,0%,0%)
    27: (10.547%,0%,0%) #1B0000 srgb(10.547%,0%,0%)
    28: (10.9377%,0%,0%) #1C0000 srgb(10.9377%,0%,0%)
    29: (11.3283%,0%,0%) #1D0000 srgb(11.3283%,0%,0%)
    30: (11.7189%,0%,0%) #1E0000 srgb(11.7189%,0%,0%)
    31: (12.1096%,0%,0%) #1F0000 srgb(12.1096%,0%,0%)
    32: (12.5002%,0%,0%) #200000 srgb(12.5002%,0%,0%)
    33: (12.8908%,0%,0%) #210000 srgb(12.8908%,0%,0%)
    34: (13.2815%,0%,0%) #220000 srgb(13.2815%,0%,0%)
    35: (13.6721%,0%,0%) #230000 srgb(13.6721%,0%,0%)
    36: (14.0627%,0%,0%) #240000 srgb(14.0627%,0%,0%)
    37: (14.4533%,0%,0%) #250000 srgb(14.4533%,0%,0%)
    38: (14.844%,0%,0%) #260000 srgb(14.844%,0%,0%)
    39: (15.2346%,0%,0%) #270000 srgb(15.2346%,0%,0%)
    40: (15.6252%,0%,0%) #280000 srgb(15.6252%,0%,0%)
    41: (16.0159%,0%,0%) #290000 srgb(16.0159%,0%,0%)
    42: (16.4065%,0%,0%) #2A0000 srgb(16.4065%,0%,0%)
    43: (16.7971%,0%,0%) #2B0000 srgb(16.7971%,0%,0%)
    44: (17.1878%,0%,0%) #2C0000 srgb(17.1878%,0%,0%)
    45: (17.5784%,0%,0%) #2D0000 srgb(17.5784%,0%,0%)
    46: (17.969%,0%,0%) #2E0000 srgb(17.969%,0%,0%)
    47: (18.3597%,0%,0%) #2F0000 srgb(18.3597%,0%,0%)
    48: (18.7503%,0%,0%) #300000 srgb(18.7503%,0%,0%)
    49: (19.1409%,0%,0%) #310000 srgb(19.1409%,0%,0%)
    50: (19.5315%,0%,0%) #320000 srgb(19.5315%,0%,0%)
    51: (19.9222%,0%,0%) #330000 srgb(19.9222%,0%,0%)
    52: (20.3128%,0%,0%) #340000 srgb(20.3128%,0%,0%)
    53: (20.7034%,0%,0%) #350000 srgb(20.7034%,0%,0%)
    54: (21.0941%,0%,0%) #360000 srgb(21.0941%,0%,0%)
    55: (21.4847%,0%,0%) #370000 srgb(21.4847%,0%,0%)
    56: (21.8753%,0%,0%) #380000 srgb(21.8753%,0%,0%)
    57: (22.266%,0%,0%) #390000 srgb(22.266%,0%,0%)
    58: (22.6566%,0%,0%) #3A0000 srgb(22.6566%,0%,0%)
    59: (23.0472%,0%,0%) #3B0000 srgb(23.0472%,0%,0%)
    60: (23.4379%,0%,0%) #3C0000 srgb(23.4379%,0%,0%)
    61: (23.8285%,0%,0%) #3D0000 srgb(23.8285%,0%,0%)
    62: (24.2191%,0%,0%) #3E0000 srgb(24.2191%,0%,0%)
    63: (24.6098%,0%,0%) #3F0000 srgb(24.6098%,0%,0%)
    64: (25.0004%,0%,0%) #400000 srgb(25.0004%,0%,0%)
    65: (25.391%,0%,0%) #410000 srgb(25.391%,0%,0%)
    66: (25.7816%,0%,0%) #420000 srgb(25.7816%,0%,0%)
    67: (26.1723%,0%,0%) #430000 srgb(26.1723%,0%,0%)
    68: (26.5629%,0%,0%) #440000 srgb(26.5629%,0%,0%)
    69: (26.9535%,0%,0%) #450000 srgb(26.9535%,0%,0%)
    70: (27.3442%,0%,0%) #460000 srgb(27.3442%,0%,0%)
    71: (27.7348%,0%,0%) #470000 srgb(27.7348%,0%,0%)
    72: (28.1254%,0%,0%) #480000 srgb(28.1254%,0%,0%)
    73: (28.5161%,0%,0%) #490000 srgb(28.5161%,0%,0%)
    74: (28.9067%,0%,0%) #4A0000 srgb(28.9067%,0%,0%)
    75: (29.2973%,0%,0%) #4B0000 srgb(29.2973%,0%,0%)
    76: (29.688%,0%,0%) #4C0000 srgb(29.688%,0%,0%)
    77: (30.0786%,0%,0%) #4D0000 srgb(30.0786%,0%,0%)
    78: (30.4692%,0%,0%) #4E0000 srgb(30.4692%,0%,0%)
    79: (30.8598%,0%,0%) #4F0000 srgb(30.8598%,0%,0%)
    80: (31.2505%,0%,0%) #500000 srgb(31.2505%,0%,0%)
    81: (31.6411%,0%,0%) #510000 srgb(31.6411%,0%,0%)
    82: (32.0317%,0%,0%) #520000 srgb(32.0317%,0%,0%)
    83: (32.4224%,0%,0%) #530000 srgb(32.4224%,0%,0%)
    84: (32.813%,0%,0%) #540000 srgb(32.813%,0%,0%)
    85: (33.2036%,0%,0%) #550000 srgb(33.2036%,0%,0%)
    86: (33.5943%,0%,0%) #560000 srgb(33.5943%,0%,0%)
    87: (33.9849%,0%,0%) #570000 srgb(33.9849%,0%,0%)
    88: (34.3755%,0%,0%) #580000 srgb(34.3755%,0%,0%)
    89: (34.7662%,0%,0%) #590000 srgb(34.7662%,0%,0%)
    90: (35.1568%,0%,0%) #5A0000 srgb(35.1568%,0%,0%)
    91: (35.5474%,0%,0%) #5B0000 srgb(35.5474%,0%,0%)
    92: (35.938%,0%,0%) #5C0000 srgb(35.938%,0%,0%)
    93: (36.3287%,0%,0%) #5D0000 srgb(36.3287%,0%,0%)
    94: (36.7193%,0%,0%) #5E0000 srgb(36.7193%,0%,0%)
    95: (37.1099%,0%,0%) #5F0000 srgb(37.1099%,0%,0%)
    96: (37.5006%,0%,0%) #600000 srgb(37.5006%,0%,0%)
    97: (37.8912%,0%,0%) #610000 srgb(37.8912%,0%,0%)
    98: (38.2818%,0%,0%) #620000 srgb(38.2818%,0%,0%)
    99: (38.6725%,0%,0%) #630000 srgb(38.6725%,0%,0%)
    100: (39.0631%,0%,0%) #640000 srgb(39.0631%,0%,0%)
    101: (39.4537%,0%,0%) #650000 srgb(39.4537%,0%,0%)
    102: (39.8444%,0%,0%) #660000 srgb(39.8444%,0%,0%)
    103: (40.235%,0%,0%) #670000 srgb(40.235%,0%,0%)
    104: (40.6256%,0%,0%) #680000 srgb(40.6256%,0%,0%)
    105: (41.0163%,0%,0%) #690000 srgb(41.0163%,0%,0%)
    106: (41.4069%,0%,0%) #6A0000 srgb(41.4069%,0%,0%)
    107: (41.7975%,0%,0%) #6B0000 srgb(41.7975%,0%,0%)
    108: (42.1881%,0%,0%) #6C0000 srgb(42.1881%,0%,0%)
    109: (42.5788%,0%,0%) #6D0000 srgb(42.5788%,0%,0%)
    110: (42.9694%,0%,0%) #6E0000 srgb(42.9694%,0%,0%)
    111: (43.36%,0%,0%) #6F0000 srgb(43.36%,0%,0%)
    112: (43.7507%,0%,0%) #700000 srgb(43.7507%,0%,0%)
    113: (44.1413%,0%,0%) #710000 srgb(44.1413%,0%,0%)
    114: (44.5319%,0%,0%) #720000 srgb(44.5319%,0%,0%)
    115: (44.9226%,0%,0%) #730000 srgb(44.9226%,0%,0%)
    116: (45.3132%,0%,0%) #740000 srgb(45.3132%,0%,0%)
    117: (45.7038%,0%,0%) #750000 srgb(45.7038%,0%,0%)
    118: (46.0945%,0%,0%) #760000 srgb(46.0945%,0%,0%)
    119: (46.4851%,0%,0%) #770000 srgb(46.4851%,0%,0%)
    120: (46.8757%,0%,0%) #780000 srgb(46.8757%,0%,0%)
    121: (47.2663%,0%,0%) #790000 srgb(47.2663%,0%,0%)
    122: (47.657%,0%,0%) #7A0000 srgb(47.657%,0%,0%)
    123: (48.0476%,0%,0%) #7B0000 srgb(48.0476%,0%,0%)
    124: (48.4382%,0%,0%) #7C0000 srgb(48.4382%,0%,0%)
    125: (48.8289%,0%,0%) #7D0000 srgb(48.8289%,0%,0%)
    126: (49.2195%,0%,0%) #7E0000 srgb(49.2195%,0%,0%)
    127: (49.6101%,0%,0%) #7F0000 srgb(49.6101%,0%,0%)
    128: (50.0008%,0%,0%) #800000 srgb(50.0008%,0%,0%)
    129: (50.3914%,0%,0%) #800000 srgb(50.3914%,0%,0%)
    130: (50.782%,0%,0%) #810000 srgb(50.782%,0%,0%)
    131: (51.1727%,0%,0%) #820000 srgb(51.1727%,0%,0%)
    132: (51.5633%,0%,0%) #830000 srgb(51.5633%,0%,0%)
    133: (51.9539%,0%,0%) #840000 srgb(51.9539%,0%,0%)
    134: (52.3445%,0%,0%) #850000 srgb(52.3445%,0%,0%)
    135: (52.7352%,0%,0%) #860000 srgb(52.7352%,0%,0%)
    136: (53.1258%,0%,0%) #870000 srgb(53.1258%,0%,0%)
    137: (53.5164%,0%,0%) #880000 srgb(53.5164%,0%,0%)
    138: (53.9071%,0%,0%) #890000 srgb(53.9071%,0%,0%)
    139: (54.2977%,0%,0%) #8A0000 srgb(54.2977%,0%,0%)
    140: (54.6883%,0%,0%) #8B0000 srgb(54.6883%,0%,0%)
    141: (55.079%,0%,0%) #8C0000 srgb(55.079%,0%,0%)
    142: (55.4696%,0%,0%) #8D0000 srgb(55.4696%,0%,0%)
    143: (55.8602%,0%,0%) #8E0000 srgb(55.8602%,0%,0%)
    144: (56.2509%,0%,0%) #8F0000 srgb(56.2509%,0%,0%)
    145: (56.6415%,0%,0%) #900000 srgb(56.6415%,0%,0%)
    146: (57.0321%,0%,0%) #910000 srgb(57.0321%,0%,0%)
    147: (57.4228%,0%,0%) #920000 srgb(57.4228%,0%,0%)
    148: (57.8134%,0%,0%) #930000 srgb(57.8134%,0%,0%)
    149: (58.204%,0%,0%) #940000 srgb(58.204%,0%,0%)
    150: (58.5946%,0%,0%) #950000 srgb(58.5946%,0%,0%)
    151: (58.9853%,0%,0%) #960000 srgb(58.9853%,0%,0%)
    152: (59.3759%,0%,0%) #970000 srgb(59.3759%,0%,0%)
    153: (59.7665%,0%,0%) #980000 srgb(59.7665%,0%,0%)
    154: (60.1572%,0%,0%) #990000 srgb(60.1572%,0%,0%)
    155: (60.5478%,0%,0%) #9A0000 srgb(60.5478%,0%,0%)
    156: (60.9384%,0%,0%) #9B0000 srgb(60.9384%,0%,0%)
    157: (61.3291%,0%,0%) #9C0000 srgb(61.3291%,0%,0%)
    158: (61.7197%,0%,0%) #9D0000 srgb(61.7197%,0%,0%)
    159: (62.1103%,0%,0%) #9E0000 srgb(62.1103%,0%,0%)
    160: (62.501%,0%,0%) #9F0000 srgb(62.501%,0%,0%)
    161: (62.8916%,0%,0%) #A00000 srgb(62.8916%,0%,0%)
    162: (63.2822%,0%,0%) #A10000 srgb(63.2822%,0%,0%)
    163: (63.6728%,0%,0%) #A20000 srgb(63.6728%,0%,0%)
    164: (64.0635%,0%,0%) #A30000 srgb(64.0635%,0%,0%)
    165: (64.4541%,0%,0%) #A40000 srgb(64.4541%,0%,0%)
    166: (64.8447%,0%,0%) #A50000 srgb(64.8447%,0%,0%)
    167: (65.2354%,0%,0%) #A60000 srgb(65.2354%,0%,0%)
    168: (65.626%,0%,0%) #A70000 srgb(65.626%,0%,0%)
    169: (66.0166%,0%,0%) #A80000 srgb(66.0166%,0%,0%)
    170: (66.4073%,0%,0%) #A90000 srgb(66.4073%,0%,0%)
    171: (66.7979%,0%,0%) #AA0000 srgb(66.7979%,0%,0%)
    172: (67.1885%,0%,0%) #AB0000 srgb(67.1885%,0%,0%)
    173: (67.5792%,0%,0%) #AC0000 srgb(67.5792%,0%,0%)
    174: (67.9698%,0%,0%) #AD0000 srgb(67.9698%,0%,0%)
    175: (68.3604%,0%,0%) #AE0000 srgb(68.3604%,0%,0%)
    176: (68.751%,0%,0%) #AF0000 srgb(68.751%,0%,0%)
    177: (69.1417%,0%,0%) #B00000 srgb(69.1417%,0%,0%)
    178: (69.5323%,0%,0%) #B10000 srgb(69.5323%,0%,0%)
    179: (69.9229%,0%,0%) #B20000 srgb(69.9229%,0%,0%)
    180: (70.3136%,0%,0%) #B30000 srgb(70.3136%,0%,0%)
    181: (70.7042%,0%,0%) #B40000 srgb(70.7042%,0%,0%)
    182: (71.0948%,0%,0%) #B50000 srgb(71.0948%,0%,0%)
    183: (71.4855%,0%,0%) #B60000 srgb(71.4855%,0%,0%)
    184: (71.8761%,0%,0%) #B70000 srgb(71.8761%,0%,0%)
    185: (72.2667%,0%,0%) #B80000 srgb(72.2667%,0%,0%)
    186: (72.6574%,0%,0%) #B90000 srgb(72.6574%,0%,0%)
    187: (73.048%,0%,0%) #BA0000 srgb(73.048%,0%,0%)
    188: (73.4386%,0%,0%) #BB0000 srgb(73.4386%,0%,0%)
    189: (73.8293%,0%,0%) #BC0000 srgb(73.8293%,0%,0%)
    190: (74.2199%,0%,0%) #BD0000 srgb(74.2199%,0%,0%)
    191: (74.6105%,0%,0%) #BE0000 srgb(74.6105%,0%,0%)
    192: (75.0011%,0%,0%) #BF0000 srgb(75.0011%,0%,0%)
    193: (75.3918%,0%,0%) #C00000 srgb(75.3918%,0%,0%)
    194: (75.7824%,0%,0%) #C10000 srgb(75.7824%,0%,0%)
    195: (76.173%,0%,0%) #C20000 srgb(76.173%,0%,0%)
    196: (76.5637%,0%,0%) #C30000 srgb(76.5637%,0%,0%)
    197: (76.9543%,0%,0%) #C40000 srgb(76.9543%,0%,0%)
    198: (77.3449%,0%,0%) #C50000 srgb(77.3449%,0%,0%)
    199: (77.7356%,0%,0%) #C60000 srgb(77.7356%,0%,0%)
    200: (78.1262%,0%,0%) #C70000 srgb(78.1262%,0%,0%)
    201: (78.5168%,0%,0%) #C80000 srgb(78.5168%,0%,0%)
    202: (78.9075%,0%,0%) #C90000 srgb(78.9075%,0%,0%)
    203: (79.2981%,0%,0%) #CA0000 srgb(79.2981%,0%,0%)
    204: (79.6887%,0%,0%) #CB0000 srgb(79.6887%,0%,0%)
    205: (80.0793%,0%,0%) #CC0000 srgb(80.0793%,0%,0%)
    206: (80.47%,0%,0%) #CD0000 srgb(80.47%,0%,0%)
    207: (80.8606%,0%,0%) #CE0000 srgb(80.8606%,0%,0%)
    208: (81.2512%,0%,0%) #CF0000 srgb(81.2512%,0%,0%)
    209: (81.6419%,0%,0%) #D00000 srgb(81.6419%,0%,0%)
    210: (82.0325%,0%,0%) #D10000 srgb(82.0325%,0%,0%)
    211: (82.4231%,0%,0%) #D20000 srgb(82.4231%,0%,0%)
    212: (82.8138%,0%,0%) #D30000 srgb(82.8138%,0%,0%)
    213: (83.2044%,0%,0%) #D40000 srgb(83.2044%,0%,0%)
    214: (83.595%,0%,0%) #D50000 srgb(83.595%,0%,0%)
    215: (83.9857%,0%,0%) #D60000 srgb(83.9857%,0%,0%)
    216: (84.3763%,0%,0%) #D70000 srgb(84.3763%,0%,0%)
    217: (84.7669%,0%,0%) #D80000 srgb(84.7669%,0%,0%)
    218: (85.1575%,0%,0%) #D90000 srgb(85.1575%,0%,0%)
    219: (85.5482%,0%,0%) #DA0000 srgb(85.5482%,0%,0%)
    220: (85.9388%,0%,0%) #DB0000 srgb(85.9388%,0%,0%)
    221: (86.3294%,0%,0%) #DC0000 srgb(86.3294%,0%,0%)
    222: (86.7201%,0%,0%) #DD0000 srgb(86.7201%,0%,0%)
    223: (87.1107%,0%,0%) #DE0000 srgb(87.1107%,0%,0%)
    224: (87.5013%,0%,0%) #DF0000 srgb(87.5013%,0%,0%)
    225: (87.892%,0%,0%) #E00000 srgb(87.892%,0%,0%)
    226: (88.2826%,0%,0%) #E10000 srgb(88.2826%,0%,0%)
    227: (88.6732%,0%,0%) #E20000 srgb(88.6732%,0%,0%)
    228: (89.0639%,0%,0%) #E30000 srgb(89.0639%,0%,0%)
    229: (89.4545%,0%,0%) #E40000 srgb(89.4545%,0%,0%)
    230: (89.8451%,0%,0%) #E50000 srgb(89.8451%,0%,0%)
    231: (90.2358%,0%,0%) #E60000 srgb(90.2358%,0%,0%)
    232: (90.6264%,0%,0%) #E70000 srgb(90.6264%,0%,0%)
    233: (91.017%,0%,0%) #E80000 srgb(91.017%,0%,0%)
    234: (91.4076%,0%,0%) #E90000 srgb(91.4076%,0%,0%)
    235: (91.7983%,0%,0%) #EA0000 srgb(91.7983%,0%,0%)
    236: (92.1889%,0%,0%) #EB0000 srgb(92.1889%,0%,0%)
    237: (92.5795%,0%,0%) #EC0000 srgb(92.5795%,0%,0%)
    238: (92.9702%,0%,0%) #ED0000 srgb(92.9702%,0%,0%)
    239: (93.3608%,0%,0%) #EE0000 srgb(93.3608%,0%,0%)
    240: (93.7514%,0%,0%) #EF0000 srgb(93.7514%,0%,0%)
    241: (94.1421%,0%,0%) #F00000 srgb(94.1421%,0%,0%)
    242: (94.5327%,0%,0%) #F10000 srgb(94.5327%,0%,0%)
    243: (94.9233%,0%,0%) #F20000 srgb(94.9233%,0%,0%)
    244: (95.314%,0%,0%) #F30000 srgb(95.314%,0%,0%)
    245: (95.7046%,0%,0%) #F40000 srgb(95.7046%,0%,0%)
    246: (96.0952%,0%,0%) #F50000 srgb(96.0952%,0%,0%)
    247: (96.4858%,0%,0%) #F60000 srgb(96.4858%,0%,0%)
    248: (96.8765%,0%,0%) #F70000 srgb(96.8765%,0%,0%)
    249: (97.2671%,0%,0%) #F80000 srgb(97.2671%,0%,0%)
    250: (97.6577%,0%,0%) #F90000 srgb(97.6577%,0%,0%)
    251: (98.0484%,0%,0%) #FA0000 srgb(98.0484%,0%,0%)
    252: (98.439%,0%,0%) #FB0000 srgb(98.439%,0%,0%)
    253: (98.8296%,0%,0%) #FC0000 srgb(98.8296%,0%,0%)
    254: (99.2203%,0%,0%) #FD0000 srgb(99.2203%,0%,0%)
    255: (99.6109%,0%,0%) #FE0000 srgb(99.6109%,0%,0%)
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 678x647+0+0
  Dispose: Undefined
  Iterations: 0
  Scene: 0 of 252
  Compression: None
  Orientation: TopLeft
  Properties:
    comment: ImageJ=1.53c
images=252
channels=3
slices=84
hyperstack=true
mode=composite
loop=false

    date:create: 2022-02-17T18:30:42+00:00
    date:modify: 2022-02-17T18:30:41+00:00
    signature: f74a7505cdc2b58e57bd1d0141cc4a80f77124642ce9a49c1103d619b95dbe3a
    tiff:alpha: unspecified
    tiff:endian: msb
    tiff:photometric: palette
    tiff:rows-per-strip: 12
  Artifacts:
    filename: channels_24_1_R1.5.tif
    verbose: true
  Tainted: False
  Filesize: 105.46MiB
  Number pixels: 438666
  Pixels per second: 897448B
  User time: 0.490u
  Elapsed time: 0:01.488
  Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org

@chrstphrbrns
Copy link
Contributor

I've opened this file with Ubuntu's Document Viewer, Mac's Preview, and Mathematica, and they all appear to interpret the data the same way as TiffImages--as a sequence of 252 red-only images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants