While playing around with the Loci ImageReader to read in a large lif file containing several "Series" of Z stacks. My goal is to read in each stack, perform a MIP and save them.
However, the order of the stacks as it is read by the setSeries(int i) function of ImageReader is incorrect, so I cannot use my iterator(i) to name the newly created MIP.
I have tried to find out how the BioFormats Importer Preview window manages to get the Series names right and I have browsed the metadata but with no luck. Could anyone direct me in the rigut direction?
The goal is to find something like "Series 1", "Series 2" etc... again because the series are not in order when using ImageReader.setSeries(i), this I would like to access the Serie's name, or at least find out how come the Previewer manages to format the file contents so well.
Thank you for your time!