Nonnegative image mass center
Locate an intensity-weighted center without confusing row and column axes.
Your entries stay in this page’s memory and are not submitted to us. Downloads are generated locally. Reloading or leaving the page clears your entries. Do not enter patient information.
Follow the labeled row format. Use synthetic values only. All calculations stay in your browser; no uploads. Finite magnitudes up to 1e9 and at least 1e-12, or zero.
The starting values are hypothetical. Results update as you edit. Use aggregate or synthetic inputs only.
Calculation results
- Total mass
- 4
- Row coordinate
- 0.75
- Column coordinate
- 1
- Index convention
- Zero-based row, column; supply spacing and origin separately
How to interpret the output
Intensity-weighted center in zero-based row,column coordinates. Nonnegative weights only and positive total required; unlike SciPy this teaching tool rejects signed masses. No physical-coordinate conversion, thresholding or anatomical centroid inference. Source checked 23 November 2026.
Method reference