how to find the canter of circle in the images

2 次查看(过去 30 天)
I have 2 images that contain one circle in each image. I want to find the center of the circle then overlay these circle with the same center at XY point. What should I do?

回答(1 个)

Matt J
Matt J 2013-7-8
编辑:Matt J 2013-7-8
regionprops(...,'Centroid') should let you find the centers. Then imtransform() or imwarp() to overlay them.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by