Which units does viscircle use

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

 Accepted Answer

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

5 Comments

It is an image
The centers gives me x and y
So you thing the radii is in pixels
Thank you so much
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.
Oh yes you are right I use imfindcircles
So it is still in pixels?
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.

Sign in to comment.

More Answers (0)

Products

Release

R2022b

Community Treasure Hunt

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

Start Hunting!