Hi, function viscircles gives me the output radii = 30 . But I have no idea in which units it is.
Thank you for answer

 채택된 답변

Kevin Holly
Kevin Holly 2022년 11월 5일

0 개 추천

I believe it is based on the coordinates of your axes. If you have an image, it would be pixels.

댓글 수: 5

Eliska Paulikova
Eliska Paulikova 2022년 11월 5일
It is an image
The centers gives me x and y
So you thing the radii is in pixels
Thank you so much
Kevin Holly
Kevin Holly 2022년 11월 5일
Yes, it should be.
Are you sure you weren't using imfindcircles as this function provide radii as an output whereas viscircles provides a handle as an output.
Eliska Paulikova
Eliska Paulikova 2022년 11월 5일
Oh yes you are right I use imfindcircles
Eliska Paulikova
Eliska Paulikova 2022년 11월 5일
So it is still in pixels?
Kevin Holly
Kevin Holly 2022년 11월 5일
이동: Image Analyst 2022년 11월 5일
Yes, it is. If you want to see for yourself, you can type:
axis on
to see the axes coordinates which your image is on. This should match the pixel dimensions of your image.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품

릴리스

R2022b

질문:

2022년 11월 5일

이동:

2022년 11월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by