How origin is moved to the centroid of an image
9 views (last 30 days)
Show older comments
I have an image say NXN and i want to move the origin of the image to the centroid location.
4 Comments
Matt J
on 11 Feb 2021
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?
Accepted Answer
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!