how to find the canter of circle in the images

2 visualizzazioni (ultimi 30 giorni)
surangkana
surangkana il 8 Lug 2013
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?

Risposte (1)

Matt J
Matt J il 8 Lug 2013
Modificato: Matt J il 8 Lug 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!

Translated by