Open sebi06 opened 5 years ago
Hi guys,
I found at least one issue (silly me). I changed
output_file = r'stackome.tiff'
to
output_file = r'stack.ome.tiff'
and now the error is gone. But now the resulting OME-TIFF has the wrong dimensions. Somehow C and Z dimension get mixed-up, but I do not know why.
It should have:
# Dimension TZCXY
SizeT = 30
SizeZ = 23
SizeC = 2
SizeX = 217
SizeY = 94
but when I open the file in Fiji I get:
BitsPerPixel 16
DimensionOrder XYCZT
IsInterleaved false
IsRGB false
LittleEndian true
PixelType uint16
Series 0 Name stack.ome.tiff
SizeC 46
SizeT 30
SizeX 217
SizeY 94
SizeZ 1
BitsPerSample 16
Compression Uncompressed
ImageLength 94
ImageWidth 217
Location C:\Users\M1SRH\OneDrive - Carl Zeiss AG\Python_Projects\BioFormatsRead\stack.ome.tiff
MetaDataPhotometricInterpretation Monochrome
MetaMorph no
NumberOfChannels 46
PhotometricInterpretation BlackIsZero
PlanarConfiguration Chunky
ResolutionUnit Centimeter
SampleFormat unsigned integer
SamplesPerPixel 46
Software OME Bio-Formats 5.9.2
XResolution 0.0
YResolution 0.0
hyperstack true
Hi guys,
i tried to write an OME-TIFF using python-bioformats but I got stuck. Any help is really appreciated
This is the script:
and the rror message is this: