Sovereign 8s.is mirror of standardgalactic/SPIFFI
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-01 10:58:38 +02:00
imgs Add files via upload 2026-07-26 11:29:59 +02:00
SPIFFI_code Add files via upload 2026-07-26 10:55:24 +02:00
LICENSE Add GNU General Public License v3 2026-04-29 10:41:05 +02:00
README.md Fix formatting of author names in bibliography 2026-09-01 10:58:38 +02:00

SPIFFI

Spatial Polarization-Induced Fluorescence Fluctuation Imaging

Single-shot super-resolution and multidimensional fluorescence microscopy

License: GPL v3 MATLAB Paper


SPIFFI is a MATLAB implementation of Spatial Polarization-Induced Fluorescence Fluctuation Imaging, a computational super-resolution technique that exploits spatial fluorescence fluctuations induced by a polarization detection to achieve super-resolution from a single snapshot. SPIFFI also enables simultaneous extraction of fluorophore orientation (in-plane angle and degree of linear polarization).

This repository accompanies the manuscript:

"SPIFFI enables single-shot super-resolution and multidimensional imaging"
Wei Guo, Lely Feletti, Aleksandra Radenovic.
Laboratory of Nanoscale Biology (LBEN), École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland. Nature Methods (2026). DOI: 10.1038/s41592-026-03196-6


Overview

SPIFFI overview diagram

Conventional fluorescence fluctuation methods require many frames to accumulate temporal intensity fluctuations. SPIFFI instead uses a linear polarization filtering strategy in the emission optical path — which simultaneously captures four polarization channels (0°, 45°, 90°, 135°) in a single exposure, and inherently yields a narrower effective PSF in each channel. These polarization-induced spatial fluctuations serve as the input to autocorrelation analysis, delivering super-resolution from a single snapshot.

Key capabilities:

  • Single-shot super-resolution — one raw polarization image → 1.7–2× resolution improvement over widefield
  • Two-stage super-resolution — combine spatial (SPIFFI) and temporal (SOFI) fluctuations for higher resolution gains
  • Orientation imaging — simultaneous retrieval of fluorophore dipole angle and degree of linear polarization (DoLP)
  • Drift correction — built-in sub-pixel drift estimation and correction for time-lapse datasets

Resolving Molecules Within the Diffraction Limit by Polarization

In these examples, two molecules are separated by 150 nm (within the diffraction limit) and carry in-plane azimuthal angles of 90° and 0°, respectively.

Fixed dipoles — polarization detection resolves two molecules separated within the diffraction limit

Fixed dipoles orientation map Fixed dipoles polarization detection

Strongly wobbling dipoles — polarization detection remains effective even under severe (±60°) wobbling

Wobbling dipoles orientation map Wobbling dipoles polarization detection

Three Reconstruction Modes

Mode Script Input Output
Single-shot SPIFFI_main_singleshot.m 1 frame × 4 polarization channels Super-resolved image
Two-stage SPIFFI_main_twostage.m N frames × 4 channels SPIFFI per frame → SOFI → ultra-SR image
Orientation SPIFFI_main_orientation.m 1 frame × 4 channels dipole angle map + DoLP map

System Requirements

  • MATLAB R2020b or later
  • Image Processing Toolbox (required)
  • Signal Processing Toolbox (required)
  • Parallel Computing Toolbox (optional — recommended for two-stage mode parfor loop)
  • Operating system: Windows 10/11 (tested)

Quick Start

1. Clone or download

% In MATLAB, navigate to the SPIFFI folder, then:
addpath(genpath('./SPIFFIutils'))

2. Run a demo

Single-shot super-resolution (microtubules):

run SPIFFI_main_singleshot.m

Two-stage super-resolution (80 nm DNA nanorulers):

run SPIFFI_main_twostage.m

Orientation imaging (GUVs):

run SPIFFI_main_orientation.m

Each script loads the bundled demo data from SPIFFIdata/ and displays a comparison figure.


Demo Results

Single-shot: microtubules

Single-shot SPIFFI reconstruction of microtubules

Two-stage: 80 nm DNA nanorulers (SMLM vs SPIFFI + SOFI)

SMLM reconstruction of 80 nm DNA nanorulers SPIFFI+SOFI reconstruction of 80 nm DNA nanorulers

Orientation: GUVs — dipole angle and DoLP

Fluorophore dipole angle map of GUVs Degree of linear polarization map of GUVs

Citation

If SPIFFI contributed to your work, please cite:

@article{guo2026spiffi,
  title   = {SPIFFI enables single-shot super-resolution and multidimensional imaging},
  author  = {Wei Guo, Lely Feletti, Aleksandra Radenovic},
  journal = {Nature Methods},
  year    = {2026},
  doi     = {10.1038/s41592-026-03196-6}
}

License

SPIFFI is released under the GNU General Public License v3.0. See LICENSE.txt for details.


Contact

For questions, bug reports, or suggestions, please open a GitHub issue or contact:

Wei Guo — EPFL
wei.guo@epfl.ch