Download the installer
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
or
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
Download and execute the Windows installer: https://github.com/conda-forge/miniforge/releases
Issues: https://github.com/conda-forge/miniforge?tab=readme-ov-file#windows
wget https://raw.githubusercontent.com/hongquanli/octopi-research/master/software/setup_22.04.sh
chmod +x setup_22.04.sh
./setup_22.04.sh
pip install dask_image
pip install ome_zarr
pip install aicsimageio
pip install basicpy
python3 stitcher_gui.py
or
python3 stitcher_cli.py -i /path/to/images
or with registration and flatfield correction
python stitcher_cli.py -i /path/to/images -r -ff --registration-channel "488"
- Input Maximum Overlap for Adjacent Images
- expects value in pixels
- horizontal overlap (images side by side)
- vertical overlap (images above and below)
- Select Channel and Z-Level to Use for Registartion
- use baSiCPy to calculate flatfield for each channel
- applies flatfield to individual images when stitching
- either OME-ZARR or OME-TIFF
- do not include extension
- opens output in napari viewer
- ... can define channel/layer colors
- ... can define channel/layer contrast limits
- Must contain the file configurations.xml which contains the selected imaging modes
- Must contain the file acquisition parameters.json which contains metadata related to the data acquisition process.
- Must include a subdirectory named 0/.
- Must contain image files
- The filenames must follow a specific pattern_: "{}{i}{j}{k}{Channel}.tiff" or "{}{i}{j}{k}{Channel}.bmp", where:
- {_} is a placeholder that may represent a specific group identifier or batch number.
- {i}, {j}, {k} are indices for the row, col, and z-plane respectively.
- {Channel} specifies the fluorescent or brightfield imaging channel name
- The filenames must follow a specific pattern_: "{}{i}{j}{k}{Channel}.tiff" or "{}{i}{j}{k}{Channel}.bmp", where:
- Must contain the file coordinates.csv, which maps the i, j, k indices to physical x, y, z coordinates.
- view pixel coordinates in napari of features present in both adjacent tiles
- view which channel has most consitent illumination for registration
- When opening output zarr file in napari (within SticherGUI)
- System cannot often open multiple images at once due to memory pressure
- Best practice to close napari viewer window before stitching again for large images
- When opening output zarr file in napari (outside SticherGUI)
- Napari fails to adjust the contrast limits. Opens with range (0,1) instead of full range of image dtype
- Napari opens image with unamed grayscale colormap
- Output image is either OME-ZARR or OME-TIFF Todo:
- Compression options
- Display thumbnail
- Integrate into Octopi Software