Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to limit YUV values?

1 回表示 (過去 30 日間)
Chris Clementson
Chris Clementson 2018 年 1 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by