Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to limit YUV values?

1 Ansicht (letzte 30 Tage)
Chris Clementson
Chris Clementson am 26 Jan. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am working with mp4 yuv files. I want to limit the Y values to a range of 16 - 235 and the U and V values to 16 - 240. How do I accomplish this?
It's OK if these values hard clip, e.g.
if Y > 235, y = 235; if Y < 16, y = 16; if U > 240, y = 240;
etc.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by