how to find the canter of circle in the images

1 view (last 30 days)
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?

Answers (1)

Matt J
Matt J on 8 Jul 2013
Edited: Matt J on 8 Jul 2013
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!