View Single Post
Old 16th October 2009, 12:37   #5  |  Link
elmarikon
der Name sagt alles
 
elmarikon's Avatar
 
Join Date: Jul 2008
Location: Hamburg, Germany
Posts: 37
ooookay...

so I was trying to get that all into a avisynth script, but with minor success..:-(

I could not figure out how to combine e.g. X = (R * 0.5767309) + (G * 0.1855540) + (B * 0.1881852) into one new channel...

this is my script right now:
Code:
vid = Mpeg2source("...").ConvertToRGB24

vidx = RGBAdjust(vid,0.4124564,0.3575761,0.1803475)
vidy = RGBAdjust(vid,0.2126729,0.7151522,0.0721750)
vidz = RGBAdjust(vid,0.0193339,0.1191920,0.9503041)

MergeRGB(vidx,vidy,vidz,"RGB24")

The result is just a little more bluish, then the source...
I guess, it's not that easy, right?!


I attached an image in RGB (the original) and one in xyz colorspace.
The xyz should of cause in the end look the same as the rgb, but since IrfanView or sth. can't deal with xyz it looks LSD-ish:-)
So, I will have to change the colors to make it look as freaky as the xyz image...

for your help!
Attached Images
  
elmarikon is offline   Reply With Quote