translate_cog
Version 1.0.0.0 (1,19 ko) par
anukriti dureha
translation of centre of gravity of a 2d image to the origin.
pts is the matrix representing the 2-D shape or an image. It translates the shape's center of gravity to its origin.
%trans_mat represents the translated matrix of the input matrix pts.
eg:
i=imread('circle.gif');
[x,y]=find(i);
translate_cog([x,y]);
Citation pour cette source
anukriti dureha (2025). translate_cog (https://fr.mathworks.com/matlabcentral/fileexchange/41927-translate_cog), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
En savoir plus sur Image Arithmetic dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |