translate_cog
Versión 1.0.0.0 (1,19 KB) por
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]);
Citar como
anukriti dureha (2024). translate_cog (https://www.mathworks.com/matlabcentral/fileexchange/41927-translate_cog), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
Más información sobre Image Arithmetic en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |