translate_cog
版本 1.0.0.0 (1.2 KB) 作者:
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]);
引用格式
anukriti dureha (2024). translate_cog (https://www.mathworks.com/matlabcentral/fileexchange/41927-translate_cog), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2011a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
在 Help Center 和 MATLAB Answers 中查找有关 Image Arithmetic 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |