how to find the canter of circle in the images

조회 수: 6 (최근 30일)
surangkana
surangkana 2013년 7월 8일
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