This application claims the benefit of Korean Patent Application No. 10-2006-0138783, filed on Dec. 29, 2006, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
Apparatuses and methods consistent with the present invention relate to converting a video signal, and more particularly, to converting an input video signal so that the signal can have a color impression of a film.
2. Description of the Related Art
A telecine technology is a technology for converting an image taken by using an optical film, so that the image can be expressed by using a National Television System Committee (NTSC) broadcasting system.
Referring to
Here, nT (n is a natural number) is the top field of an n-th frame, nB is the bottom filed of the n-th frame, nT(r) is a copy of the n-th top field, and nB(r) is a copy of the n-th bottom field.
Since an image taken by using an optical film has a frame rate of 24 frames per second (fps), in order to reproduce the image in an NTSC broadcasting system, conversion of the image signal is necessary. This conversion is achieved by adding duplicated fields.
Referring to
Thus, the conventional telecine conversion method, which is a process of converting an image in order to output an image taken by using an optical film through a broadcasting system instead of a projector, exists. However, an image conversion method of converting a broadcasting image signal so that the signal can have a color impression of a film does not exist.
The present invention provides a method of and apparatus for converting a digital video signal so that the signal can have a color impression of an image taken by using an optical film.
According to an aspect of the present invention, there is provided a method of converting a video signal including: selecting a type of film to be referred to in order to convert the video signal; and by referring to the characteristic of the selected type of the film, converting the input video signal.
The characteristic of the film may be determined according to the film spectral sensitivity, reflection ratio and transmission ratio of the film, etc.
The converting of the input video signal may include: converting each RGB value of the input image to an energy value of the film indicating the degree that the film is exposed to light; converting the energy value to a pigment concentration value of the film indicating the degree that the pigment is deposited on the film; and converting the pigment concentration value to a tristimulus value.
The converting of the energy value to the pigment concentration value may include: converting the energy value of the film to a density value of the film indicating the exposure degree of the film; and converting the density value of the film to the pigment concentration value of the film.
The converting of the pigment concentration value to the tristimulus value may include: converting the pigment concentration value of the film to a spectral density value of the film indicating the density value of the film with respect to each wavelength; converting the spectral density value of the film to a spectral transmission value of the film indicating the transmission ratio of the film with respect to each wavelength; and converting the spectral transmission value of the film to the tristimulus value.
The method may further include adjusting the tristimulus value based on information on an external environment in which the video signal is reproduced.
The information on the external environment may include information on illumination and chromaticity.
The method may further include converting the tristimulus value to an RGB value adjusted based on the characteristic of color reproduction of an apparatus to reproduce the video signal.
The method may include performing inverse gamma correction of the input video signal in which the nonlinear signal is converted to a linear signal; and in relation to the video signal which is converted to have a color impression of the selected film, performing gamma correction of the video signal in which the linear signal is converted to a nonlinear signal.
According to another aspect of the present invention, there is provided an apparatus for converting a video signal including: a film selection unit selecting a type of film to be referred to in order to convert the video signal; and a film color conversion unit converting the input video signal by referring to the characteristic of the selected type of the film.
The film color conversion unit may include: an energy conversion unit converting each RGB value of the input image to an energy value of the film indicating the degree that the film is exposed to light; a pigment concentration conversion unit converting the energy value to a pigment concentration value of the film indicating the degree that the pigment is deposited on the film; and a tristimulus conversion unit converting the pigment concentration value to a tristimulus value.
The pigment concentration conversion unit may include: an energy-density conversion unit converting the energy value of the film to a density value of the film indicating the exposure degree of the film; and a density-pigment concentration conversion unit converting the density value of the film to the pigment concentration value of the film.
The tristimulus conversion unit may include: a pigment concentration-spectral density conversion unit converting the pigment concentration value of the film to a spectral density value of the film indicating the density value of the film with respect to each wavelength; a spectral density-spectral transmission conversion unit converting the spectral density value of the film to a spectral transmission value of the film indicating the transmission ratio of the film with respect to each wavelength; and a spectral transmission-tristimulus conversion unit converting the spectral transmission value of the film to the tristimulus value.
The apparatus may further include a tristimulus adjustment unit adjusting the tristimulus value based on information on an external environment in which the video signal is reproduced.
The apparatus may further include an RGB conversion unit converting the tristimulus value to an RGB value adjusted based on the characteristic of color reproduction of an apparatus to reproduce the video signal.
The apparatus may further include an inverse gamma correction unit performing inverse gamma correction of the input video signal in which the nonlinear signal is converted to a linear signal; and a gamma correction unit performing gamma correction of the video signal in which the linear signal is converted to a nonlinear signal, in relation to the video signal which is converted to have a color impression of the selected film.
According to still another aspect of the present invention, there is provided a computer readable recording medium having embodied thereon a computer program for executing a method of converting a video signal wherein the method includes: selecting a type of film to be referred to in order to convert the video signal; and by referring to the characteristic of the selected type of the film, converting the input video signal.
The above and other features of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
The present invention will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown.
Referring to
If a video signal is input, the film selection unit 210 selects a type of film to be referred to in order to convert the video signal.
In this case, the input video signal may be any type of video signal that can be digitally processed.
Here, the types of films can be classified according to a variety of criteria. When films are classified according to the characteristic of a film, the types of films can be classified according to a film spectral sensitivity, a reflection ratio, and a transmission ratio, for example. In this case, the reflection ratio is a value indicating the degree that light emitted to a film is reflected, and the transmission ratio is the degree that light emitted to a film transmits through the film. The reflection ratio and the transmission ratio vary with respect to films.
Referring to
Referring to
As described above, since the characteristic of a film varies with respect to the type of the film, the film selection unit 210 selects the type of a film to be referred to in order to convert a video signal. In this case, the characteristic of a film varies according to a film manufacturer.
The film selection unit 210 may select one of existing types of films, and may also select a film to which a film spectral sensitivity, a transmission ratio, and a reflection ratio arbitrarily selected by a user are applied.
The inverse gamma correction unit 220 performs inverse gamma correction of an input video signal in which the nonlinear signal is converted into a linear signal.
That is, the input video signal has nonlinearity, and if the following conversion operations are performed with the nonlinear input video signal, computation becomes complicated. Accordingly, by converting the input video signal into a linear signal, the computation is reduced. However, the inverse gamma correction unit 220 may be omitted according to an implementation.
The film color conversion unit 230 converts the input video signal by referring to the characteristic of the film selected in the film selection unit 210, so that the input video signal can give the color impression of the selected film.
The film color conversion unit 230 will be explained later with reference to
The tristimulus adjustment unit 240 adjusts a tristimulus, which is obtained as a final value in the film color conversion unit 230, based on an external environment in which the video signal is reproduced.
Here, the tristimulus is a color order system which expresses an X-axis indicating the sensitivity of human eyes to a long wavelength (red), a Y-axis indicating the sensitivity to a middle wavelength (green), and a Z-axis indicating the sensitivity to a short wavelength (blue) in relation to a visible ray region.
The tristimulus adjustment unit 240 adjusts tristimulus values based on a variety of external environments in which a video signal is reproduced, and in particular, based on illumination and chromaticity.
For example, in a dark place, human vision becomes sensitive. Accordingly, if screens of an identical brightness are viewed in a dark place and in a bright place, respectively, the screen viewed in the dark place is felt as brighter than that in the bright place. Also, when color of illumination is reddish, an identical screen is recognized to have a bluish color.
Accordingly, when an environment for reproducing a video signal is dark, the tristimulus adjustment unit 240 adjusts the tristimulus values so that the image becomes a little dark, and when illumination is reddish, the tristimulus adjustment unit 240 adjusts the tristimulus values so that the image becomes less bluish. In this case, the tristimulus adjustment unit 240 may use a method of multiplying tristimulus values by predetermined coefficient values so that the tristimulus values can be the adjusted values.
Also, the tristimulus adjustment unit 240 may have a sensor (not shown) capable of recognizing the illumination and chromaticity of an external environment and a memory (not shown) storing information on the external environment.
The RGB conversion unit 250 converts the tristimulus values adjusted in the tristimulus adjustment unit 240 to RGB values adjusted based on the characteristic of color reproduction of an apparatus for reproducing a video signal.
Here, the characteristic of color reproduction may be a different performance of expressing color gradations. That is, even if the same red color is expressed, the color may be expressed redder or less red depending on an apparatus.
For example, when the face of a person is watched on a TV screen, the same face may look redder depending on the TV, and this is a difference characteristic in the color reproduction.
The RGB conversion unit 250 converts the tristimulus values into the RGB values, and then, adjusts the converted RGB values according to the color reproduction characteristic of each apparatus. In the example described above, by reflecting this characteristic, the RGB values are adjusted in the apparatus expressing a red color redder.
In this case, the tristimulus values may be readjusted and then, the readjusted tristimulus values may be converted into an RGB value.
The gamma correction unit 260 converts the RGB values obtained in the RGB conversion unit 250 so that the RGB values have nonlinearity. This is because the current RGB values have linearity, and in order to reproduce the RGB values, the RGB values are converted to have nonlinearity. However, the gamma correction unit 260 may be omitted depending on an implementation.
Referring to
The energy conversion unit 232 converts the RGB values of an input image into energy values of a film indicating the degree (exposure) that a film is exposed to light.
In this case, the energy conversion unit 232 may use a method of multiplying RGB values by predetermined coefficients as in equation 1 below in order to convert the RGB values into energy values:
E
R
=c
1
R+c
2
G+c
3
B
E
G
=c
4
R+c
5
G+c
6
B
E
B
=c
7
R+c
8
G+c
9
B (1)
The pigment concentration conversion unit 234 includes an energy-density conversion unit 234a and a density-pigment concentration conversion unit 234b.
The energy-density conversion unit 234a converts an energy value of a film into a density of the film indicating exposure of the film.
Referring to
The energy-density conversion unit 234a receives an input of energy values of a film on the horizontal axis, and outputs a film density value on the vertical axis based on each graph 610, 620, and 630 of
That is, the relationship between the energy value and the density value of the film can be expressed as equation 2 below:
D
RGB
=f(ERGB) (2)
That is, the energy value (ERGB) of the film is substituted in the function (f) of
The density-pigment concentration conversion unit 234 converts the density value of the film into the pigment concentration value of the film indicating the degree that the pigment is deposited on the film.
In this case, in order to convert the density value (DRGB) to the pigment concentration value (CCMT) of the film, the density-pigment concentration unit 234b may use a method of multiplying the density value of the film by predetermined coefficients as in equation 3 below:
C
C
=a
1
D
R
+a
2
D
G
+a
3
D
B
C
M
=a
4
D
R
+a
5
D
G
+a
6
D
B
C
Y
=a
7
D
R
+a
8
D
G
+a
9
D
B (3)
The tristimulus conversion unit 236 includes a pigment concentration-spectral density conversion unit 236a, a spectral density-spectral transmission conversion unit 236b, and a spectral transmission-tristimulus conversion unit 236c.
The pigment concentration-spectral density conversion unit 236a converts the pigment concentration value of the film to a spectral density value indicating a density value with respect to each wavelength of the film.
The relationship between the pigment concentration value and the spectral density value (D(λ)) is expressed as in equation 4 below:
D(λ)=dc(λ)Cc+dM(λ)CM+dY(λ)CY+dbase(λ) (4)
Referring to
The pigment concentration-spectral density conversion unit 236a calculates a spectral density value of the film by using the density values of each pigment and the pigment concentration values of the graphs illustrated in
The spectral density-spectral transmission conversion unit 236b converts a spectral density value of the film to a spectral transmission value of the film indicating the transmission ratio of the film with respect to a wavelength.
The relationship between the spectral density value (D(λ)) and the spectral transmission value is expressed as equation 5 below:
τ(λ)=10−D(λ) (5)
Referring to
The spectral transmission-tristimulus conversion unit 236c converts the spectral transmission value of the film to a tristimulus value.
The relationship between the spectral transmission value and the tristimulus value of the film is expressed as equation 6 below:
X=k∫S(λ)τ(λ)
Y=k∫S(λ)τ(λ)
Z=k∫S(λ)τ(λ)
Here, S(X) is a spectral energy value indicating the energy quantity of each wavelength, and
Referring to
Referring to
In operation 1110, the RGB values of an input image are converted to the energy value of a film indicating the degree that the film is exposed to light.
In operation 1120, the energy value of the film is converted to the pigment concentration value of the film indicating the degree that the pigment is deposited on the film.
In operation 1130, the pigment concentration value of the film is converted to tristimulus value.
According to the present invention, if a type of film to be referred to in order to convert a video signal is selected, then, by referring to the characteristic of the selected type of the film, an input video signal is converted. In this way, the digital video signal is converted such that the signal can provide the same color impression as that of an image taken by using an optical film.
The present invention can also be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet).
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims. The exemplary embodiments should be considered in a descriptive sense only and not for purposes of limitation. Therefore, the scope of the invention is defined not by the detailed description of the invention but by the appended claims, and all differences within the scope will be construed as being included in the present invention.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0138783 | Dec 2006 | KR | national |