how can i perform morphological closing in matlab 2017b on videoes

1 view (last 30 days)
how can i perform morphological closing in matlab 2017b on videoes

Answers (1)

Image Analyst
Image Analyst on 13 Apr 2018
I assume you mean on each frame one at a time. You'd have to extract each frame and then call imclose() on it. I'm attaching a demo that you can modify. Just call imclose() instead of taking the means like I did.
  2 Comments
hemant vyas
hemant vyas on 16 Apr 2018
sir i am working on live videos and in 2017b morphological close is not working.
Image Analyst
Image Analyst on 16 Apr 2018
imclose() does work in R2017b. You'd have to snag a frame from the live video stream with something like getsnapshot(), then pass it to imclose.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!