How to mask object in a video?

3 次查看(过去 30 天)
Hello, I am doing a project on background inpaint of video. I am not getting any hint of how to provide a mask as input along with video? Is it once the video is divided into different frames, mask is provided or before? If before, how do I mask object from a video? Kindly help me with this. I will be very thankful

采纳的回答

Walter Roberson
Walter Roberson 2018-2-17
The only way to process videos in MATLAB is to read frames and process the frames. There is no way in MATLAB to process a video "directly" -- only frames that you read in from the video. The frames that you read from the video are just images.
Therefore you split the work:
  1. read a frame into an array -- a step that is independent of what you are going to do with the array
  2. process the array -- a step that is independent of how you input the array
  3. display or save the processed array -- a step that is independent of how you processed the array
  13 个评论
Walter Roberson
Walter Roberson 2018-3-1
I am not familiar with Ransac

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by