Centroid Calculation Function
Version 1.0.0.0 (723 Bytes) by
Fahd Ahmad Abbasi
Calculates centroid of an object present in an image.
18.5K Downloads
Updated
13 Jul 2004
No License
Function takes a picture as an argument (suitably should contain only one object whose centroid is to be obtained) and returns the x and y coordinates of its centroid.
Cite As
Fahd Ahmad Abbasi (2026). Centroid Calculation Function (https://www.mathworks.com/matlabcentral/fileexchange/5457-centroid-calculation-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Find more on Region and Image Properties in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
ait_centroid/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
