View Single Post
Old 15th April 2005, 15:50   #18  |  Link
trevlac
budala
 
Join Date: Oct 2003
Location: U.S.
Posts: 545
Re: Re: Re: YES YES YES!

Quote:
Originally posted by khmann
Now I just need RGBINYUY2, but I think it a worthwhile exercise that I learn how to do that myself anyway
Good for you!

On the following I don't really mean to pick at you but I think this exemplifies the colorspace conversion bitching that bugs me.

Quote:

any RGB plugin which does not make decisions based upon color or try and "manipulate" color information should work fine with this method, as long as color resolution is appropriately up/down sampled.

deshaker stabilizes video by looking at a luma representation of image. it's perception will probably be skewed by this bogus RGB data, but that shouldn't effect it's efficacy.
How do you think it comes up with luma ? ~ R*.3 + G*.6 + B*.1

Now you are going to give it YUV in place of RGB. The U value will have the biggest effect on the luma. U runs in a range of 0-127 and 128-255 where the low numbers represent yellow and the high numbers represent blue. Worth a shot ... but I'm thinking you are going to get a babble fish translation.

Quote:
colorspace conversions are perfectly accurate with respect to levels, but there _will_ be quantization error as a result of rounding and 8 bit precision of RGB and YCrCb.
ehm .... Sounds nice but in practice when done well, there can be ZERO error in the luma and the quantization error is already huge in YCbCr. Going to RGB will not make it worse. As I said before ... RGB has a much finer measure than YCbCr. Said another way, the CbCr are already 7 bit. Even at 4:4:4.

Quote:
but as much as anything for me they take unnecessary time.
Yes it does save time to not do things. No doubt. But in your case, you are converting and creating more bits.


Sorry for the rant ... but this colorspace conversion thing is out of hand around here. If you seperately address the issue of upsample downsample ... conversion from YCbCr-> RGB ->YCbCr is benign compared to any filtering you might do.

As a side note .... Have you ever thought about the fact that any YCbCr filter chain saves the intermediate results in what is effectively a 8bit, 7bit, 7bit form? AKA YCbCr.

So ... In conclusion .... You can't have your cake and eat it to. YCbCr is faster because you can subsample it. But it is also a lower quality colorspace.

... pant ... pant ... pant
trevlac is offline   Reply With Quote