as you can see in the frame from the video, the grids and the image are worse visible (the additional ring is not visible)
how do I change the contrast of a video?
8 views (last 30 days)
Show older comments
Pavel Kuzmitsky
on 8 Nov 2022
Edited: Chandler Hall
on 8 Nov 2022
the problem is as follows:
this is the result that matlab outputs:
the same frame, but converted to video:
how can this problem be solved?
Accepted Answer
Chandler Hall
on 8 Nov 2022
Edited: Chandler Hall
on 8 Nov 2022
By default, videos are created using lossy compression which will remove fine details. Consider
img = ...
v = videowriter('filename.avi', 'Archival');
open(v);
writevideo(v, img);
close(v);
to create a video with no compression.
0 Comments
More Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!