Skip to content

Commit e92a8dd

Browse files
authored
Merge pull request #419 from Jay2owe/add-cpc-plugin-page
Add Centre-Particle Coincidence plugin page
2 parents 5ed319c + e3174e5 commit e92a8dd

1 file changed

Lines changed: 90 additions & 0 deletions

File tree

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: Centre-Particle Coincidence
3+
description: Object-based colocalization from label images or ROI sets using centroid-in-object coincidence.
4+
categories: [Analysis, Colocalization, Segmentation]
5+
source-url: https://github.com/Jay2owe/CPC
6+
update-site: Center-Particle-Coincidence
7+
release-version: 1.3.0
8+
release-date: 2026-05-05
9+
dev-status: Active
10+
support-status: Active
11+
team-maintainers: '@Jay2owe'
12+
license-url: /licensing/public-domain
13+
license-label: CC0-1.0
14+
---
15+
16+
Centre-Particle Coincidence (CPC) is an ImageJ/Fiji plugin for object-based colocalization analysis. CPC classifies segmented objects as coincident when their centroid falls inside a segmented object in another channel, and it also reports the reciprocal "contains" relationship: how many partner-object centroids fall inside each object. This keeps segmentation separate from colocalization, so objects can come from StarDist, Cellpose, thresholding, manual ROI sets, or any other workflow that produces label images or ROI `.zip` files.
17+
18+
## Installation
19+
20+
CPC is distributed through the ImageJ update site:
21+
22+
{% include link-banner url="https://sites.imagej.net/Center-Particle-Coincidence/" %}
23+
24+
To install it:
25+
26+
1. Start Fiji.
27+
2. Choose {% include bc path="Help|Update..." %}.
28+
3. Click **Manage update sites**.
29+
4. Enable the **Centre-Particle Coincidence (CPC)** update site if it is listed, or click **Add Unlisted Site** and use:
30+
- Name: `Center-Particle-Coincidence`
31+
- URL: `https://sites.imagej.net/Center-Particle-Coincidence/`
32+
5. Apply changes and restart Fiji.
33+
34+
After restart, run CPC from:
35+
36+
```text
37+
Plugins > CPC
38+
```
39+
40+
## What CPC Does
41+
42+
CPC compares segmented objects across 2 to 5 channels. For each object in a source label image, it reads the target label image at the source object's centroid position. If that position falls inside a target object, CPC reports the source object as coincident with that target object.
43+
44+
CPC also runs the reciprocal centroid test so users can see containment from the other direction:
45+
46+
- **Colocalized with B**: this A object's centroid lands inside a B object.
47+
- **Contains B**: one or more B object centroids land inside this A object.
48+
49+
These results are not always symmetric. A small object can be colocalized with a large object without containing it, while a large object can contain several partner centroids even if its own centroid does not fall inside any one partner object.
50+
51+
## Inputs
52+
53+
CPC supports two input modes:
54+
55+
- **Label images**: 2 to 5 open or file-backed label/object maps. Each object is represented by a non-zero integer label.
56+
- **ROI sets**: a reference image plus 2 to 5 ImageJ ROI `.zip` files.
57+
58+
If raw intensity images are available, CPC can use intensity-weighted centroids instead of geometric centroids. Raw images must match the dimensions of their corresponding label images.
59+
60+
## Outputs
61+
62+
CPC can produce:
63+
64+
- per-object pairwise result tables
65+
- pairwise summary tables with counts and percentages
66+
- bidirectional "colocalized" results and reciprocal "contains" counts
67+
- multi-target combination summaries showing which target channels each source object coincides with
68+
- optional centroid label maps for visual checking
69+
- auto-saved output folders with CSV tables and map images
70+
71+
When auto-save is enabled, CPC writes results into a `CPC/` folder containing object tables, multi-target summaries, map images, and small README files describing the outputs.
72+
73+
## Batch Processing
74+
75+
The **Batch...** button opens a folder workflow for processing many label images. Batch mode supports recursive folder scanning, regular-expression grouping of filenames, group preview before running, and aggregated output tables across groups and folders.
76+
77+
## Method Notes
78+
79+
CPC is intentionally object-based rather than voxel-overlap-based. It answers two related questions: "Does this object's centroid fall inside an object in another channel?" and "Which partner centroids fall inside this object?" This makes it useful for workflows where channels are segmented independently, where objects differ in size, or where label images are produced by different segmentation tools.
80+
81+
Because CPC uses object centroids, users should inspect segmentation quality and choose geometric or intensity-weighted centroids according to the biology and image quality of the dataset.
82+
83+
## Citation
84+
85+
If you use CPC in published work, cite the software repository:
86+
87+
```text
88+
Malcolm, J. (2026). CPC - Centre-Particle Coincidence (v1.3.0) [Software].
89+
https://github.com/Jay2owe/CPC
90+
```

0 commit comments

Comments
 (0)