We're Hiring!

Problem getting number of zslices and timepoints

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Problem getting number of zslices and timepoints

Postby icaoberg » Tue Apr 30, 2013 6:48 pm

I have a multi-tiff that contains a 466x637x30 image

that is i have a 3D image with 30 zslices.

when i use bioformats+matlab to read the file i find that

Code: Select all
K>> width = r.getSizeX()

width =

   637

K>> height = r.getSizeY()

height =

   466

K>> zslices = r.getSizeZ()

zslices =

     1

K>> timepoints = r.getSizeT()

timepoints =

    30


am i doing something wrong? loading the image incorrectly? i am using the file
Code: Select all
bfopen.m
as my guide.
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: Problem getting number of zslices and timepoints

Postby mlinkert » Tue Apr 30, 2013 11:32 pm

If Bio-Formats can't find any information in the TIFF file to indicate that the planes are Z sections, then it defaults to assuming that all planes in the TIFF are timepoints.

The best thing to do would be to upload one of the files to:

http://qa.openmicroscopy.org.uk/qa/upload/

so that we can take a look and see what if anything can be done to fix it.
User avatar
mlinkert
Team Member
 
Posts: 353
Joined: Fri May 29, 2009 2:12 pm
Location: Southwest Wisconsin


Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 0 guests