Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th December 2005, 17:51   #1  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 537
new filters: AllColorsYUY2 and AllColorsRGB24

Hello everyone,

i wrote two new little filters. AllColorsYUY2 and AllColorsRGB24. I don't know if anybody needs them, but if you want to learn about YUY2 and the Y'CbCr colorspace it might be helpful.

download

Try this little script, so you can see what conversion to rgb does to "illegal colors":

v1=allcolorsYUY2()
v2=allcolorsYUY2().converttorgb32().converttoyuy2()
stackhorizontal(v1.vectorscope(3,1),v2.vectorscope(3,1))

you need my vectorscopefilter (use the forum's search to find it)


The filters:


AllColorsYUY2
*************

This filter generates a video of 256 frames duration (frame 0 to 255). Each frame shows a square of colors.
The x-axis represents the Cb-component (left:0, right:255) and the y-axis the Cr-component (top=255, bottom=0) of the Y'CbCr colorspace.
Y' is represented by the framenumber. Because of the 4:2:2 chroma-subsampling i choosed to use small 2x2 squares for each color.

usage:
allcolorsYUY2()


AllColorsRGB24
**************

This filter generates a video of 256 frames duration (frame 0 to 255). Each frame shows a square of colors.
The x-axis represents G'-component (left:0, right:255) and the y-axis the B'-component (top=255, bottom=0) of a R'G'B' colorspace.
R' is represented by the framenumber.

usage:
allcolorsRGB24()

regards,
hanfrunz

Last edited by hanfrunz; 6th March 2014 at 16:42. Reason: new download link
hanfrunz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.