A plugin designed to scale 2D and 3D image stacks plane-by-plane using high-fidelity Lanczos interpolation via the ImgLib2 framework.
Unlike standard resizing tools that break image metadata, this plugin automatically recalculates spatial calibration and embeds a digital audit trail directly into the file's properties.
- Download the
LanczosResizer.javafile from this repository. - Open Fiji / ImageJ.
- Drag and drop the
LanczosResizer.javafile directly onto the Fiji search bar, or save it into your Fiji directory under the/plugins/folder and restart Fiji. .
- Open your microscopy image stack in Fiji.
- Run the plugin by navigating to
Plugins > Lanczos Resizer. - A dialogue window will appear:
- Scale Factor: Input your desired scale (e.g.,
2.0to double the size,0.5to halve it). - Output Bit Depth: Choose 16-bit (recommended) or 8-bit (ideal for publication/presentations).
- Scale Factor: Input your desired scale (e.g.,
- Click OK.
- Go to
Analyze > Tools > Scale Bar.... - The scale bar text size will scale naturally with your new resolution.
- Press
ion your keyboard to view the automated log confirming the math.