translate_cog

translation of centre of gravity of a 2d image to the origin.

Al momento, stai seguendo questo contributo

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]);

Cita come

anukriti dureha (2026). translate_cog (https://it.mathworks.com/matlabcentral/fileexchange/41927-translate_cog), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0