How to convert gray image frame into video frames?

12 views (last 30 days)
  1. I have extracted the video frames from video.
  2. Converted each video frame into images by using frame2image method
  3. Convert each video frames into Gray images
  4. Select the gray video frame with highest entropy
  5. Embed some data into selected gray video frame of highst entropy
  6. The problem is how to make again a video by using gray scale images
  7. I alreay used im2frame method, but not getting deasired resuts
Help from anyone, would be appreciated
Thanks

Answers (2)

Bjorn Gustavsson
Bjorn Gustavsson on 12 Aug 2022
Have a look at the help and documentation for the VideoWriter and writeVideo functions.
HTH

Image Analyst
Image Analyst on 12 Aug 2022
See attached demos.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

Community Treasure Hunt

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

Start Hunting!