allen-cell-animated / agave

Other
35 stars 6 forks source link

Feature/tiff image sequence #211

Closed toloudis closed 2 months ago

toloudis commented 3 months ago

Address #208

Add a new loader that can handle image sequences of tiffs. Add a checkbox to the loading dialog to indicate user wishes to load a time sequence. This requires that we use Qt's file dialog rather than native file dialog, in order to be able to add new widgets.

How it works: User may check the new Image Sequence checkbox in the file loading dialog.

If checked, and the image is a tiff file, then the whole contents of the directory (all *.tif files) will be assumed to be a time sequence of volumes when sorted alphanumerically by name. No other checks will be done to validate files until they are loaded by moving the time slider.

If checked, and the image is not a tiff, then single-file volume loading will be used. If unchecked, then single-file volume loading will be used.