Centroid Calculation Function

Calculates centroid of an object present in an image.
18.4K 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 (2024). 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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

ait_centroid/

Version Published Release Notes
1.0.0.0