2. Creating a Project & Loading Image Stacks¶
All work in Swell begins by importing an image sequence.
- Choose File → New Project in the Host Window.
- In the folder browser, select the directory containing your image sequence.
Image Folder Requirements¶
To ensure the stack loads successfully, verify your images meet these criteria:
- Supported Formats:
.png,.jpg,.jpeg,.bmp,.tif,.tiff. - Multi-Page TIFF: You can import a single multi-page
.tifffile or a directory containing a series of single-page TIFFs. - Consistent Dimensions: Every decoded frame must have the same width and height after EXIF/TIFF orientation is applied. Mixed-size stacks are rejected as a unit rather than partially imported.
- Orientation & TIFF Layout: Swell honors EXIF/TIFF orientation and TIFF axis metadata, including planar or interleaved RGB and embedded multi-frame arrays.
- Natural Sorting: File names are sorted using natural alphanumeric ordering. For example,
frame_9.pngcorrectly precedesframe_10.png(instead of sorting alphabetically whereframe_10.pngwould precedeframe_2.png). - RGB Channel Conversion: If multi-channel RGB images are detected, the app converts them to single-channel grayscale (Luma averaged or first-channel selection) to run the analysis.
- Numeric Safety: Non-finite floating-point pixels (
NaNor infinity) are excluded from normalization statistics and replaced safely during preprocessing.