Abstract:
A method and an apparatus for converting the color temperature of metadata and a method and an apparatus for providing image metadata are provided. The apparatus for providing image metadata includes an input unit, an image metadata decoding unit, and an image color temperature converting unit. The input unit receives an input image, metadata corresponding to the color temperature of the input image, and color temperature information preferred by a user. The image metadata decoding unit calculates a color temperature corresponding to the metadata. The image color temperature converting unit converts the color temperature of the input image using the color temperature calculated by the image metadata decoding unit and the color temperature information preferred by a user.

Description:
BACKGROUND OF THE INVENTION  
         [0001]    This application claims the priority of Korean Patent Application No. 2002-25910, filed May 10, 2002, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.  
           [0002]    1. Field of the Invention  
           [0003]    The present invention relates to a method and an apparatus for controlling the color temperature of displayed images according to a user&#39;s preference, and more particularly, to a method and an apparatus for controlling display preference by using color temperature metadata.  
           [0004]    2. Description of the Related Art  
           [0005]    In conventional techniques, the color temperature of output images provided to a user, i.e., a customer of image contents, has been adjusted by calculating the color temperature of the corresponding images in a user terminal.  
           [0006]    However, according to such conventional techniques, it is difficult to reduce the cost of manufacturing user terminals since such user terminals must be manufactured to be able to compute the color temperatures of images. In addition, it is difficult to store the color temperatures of images, which are already computed, in a database as metadata and to re-use the metadata.  
         SUMMARY OF THE INVENTION  
         [0007]    The present invention provides an apparatus and a method for providing metadata corresponding to the color temperatures of an input image.  
           [0008]    The present invention also provides an apparatus and a method for converting such metadata into predetermined color temperatures.  
           [0009]    According to an aspect of the present invention, there is provided an apparatus for providing image metadata. The apparatus includes a color temperature calculating unit which receives a predetermined image signal and derives color temperature information from the image signal, a metadata generating unit which receives the color temperature information, converts the color temperature information into metadata, and stores the metadata in a database, and an image metadata transmitting unit which transmits the metadata as well as the image signal to a user terminal over a communication network in response to the request of the user terminal.  
           [0010]    According to another aspect of the present invention, there is provided an apparatus for converting a metadata color temperature. The apparatus includes an input unit which receives an input image, metadata corresponding to the color temperature of the input image, and color temperature information preferred by a user, an image metadata decoding unit which calculates a color temperature corresponding to the metadata, and an image color temperature converting unit which converts the color temperature of the input image using the color temperature calculated by the image metadata decoding unit and the color temperature information preferred by a user.  
           [0011]    Preferably, the apparatus further includes an image display unit which outputs the input image, the color temperature of which is converted, and then provides the input image to a user.  
           [0012]    Preferably, the image metadata decoding unit calculates the color temperature of an image coded as metadata and decodes the metadata following the way the image is coded.  
           [0013]    Preferably, the image metadata decoding unit includes a predetermined look-up table, in which representative color temperatures of color temperature ranges, which the color temperature belongs to, and their corresponding metadata are recorded, and finds a color temperature value corresponding to certain metadata by searching the metadata in the look-up table.  
           [0014]    According to still another aspect of the present invention, there is provided a method for providing image metadata. The method includes receiving a predetermined image signal and finding color temperature information from the image signal, receiving the color temperature information, converting the color temperature information into metadata, and storing the metadata in a database, and transmitting the metadata as well as the image signal to a user terminal over a communication network in response to the request of the user terminal.  
           [0015]    According to still another aspect of the present invention, there is provided a method for converting the color temperature of metadata. The method includes receiving a predetermined input image, metadata corresponding to the color temperature of the input image, and color temperature information preferred by a user, calculating the color temperature corresponding to the metadata, and converting the color temperature of the input image using the color temperature calculated based on the metadata and the color temperature information preferred by a user.  
           [0016]    Preferably, the method further includes outputting the input image, the color temperature of which is converted, and providing the input image to a user. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0017]    The above features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawing in which:  
         [0018]    [0018]FIG. 1 is a diagram of an apparatus for controlling the display of images according to a user&#39;s preference by using color temperature metadata according to the present invention. 
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0019]    Hereinafter, the present invention will be described in greater detail with reference to the accompanying drawing.  
         [0020]    [0020]FIG. 1 is a diagram of an apparatus for controlling the display of images by using color temperature metadata according to the present invention. Referring to FIG. 1, input images of an image input unit include still images input from an image database and a bunch of still images constituting a moving image. Such still images may refer to representative images of the moving image.  
         [0021]    A color temperature calculating unit  110  converts images input from the image input unit into a CIE XYZ color space and approximates the chromaticity coordinates (x, y) of a light source. Next, the color temperature calculating unit  110  converts the chromaticity coordinates (x, y) into correlated color temperatures which will act as descriptors representing images. The method of deriving chromaticity coordinates is disclosed in Japanese Patent No. 10-118862, and Korean Patent Nos. 237284 and 230446.  
         [0022]    An image metadata generation unit  120  converts the color temperatures of the input images into metadata. Here, the metadata refers to a simple method of representing images. In other words, metadata corresponding to the input images stored in a database is transmitted to a user. For example, a color temperature of 1,667 K-25,000 K can be represented by 15 bits.  
         [0023]    Alternatively, metadata can be generated by the following method. Input images can be sorted according to what a viewer feels about each of the input images, namely, according to the degree to which each of the input images looks warm, by using color temperatures. In other words, the input images can be classified as hot images, warm images, moderate images, or cool images by mapping the degree to which each of the input images looks warm in a certain range of color temperatures. For example, hot images can be mapped in a color temperature range of below 2,250 K, warm images can be mapped in a color temperature range of 2,251 K-4,170 K, moderate images can be mapped in a color temperature range of 4,171 K-8,060 K, and cool images can be mapped in a color temperature range of over 8,060 K. Each of the four image groups can be represented by 2 bits as metadata. For example, hot images, warm images, moderate images, and cool images can be represented by 00, 01, 10, and 11, respectively. The four color temperature ranges are converted into reciprocal color temperature ranges, and the reciprocal color temperature ranges are divided into several equal sub-ranges by quantization. Reciprocal color temperature (RC) can be derived from the following equation using color temperature: RC= 10   6 /C. The reason such a reciprocal color temperature scale is used is that the difference between images in terms of reciprocal color temperature is the same as the difference between the images sensed by human eyes.  
         [0024]    After converting the color temperature ranges into the reciprocal color temperature ranges, the reciprocal color temperature ranges are divided by N so that they can be represented by Upper(In(N)) bits. Here, Upper(X) indicates a minimum natural number greater than X. For example, Upper(2.1)=3. In a case where M reciprocal color temperature ranges are divided by N, they can be represented by Upper(In(M)) +Upper(In(N)) bits. For example, in a case where there are four color temperature ranges and they are divided by 64, i.e., in a case where M=4 and N=64, the color temperature ranges can be represented by 8 bits because Upper(In(4))+Upper(In(64))=2+6=8.  
         [0025]    The database for image metadata is a set of color temperature metadata of still images or a bunch of images constituting a moving image, i.e., representative images of the moving image.  
         [0026]    An image metadata decoding unit  200  decodes transmitted image metadata and thus computes the color temperature value of an input image. The method of decoding metadata varies depending on the type of metadata. If metadata represents the color temperature of an input image itself, for example, if a color temperature of 1,667 K-25,000 K is represented by 15 bits, only a process of converting coded binary numbers into decimal numbers is needed. On the other hand, if the color temperature of an input image, which is computed by the color temperature calculating unit  110 , is quantized through the metadata generator, the color temperature metadata input into the image metadata decoding unit  200  must be converted into a predetermined color temperature range, and a color temperature representing the predetermined color temperature range must be derived. For example, a color temperature representing a certain color temperature range can be the average of color temperature values in the color temperature range.  
         [0027]    A binary number, like 00000001, which is quantized into 8 its through the color temperature metadata generator, is converted into a corresponding color temperature range, and the representative color temperature of the color temperature range is extracted. This method will be described in detail in the following.  
         [0028]    (1) The first two bits of an 8-bit binary number are decoded in order to figure out which color temperature range corresponds to the 8-bit binary number. (For example, 00: hot →[1,667K, 2,250K], T lb =1,667, T ub =2,250)  
         [0029]    (2) The maximum and minimum values in the corresponding color temperature range are converted into a reciprocal megakelvin scale. RT lb =106/Tlb and RT ub =106/2,250 =444.444)  
         [0030]    (3) The corresponding color temperature range [599.88, 444.444] is equally quantized into 64 sub-ranges.  
         [0031]    (4) The remaining six bits (for example, 000001 in 00000001→2 nd sub-range) of the 8-bit binary number are decoded and their corresponding color temperature range (for example, [597.0149, 595.0227]) is figured out, thus calculating an average color temperature ((597.0149+595.0227)÷2=596.0188). Next, the average color temperature is determined as a representative color temperature of the corresponding color temperature range and a color temperature corresponding to the 8-bits. (For example, 10 6 /596.0188=1,678 K)  
         [0032]    Alternatively, a table of color temperatures corresponding to metadata is formed in advance following the above mentioned processes (1) through (4). The image metadata decoding unit  200  can be constituted so that a color temperature corresponding to certain 8-bit metadata can be found in the table by using the metadata as an address like in a look-up table method. In this case, even though a space where such table data need to be stored, is necessary, it is possible to extract a representative color temperature fast without using hardware for computation.  
         [0033]    An image color temperature conversion unit  210  calculates a target color temperature based on an input image, the color temperature of the input image, and a color temperature preferred by a user. Next, the image color temperature conversion unit  210  modifies the input image using the target color temperature and the color temperature preferred by the user.  
         [0034]    An image display unit  220  displays the modified image to the user.  
         [0035]    The above-mentioned embodiments of the present invention can be written as programs that can be performed in a computer and can be realized in a commonly-used digital computer which operates such programs using a computer-readable recording medium.  
         [0036]    The computer-readable recording medium includes a magnetic storage, such as a ROM, a floppy disk, or a hard disk, an optically readable medium, such as a CD-ROM or a DVD, and a carrier wave, such as transmission through the Internet.  
         [0037]    According to the present invention, it is possible for a contents provider to perform a process of calculating a color temperature, which conventionally takes much effort and time, during preparing contents and to transmit a small amount of metadata with contents, i.e., image data. In addition, a contents client does not need to additionally calculate a color temperature, thus reducing the cost of manufacturing a display for the contents client. Accordingly, a user can adjust images using a portable terminal, even though the portable terminal is generally less effective than a TV set or a personal computer in terms of calculation. In addition, according to the present invention, it is possible to re-use the color temperatures of images, which are already computed, by storing them in a database for metadata  130 . Accordingly, it is possible to more effectively display images on a user&#39;s terminal.  
         [0038]    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.