How origin is moved to the centroid of an image
7 次查看(过去 30 天)
显示 更早的评论
I have an image say NXN and i want to move the origin of the image to the centroid location.
4 个评论
Matt J
2021-2-11
Centroid is the centre of mass of the blob, say i have the image centre at [134,235]
If the size of your image is 267 x 469 then its center will always be at [134,235]. It cannot "move".
Maybe you mean you want to move the blob to the center of the image?
采纳的回答
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!