Show viscircles results in App Designer
11 views (last 30 days)
I'm trying to show the processed image after viscircles function. I would like to select the images by app designer and do background subtraction, then detect the circles by using viscircles function. The results after circle detection is required to show at the app designer.
However, what I got is the image after background subtraction. The viscircle does not appear. Is there any solution to fix this problem?
The following image is the result I obtained from script.
But what I require at left is like this:
Thank you very much for the help.
Sean de Wolski on 27 Apr 2022
Specify the app UIAxes as the first input
a = uiaxes; % replace with you app.UIAxes
[centers,radii] = imfindcircles(imread('coins.png'),[20 100]);