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

1 次查看(过去 30 天)
how can i perform morphological closing in matlab 2017b on videoes

回答(1 个)

Image Analyst
Image Analyst 2018-4-13
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 个评论
hemant vyas
hemant vyas 2018-4-16
sir i am working on live videos and in 2017b morphological close is not working.
Image Analyst
Image Analyst 2018-4-16
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by