Hi, someone can help me how to do "translation" in image ?
古いコメントを表示
Hi
i need to do "translation" in image, but i don't found how to do that.
i need to take selfie image and then to center my face in the photo.
like this:

TNX!!
採用された回答
その他の回答 (1 件)
Image Analyst
2021 年 9 月 13 日
0 投票
Description
B = imtranslate(A,translation) translates image A by the 2-D or 3-D translation vector specified in translation.
If A has more than two dimensions and translation is a 2-element vector, then imtranslate applies the 2-D translation to each plane of A.
カテゴリ
ヘルプ センター および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

