Plugins - working with YUV » Active recreation » Forum about travel in Ukraine
Forum about travel in Ukraine

Forum about travel in Ukraine



ПоискПоиск   Users   Registration   Entrance
Today: 13.03.2025 - 20:38:23
Pages:  1  

Plugins - working with YUV

Advertising


AuthorMessage

ir1

user




Statistics:
Messages: 1309
Registration: 16.07.2009

I'm having a few :rolleyes: problems understanding how things work in YUV colourspace and I wondered if I can pick the brains of the experts :) I have started on converting my Border Control filter from VirtualDub and immediatly hit upon setting Y, U and V to zero does not give black as I expected but instead gives a grey (when viewed in VirtualDub). I thought about this and changed U and V to be 128 and I seem to get black. I then tried to convert my code that fades the borders of an image down to black and started getting in a right mess. Should I reduce Y only or subtract 128 from U and V and then reduce them as well? I've looked in the source code of Levels.cpp and just become more confused looking at Levels class and the Tweak class. Any hints/tips/thoughts out there? regards Simon

---------------------
Message # 1 04.11.22 - 00:06:58
RE: Plugins - working with YUV

Mokoto

user




Statistics:
Messages: 2
Registration: 08 sty 2008, 15:17

Look here. It was your thread! Should clip to 16-235 (eg) for Y, but I do 0-255.

---------------------
Message # 2 04.11.22 - 00:15:48
RE: Plugins - working with YUV

anna26031986

user




Statistics:
Messages: 31
Registration: 27.01.2012

Time for me to get some spectacles :o :o :o Simon the Idiot

---------------------
Message # 3 04.11.22 - 00:26:15
RE: Plugins - working with YUV
Stalling : Previous topicNext topic: Stolen HD system found and Returned :)
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants