PIRATE is an ImageJ/Fiji plugin for quantitative fluorescence intensity standardization in biological fluorescence imaging. It provides an easy-to-use graphical interface for intensity normalization of single images and image stacks, supporting Max, Min-Max, Percentile, and PIRATE normalization workflows.
PIRATE is designed to improve the consistency and comparability of fluorescence intensity distributions across images, especially in workflows where intensity variation, background fluctuation, or photon-limited acquisition conditions affect downstream visualization and quantitative analysis.
| Raw image | PIRATE output |
|---|---|
![]() |
![]() |
- ImageJ/Fiji plugin with a Swing-based graphical user interface.
- PIRATE adaptive patch-based fluorescence intensity normalization.
- Baseline normalization modes, including:
- Max normalization
- Min-Max normalization
- Percentile normalization
- PIRATE
- Support for 8-bit, 16-bit, and 32-bit grayscale images.
- Support for both single images and image stacks.
- Histogram visualization for single-image normalization.
- Copy
pirate_1.0.0.jarinto theplugins/folder of Fiji or ImageJ. - Restart Fiji/ImageJ.
- Open an image.
- Run the plugin from:
Plugins > PIRATE > PIRATE
- Download
pirate_1.0.0.jarfrom the GitHub Releases page. - Copy the JAR file into the
plugins/folder of Fiji or ImageJ. - Restart Fiji/ImageJ.
- Open an image and run:
Plugins > PIRATE > PIRATE
Requirements:
- Java 8 or later
- Maven 3.x
- Fiji or ImageJ
Build the project with:
mvn clean packageAfter building, the plugin JAR will be generated under:
target/pirate_1.0.0.jar
Copy this JAR file into the Fiji/ImageJ plugins/ folder, then restart Fiji/ImageJ.
- Open an 8-bit, 16-bit, or 32-bit grayscale image or image stack in Fiji/ImageJ.
- Run:
Plugins > PIRATE > PIRATE
- Select a normalization mode:
PIRATE: adaptive patch-based fluorescence intensity normalization.Percentile normalization: normalization based on user-defined lower and upper percentiles.Min-Max normalization: normalization based on the occupied intensity range.Max normalization: normalization by the maximum occupied intensity.
- Choose whether to display the histogram.
- Click
START PROCESS.
For image stacks, PIRATE estimates normalization parameters from the first slice and applies the resulting normalization model to all slices in the stack.
The PIRATE mode performs adaptive patch-based fluorescence intensity normalization. It is designed for biological fluorescence images where local intensity distributions may vary because of uneven illumination, background fluctuation, photon-limited acquisition, or sample-dependent signal heterogeneity.
Percentile normalization rescales image intensity using user-defined lower and upper percentile thresholds. This mode is useful when extreme intensity values should be excluded from the normalization range.
Min-Max normalization rescales the occupied intensity range of the image to the output dynamic range.
Max normalization rescales image intensity according to the maximum occupied intensity value.
.
|-- pirate_1.0.0.jar
|-- pom.xml
|-- src/main/java/org/srwiki/pirate/PIRATE_Normalization.java
|-- src/main/resources/plugins.config
|-- src/main/resources/pirate_logo_3x4_transparent.png
|-- src/main/resources/1.png
`-- examples/
|-- GUI.png
|-- RAW.png
`-- PIRATE_output.png


