Can Image Analysis/ Computer Vision/ Digital Image Processing experts suggest a solution to this?

1 view (last 30 days)
Hello, Good Day! Please refer to the GIF image below.
I am trying to measure the increasing diameter of the circle here. I have to do it using MATLAB/ SIMULINK. The red stripes can be classified as noise. Is there any good way to find it? I have tried to use region props and Iamfindcricles, they do not seem to help since we donot have a defined circle in this case.
Can anybody help me out? Pardon me for any typing mistakes.

Answers (1)

Image Analyst
Image Analyst on 15 Apr 2018
I don't deal with animated gifs, so I'm going to assume that you have a way of getting the separate images out of them first. So what I'd first suggest is to convert the image to gray level by taking the red channel. Then call bwconvhull() with the 'union' option to get a sort of round blob. Then I'd find the diameter by calling bwboundaries and finding the greatest distance by passing the boundary (x,y) coordinates into pdist2() if you have the stats toolbox. If you can't figure it out, post just one of the frames and your code and I'll fix it for you.
You might also try imfindcircles() and see how that diameter compares to the pdist2() method.
  2 Comments
Usman Mahmood
Usman Mahmood on 15 Apr 2018
Also, supposedly I have a 100 frames, I need to have a generic code that returns me the diameter. Not something interactive or user defined (dragable feature or something)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!