SWC-Advanced-Microscopy / StitchIt

Stitching of large tiled datasets
GNU Lesser General Public License v3.0
17 stars 7 forks source link

tileIndex format is very restrictive #24

Open raacampbell opened 7 years ago

raacampbell commented 7 years ago

The tileIndex file links the TIFF tile names to a position in the sample. However, the format of this file only makes sense for data generated by orchestrator. Other acquisition systems won't produce data this way. The format only handles three channels.

We likely need a new tile index system that is a .mat file and is more flexible. This was already done for the tileStats files, but that was easier because we weren't using these files for anything until recently.

Maybe we could retain the old tileIndex system somehow as a legacy format and keep functions to hand that will handle this. Mark these as legacy and slowly phase them out.

raacampbell commented 4 years ago

We no longer need this and should remove all traces of it. Remove the requirement for the file to present from tileLoad (6499f212e0288c2de22e9773d9b607cfcae7491a) and from stitchAllChannel (2bad3b48290b58e7bb9669815e3dcac9266383cd). It's still there in in syncAndCrunch, though, as generateTileIndex is used there to report how many tiles are present in the section acquisition directory.

raacampbell commented 4 years ago

See #173