abria / TeraStitcher

A tool for fast automatic 3D-stitching of teravoxel-sized microscopy images
http://abria.github.io/TeraStitcher/
Other
78 stars 32 forks source link

Error when using xml descriptor (TiledXY|3Dseries) #84

Open chrischoi97 opened 3 years ago

chrischoi97 commented 3 years ago

Hello,

I am having trouble running terastitcher for our current xml descriptor, but we are getting the following error:

image

After reading through the documentation, I noticed that our xml descriptor file does not have several terms that the example you provided had, mainly the ones related to blocks (i.e. n_blocks, block sizes, etc.). Is this where the error stems from?

Also, do the files still need to be laid out in a two-level hierarchy of folders if we are trying to stitch our files using an xml descriptor?

Thank you in advance.

iannellog commented 3 years ago

If you use an xml import file, the two-level hierarchy of folders is not needed. Actually, the folder where each tile is stored should be explicitly speficified in the xml (by attribute "DIR_NAME", with the value of attribute "value" of tag "stacks_dir" as a prefix).

As to your error I do not think the cause is the attributes missing in the xml, but rather that you have empty tiles. Is this the case? Have you tried the command line option --sparse_data (or to check the corresponding check box in the GUI)? Is tile in position 0,0 empty?

I vaguely remember that there could be a problem if tile in position 0,0 is empty, but I cannot check it now.