how do I change the contrast of a video?

9 次查看(过去 30 天)
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?
  1 个评论
Pavel Kuzmitsky
Pavel Kuzmitsky 2022-11-8
as you can see in the frame from the video, the grids and the image are worse visible (the additional ring is not visible)

请先登录,再进行评论。

采纳的回答

Chandler Hall
Chandler Hall 2022-11-8
编辑:Chandler Hall 2022-11-8
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 个)

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by