Re: Advise on object detection
- From: serg271 <serg271@xxxxxxxxx>
- Date: Sat, 24 May 2008 09:54:12 -0700 (PDT)
aruzinsky wrote:
It just occurred to me that YUV is asymmetric:
Y = 0.2990*R + 0.5870*G + 0.1140*B;
U = -0.14713*R - 0.28886*G + 0.436*B;
V = 0.615*R - 0.51499*G - 0.10001*B;
As I recall, these coefficients (or was it YCbCr?) are determined by
the characteristics of CRT phosphors which changed from the 1950s.
Anyway, I bet the rationale for these coefficients is far fetched.
It would be better to use a symmetric version:
Y' = (R + G + B)/3.0;
U' = (2.0*B - R - G)/3.0;
V' = (2.0*R - G - B)/3.0;
R = Y' + V';
G = Y' - U' - V';
B = Y' + U';
In my experience, this works just fine.
I suspect internal camera format is YUV, before it converted to RGB
later by driver - it seems it's either yuv or jpeg. So working with
asymmetrical YUV could be preferable.
.
- Follow-Ups:
- Re: Advise on object detection
- From: ImageAnalyst
- Re: Advise on object detection
- References:
- Advise on object detection
- From: stormogulen
- Re: Advise on object detection
- From: ImageAnalyst
- Re: Advise on object detection
- From: aruzinsky
- Re: Advise on object detection
- From: serg271
- Re: Advise on object detection
- From: aruzinsky
- Re: Advise on object detection
- From: serg271
- Re: Advise on object detection
- From: aruzinsky
- Advise on object detection
- Prev by Date: Re: interpolation for a color image?
- Next by Date: purpose of life
- Previous by thread: Re: Advise on object detection
- Next by thread: Re: Advise on object detection
- Index(es):