Claims
- 1. A method of converting signal components of one of a first input three component color model and a second input three component color model to either one of said first or second three component color model comprising:
- (a) providing input signal components in one of the first or second color models to an electronic processing means,
- (b) matrix transforming in said processing means said input signal components by multiplying said input signal components with signals representing an array of predetermined transformation parameters to form a transformed signal set,
- (c) vector adding in a vector adding means the transformed signal set with signals representing a predetermined group of offset vectors to produce signal components of an output signal,
- (d) clipping the input signal components to predetermined input amplitude ranges prior to the matrix transforming step,
- (e) the clipping step including saturating any input signal component to an upward or downward amplitude input limit prior to the matrix transforming step in the event said input signal component exceeds positively or negatively either of the upward or downward input amplitude limit respectively,
- (f) saturating any output signal component to an upward or downward output amplitude limit following the vector addition step in the event said output signal component exceeds positively or negatively either of the upward or downward output amplitude limit respectively,
- (g) in which the input signal component are R, G and B and the output signal components are Y, C.sub.r and C.sub.b, and in which the matrix multiplying and adding steps convert the signal components according to the transformations:
- Y=+0.2570.R+0.5045.G+0.0980.B+16
- C.sub.r =0.4373.R-0.3662.G-0.0711.B+128
- C.sub.b =0.1476.R-0.2897.G+0.4373.B+128
- and wherein the matrixes are ##EQU7##
- 2. A method of converting signal components of one of a first input three component color model and a second input three component color model to either one of said first or second three component color model comprising:
- (a) providing input signal components in one of the first or second color models to an electronic processing means,
- (b) matrix transforming in said processing means said input signal components by multiplying said input signal components with signals representing an array of predetermined transformation parameters to form a transformed signal set,
- (c) vector adding in a vector adding means the transformed signal set with signals representing a predetermined group of offset vectors to produce signal components of an output signal,
- (d) clipping the input signal components to predetermined input amplitude ranges prior to the matrix transforming step,
- (e) the clipping step including saturating any input signal component to an upward or downward amplitude input limit prior to the matrix transforming step in the event said input signal component exceeds positively or negatively either of the upward or downward input amplitude limit respectively,
- (f) saturating any output signal component to an upward or downward output amplitude limit following the vector addition step in the event said output signal component exceeds positively or negatively either of the upward or downward output amplitude limit respectively,
- (g) in which the first color model contains RGB signal components and the second color model contains YCrCb signal components, and the second color model contains YCrCb signal components, and
- (h) in which the input signal components are Y, C.sub.r and C.sub.b and the output signal components are R, G and B, and in which the matrix multiplying and adding step convert the signal components according to the transformations:
- R=1.1636.(Y-16)+1.6029(Cr-128)
- G=1.1636.(Y-16)-0.8165(Cr-128)-0.3935(Cb-128)
- B=1.1636.(Y-16)+2.0261(Cb-128)
- and wherein the matrixes are ##EQU8##
- 3. A method of converting signal components of one of a first input three component color model and a second input three component color model to either one of said first or second three component color model comprising:
- (a) providing input signal components in one of the first or second color models to an electronic processing means,
- (b) matrix transforming in said processing means said input signal components by multiplying said input signal components with signals representing an array of predetermined transformation parameters to form a transformed signal set,
- (c) vector adding in a vector adding means the transformed signal set with signals representing a predetermined group of offset vectors to produce signal components of an output signal,
- (d) clipping the input signal components to predetermined input amplitude ranges prior to the matrix transforming step,
- (e) the clipping step including saturating any input signal component to an upward or downward amplitude input limit prior to the matrix transforming step in the event said input signal components exceeds positively or negatively either of the upward or downward input amplitude limit respectively,
- (f) saturating any output signal component to an upward or downward output amplitude limit following the vector addition step in the event said output signal component exceeds positively or negatively either of the upward or downward output amplitude limit respectively,
- (g) in which the input signal components are Y.sub.-- in, Cr.sub.-- in and Cb.sub.-- in and the output signal components are Y, Cr and Cb an in which the matrix transforming and adding steps convert the signal components according to the transformations
- Y=Y.sub.-- in*Contrast+Brightness
- Cr=color.sub.-- sat*(cos(hue)*(Cr.sub.-- in-128)+sin(hue)*(Cb.sub.-- in-128))+128
- Cb=color.sub.-- sat*(-sin(hue)*(Cr.sub.-- in-128)+cos(hue)*(Cb.sub.-- in-128))+128
- where color.sub.-- sat is a signal representing a color saturation component of an input signal, hue is a signal representing a hue component of an input signal, and
- sin and cos are ratios.
- 4. A method of converting signal components of one of a first input three component color model and a second input three component color model to either one of said first or second three component color model comprising:
- (a) providing input signal components in one of the first or second color models to an electronic processing means,
- (b) matrix transforming in said processing means said input signal components by multiplying said input signal components with signals representing an array of predetermined transformation parameters to form a transformed signal set,
- (c) vector adding in a vector adding means the transformed signal set with signals representing a predetermined group of offset vectors to produce signal components of an output signal,
- (d) clipping the input signal components to predetermined input amplitude ranges prior to the matrix transforming step,
- (e) the clipping step including saturating any input signal component to an upward or downward amplitude input limit prior to the matrix transforming step in the event said input signal component exceeds positively or negatively either of the upward or downward input amplitude limit respectively,
- (f) saturating any output signal component to an upward or downward output amplitude limit following the vector addition step in the event said output signal component exceeds positively or negatively either of the upward or downward output amplitude limit respectively,
- (g) in which the first color model contains RGB signal components and the second color model contains YCrCb signal components, and the second color model contains YCrCb signal components, and
- (h) in which the input signal components are Yin, Crin and Chin and the output signal components are Y, Cr and Cb, and in which the matrix multiplying and adding steps convert the signal components according to the transformations: ##EQU9##
- 5. A method of converting signal components of one of a first input three component color model and a second input three component color model to either one of said first or second three component color model comprising:
- (a) providing input signal components in one of the first or second color models to an electronic processing means,
- (b) matrix transforming in said processing means said input signal components by multiplying said input signal components with signals representing an array of predetermined transformation parameters to form a transformed signal set,
- (c) vector adding in a vector adding means the transformed signal set with signals representing a predetermined group of offset vectors to produce signal components of an output signal,
- (d) clipping the input signal components to predetermined input amplitude ranges prior to the matrix transforming step,
- (e) the clipping step including saturating any input signal component to an upward or downward amplitude input limit prior to the matrix transforming step in the event said input signal component exceeds positively or negatively either of the upward or downward input amplitude limit respectively,
- (f) saturating any output signal component to an upward or downward output amplitude limit following the vector addition step in the event said output signal component exceeds positively or negatively either of the upward or downward output amplitude limit respectively,
- (g) in which the first color model contains RGB signal components and the second color model contains YCrCb signal components, and the second color model contains YCrCb signal components, and
- (h) in which the input signal components are R, G and B and the output signal components are R, G and B, and in which the matrix multiplying and adding steps convert the signal components according to the transformation:
- RGB.sub.out =W.sub.y.fwdarw.r *(W.sub.y.fwdarw.y *(W.sub.r.fwdarw.y *RGB.sub.in +o.sub.r.fwdarw.y)+o.sub.y.fwdarw.y)+o.sub.y.fwdarw.r
- where W.sub.x are color transformation parameters and o.sub.x are a group of offset vectors.
- 6. A color space conversion unit comprising:
- (a) means for receiving input signal components of one of an RGB.sub.in and YcrCb.sub.in signal,
- (b) an electronic processing means for matrix multiplying said signal components with an array of signals representing transformation parameters to form signals representing a transformed set,
- (c) a vector adder for vector adding, to the signals representing the transformed set, a group of signals representing offset vectors, to form output signal components of one of an output RGB.sub.out and a YCrCb.sub.out signal,
- (d) input clipping means for receiving each of the input components and for receiving input ceiling and floor limit parameter signals, for clipping each of any of said components that exceed positively or negatively said limits, to said limits, and for providing resulting input components as said input components to said electronic processing means, and
- (e) in which the input signal components are R, G and B and the output signal components are Y, C.sub.r and C.sub.b, and in which the matrix multiplier and vector adder convert the signal components according to the transformations:
- Y=+0.2570.R+0.5045.G+0.0980.B+16
- C.sub.r =0.4373.R-0.3662.G-0.0711.B+128
- C.sub.b =0.1476.R-0.2997.G+0.4373.B+128
- and wherein the matrixes are ##EQU10##
- 7. A color space conversion unit comprising:
- (a) means for receiving input signal components of one of an RGB.sub.in and YCrCb.sub.in signal,
- (b) an electronic processing means for matrix multiplying said signal components with an array of signals representing transformation parameters to form signals representing a transformed set,
- (c) a vector adder for vector adding, to the signals representing the transformed set, a group of signals representing offset vectors, to form output signal components of one of an output RGB.sub.out and a YCrCb.sub.out signal,
- (d) input clipping means for receiving each of the input components and for receiving input ceiling and floor limit parameter signals for clipping each of any of said components that exceed positively or negatively said limits, to said limits, and for providing resulting input components as said input components to said electronic processing means, and
- (e) in which the input signal components are Y, C.sub.r and C.sub.b and the output signal components are R, G and B, and in which the matrix multiplier and vector adder convert the signal components according to the transformations:
- R=1.1636.(Y-16)+1.6029.(Cr-128)
- G=1.1636.(Y-16)-0.8165(Cr-128)-0.3935(Cb-128)
- B=1.1636.(Y-16)+2.0261(Cb-128)
- and wherein the matrixes are ##EQU11##
- 8. A color space conversion unit comprising:
- (a) means for receiving input signal components of one of an RGB.sub.in and YCrCb.sub.in signal,
- (b) an electronic processing means for matrix multiplying said signal components with an array of signals representing transformation parameters to form signals representing a transformed set,
- (c) a vector adder for vector adding, to the signal representing the transformed set, a group of signals representing offset vectors, to form output signal components of one of an output RGB.sub.out and a YCrCb.sub.out signal,
- (d) input clipping means for receiving each of the input components and for receiving input ceiling and floor limit parameter signals, for clipping each of any of said components that exceed positively or negatively said limits, to said limits, and for providing resulting input components as said input components to said electronic processing means, and
- (e) in which the input signal components are Y.sub.-- in, Cr.sub.-- in and Cb.sub.-- in and the output signal components are Y, Cr and Cb and in which the matrix multiplier and vector adder convert the signal components according to the transformations:
- Y=Yin*Contrast+Brightness
- Cr=color.sub.-- sat*(cos(hue)*(Cr.sub.-- in-128)+sin(hue)*(Cb.sub.-- in-128))+128
- Cb=color.sub.-- sat*(-sin(hue)*(Cr.sub.-- in-128)+cos(hue)*(Cb.sub.-- in-128))+128
- where color.sub.-- sat is a signal representing a color saturation component of an input signal, hue is a signal representing a hue component of an input signal, and sin and cos are ratios.
- 9. A color space conversion unit comprising;
- (a) means for receiving input signal components of one of an RGB.sub.in and YCrCb.sub.in signal,
- (b) an electronic processing means for matrix multiplying said signal components with an array of signals representing transformation parameters to form signals representing a transformed set,
- (c) a vector adder for vector adding, to the signals representing the transformed set, a group of signals representing offset vectors, to form output signal components of one of an output RGB.sub.out and a YCrCb.sub.out signal,
- (d) input clipping means for receiving each of the input components and for receiving input ceiling and floor limit parameter signals, for clipping each of any of said components that exceed positively or negatively said limits, to said limits, and for providing resulting input components as said input components to said electronic processing means, and
- (e) in which the input signal components are R, G and B and the output signal components are R, G and B, and in which the matrix multiplier and vector adder convert the signal components according to the transformation:
- RGB.sub.out =W.sub.y.fwdarw.r *(W.sub.y.fwdarw.y *(W.sub.r.fwdarw.y *RGB.sub.in +o.sub.r.fwdarw.y)+o.sub.y.fwdarw.y)+o.sub.y.fwdarw.r
- where W.sub.x are color transformation parameters and o.sub.x are a group of offset vectors.
Parent Case Info
This is a continuation of application Ser. No. 08/118,631 filed Sep. 10, 1993, now abandoned.
US Referenced Citations (2)
| Number |
Name |
Date |
Kind |
|
4853768 |
Suzuki et al. |
Aug 1989 |
|
|
5233410 |
Fairhurst |
Aug 1993 |
|
Non-Patent Literature Citations (1)
| Entry |
| "Coder/Recoder Units For RGB and NTSC Signals" by John D. Lowry pp. 945-948. Oct. 1981. |
Continuations (1)
|
Number |
Date |
Country |
| Parent |
118631 |
Sep 1993 |
|