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?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Pavel Kuzmitsky
il 8 Nov 2022
Modificato: Chandler Hall
il 8 Nov 2022
the problem is as follows:
this is the result that matlab outputs:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1185678/image.png)
the same frame, but converted to video:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1185683/image.png)
how can this problem be solved?
Risposta accettata
Chandler Hall
il 8 Nov 2022
Modificato: Chandler Hall
il 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Audio and Video Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!