WO2013117110A1 - 一种确定图像色相的方法和无线手持设备 - Google Patents

一种确定图像色相的方法和无线手持设备 Download PDF

Info

Publication number
WO2013117110A1
WO2013117110A1 PCT/CN2012/087319 CN2012087319W WO2013117110A1 WO 2013117110 A1 WO2013117110 A1 WO 2013117110A1 CN 2012087319 W CN2012087319 W CN 2012087319W WO 2013117110 A1 WO2013117110 A1 WO 2013117110A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
hue
pixel
compared
hue value
Prior art date
Application number
PCT/CN2012/087319
Other languages
English (en)
French (fr)
Inventor
王炬方
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to JP2014555925A priority Critical patent/JP5896497B2/ja
Priority to KR1020147024115A priority patent/KR101619287B1/ko
Publication of WO2013117110A1 publication Critical patent/WO2013117110A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control

Definitions

  • the present invention relates to the field of image processing, and more particularly to a method of determining an image hue and a wireless handheld device. Background technique
  • Hue refers to the qualitative appearance of color, the primary feature of color, and the most accurate standard for distinguishing different colors. Determining image hue is a widely used operation in the field of image processing. After determining the image hue, you can add suitable background, border and other elements to the image, such as the color of the background color of the background image according to the hue value of the front image, thus improving the visual uniformity and integrity of the image.
  • the process of determining the hue of an image is relatively simple, and a method of weighted averaging is generally used.
  • the process includes, for example, adding the RGB (red, green, and blue) values of the colors of each pixel in the image, and averaging to obtain the hue of the image. Or, add the hue values of each pixel in the image and average them to get the hue of the image.
  • the image calculated by the weighted average method is inaccurate, for example, for a half that is pure red and half is a pure green image, the calculated average is pure yellow, and the image hue is distorted.
  • embodiments of the present invention provide a method of determining an image hue and a wireless handheld device.
  • the technical solution is as follows:
  • a method of determining an image hue comprising:
  • the color information including a hue value, a brightness value, and a saturation value
  • the hue of the candidate color having the highest weight value is taken as the hue of the image.
  • a wireless handheld device for determining an image hue comprising:
  • a color obtaining module configured to acquire color information of a part or all of the pixels of the image, where the color information includes a hue value, a brightness value, and a saturation value;
  • a pixel determining module configured to determine, according to the obtained brightness value and saturation value of part or all of the pixels, pixels that need to perform hue value comparison
  • a weight accumulating module configured to compare a hue value of the pixel that needs to be compared with a hue value with a hue value of a plurality of preset candidate colors, and determine that a hue value of the pixel that needs to be compared with the hue value is closest to a candidate color, and accumulating the weight value of the pixel that needs to be compared with the hue value to the weight value of the candidate color closest thereto, the hue value of the plurality of candidate colors being uniformly covered on the hue circle;
  • a hue determination module is configured to use a hue of a candidate color having the highest weight value as a hue of the image.
  • the hue value of the pixel that needs to be compared with the hue value is preset.
  • the hue value is compared on the hue values of the plurality of candidate colors covered on the hue circle to determine the closest candidate color, and the weight value of the pixel that needs to be compared with the hue value is added to the weight value of the candidate color closest to it.
  • the hue of the candidate color with the highest weight value is taken as the hue of the image, and the overall hue value of the image is quickly and accurately calculated, and the visual perception of the human eye is truly reflected.
  • Embodiment 1 is a flow chart of a method for determining an image hue according to Embodiment 1 of the present invention
  • FIG. 2 is a flow chart of a method for determining an image hue according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a wireless handheld device for determining an image hue according to Embodiment 3 of the present invention
  • FIG. 4 is another schematic structural view of a wireless handheld device for determining an image hue according to Embodiment 3 of the present invention.
  • Hue refers to the qualitative appearance of color, the primary feature of color, and the most accurate standard for distinguishing different colors.
  • Saturation refers to the intensity or vividness of a color. For example, pink is a non-saturated red color, and cooked apple red is a very saturated red color.
  • Brightness refers to the degree of light and darkness of the color. For example, pink is a bright red, and maroon is a very dark red.
  • RGB refers to red, green and blue, which is an expression of color.
  • HSV Human Sa tura t ion Br ightnes s
  • the RGB format and the HSV format can be converted to each other.
  • the hue circle is a closed loop representing the hue.
  • a six-color phase consisting of red, orange, yellow, green, blue, purple
  • a ten-color phase consisting of red, orange, yellow, yellow-green, green, turquoise, blue, blue-violet, purple, and purple Ring
  • twelve-phase ring composed of red, orange red, yellow orange, yellow, yellow green, green, green blue, blue green, blue, blue purple, purple, red purple.
  • the hue value indicates the position of the color on the hue circle.
  • Equipment UE, User Equi pment
  • MS mobile station
  • MS Mobi le Sta t ion
  • mobile terminal Mob i le Termina l
  • mobile phone Mob le Te lephone
  • handset mobile phone
  • portable device portable device
  • tablets digital photo frames, netbooks, music playback devices with screens, video players, game consoles, etc.
  • Example 1 Referring to FIG. 1, this embodiment provides a method for determining an image hue, the method comprising:
  • the color information includes a hue value, a brightness value, and a saturation value
  • the hue of the candidate color having the highest weight value is taken as the hue of the image.
  • the execution subject of the above steps 101 to 103 is a wireless handheld device.
  • the hue value of the pixel that needs to be compared with the hue value is The preset hue value is compared with the hue values of the plurality of candidate colors covered by the hue circle to determine the closest candidate color, and the weight value of the pixel that needs to be compared with the hue value is added to the candidate color closest to it.
  • the hue of the candidate color with the highest weight value is taken as the hue of the image, and the overall hue value of the image is quickly and accurately calculated, and the visual perception of the human eye is truly reflected.
  • the embodiment provides a method for determining an image hue.
  • the method includes: 201: creating a plurality of candidate colors, wherein hue values of the plurality of candidate colors are covered on the hue circle; preferably, multiple candidates
  • the number of colors is 6-12, for example, it can be 6, 7, 8, 9, 10,
  • the candidate colors can be red (hue value is 0), yellow (hue value is 60), green (hue value is 120), cyan (hue value is 180), blue (hue) The value is 240), purple (hue value is 300).
  • the candidate color can be converted into the HSV format.
  • the conversion method of the two formats is prior art, and the embodiment does not limit the conversion method between the RGB format and the HSV format.
  • 201 is an optional step, unless the candidate color is created for the first time or the type or quantity of the candidate color needs to be updated. Generally, it is not necessary to perform 201 every time.
  • the compressed image may use at least the following two methods, and the embodiment does not limit the method of compressing the image.
  • the first compression method when the image is relatively large, such as when the image ratio is greater than or equal to the preset ratio, the image can be compressed to a smaller scale, such as compression to 100 X 100 pixels; when the image is relatively small, such as image scale When it is smaller than the preset ratio, the image may not be compressed.
  • the second compression method if the width or height of the image is greater than or equal to a preset value, the width and height may be divided by 2 multiple times until the width and height are less than the preset value.
  • step 202 is optional, and performing step 202 can improve the pixel acquisition speed.
  • the color information includes a hue value, a brightness value, and a saturation value
  • the color information of the partial pixels of the acquired image includes:
  • the color information of all pixels of the acquired image includes:
  • the image is relatively small, for example, the image is smaller than the preset ratio, the color information of all the pixels of the image may be acquired; if the image is relatively large, for example, the image ratio is greater than or equal to the preset ratio, in order to improve the color information of the pixel
  • the acquisition speed can be obtained by interlacing pixels or scanning pixels on the pixels to obtain the color information of some pixels of the image.
  • the color information of the pixel includes: a hue value, a saturation value, and a brightness value.
  • the value range of the hue value is [0, 360]
  • the value range of the saturation value is [0, 1]
  • the value range of the brightness value is [0, 1].
  • the product of the brightness value and the saturation value of the obtained partial or all pixels is compared with the second preset value, and the pixel whose product of the brightness value and the saturation value is not less than the second preset value is determined as needing to be performed.
  • the pixel of the hue value comparison is a condition in which the product of the brightness value and the saturation value of the obtained partial or all pixels is compared.
  • the pixel is considered to be inconspicuous, not conspicuous, and the human eye does not strongly perceive the pixel, and the pixel is removed, and the product is not less than 0.1 pixel. Determined as a pixel that requires a hue value comparison.
  • step 205 may be performed, or step 206 may be performed, and step 205 may be performed first, and then step 206 is performed.
  • step 205 and step Step 206 is an optional step.
  • the preset weight value, the luminance value, and the saturation value of the pixel that needs to be compared with the hue value are multiplied to obtain a weight value of the pixel that needs to be compared with the hue value; or, a pre-pse of the pixel that needs to be compared with the hue value.
  • the product of the weight value, the luminance value, and the saturation value is divided by the third preset value to obtain the weight value of the pixel that needs to be compared with the hue value.
  • the preset weight values of the pixels that need to be compared with the hue value may be the same.
  • the preset weight values of the pixels that need to be compared with the hue value are all set to 1, and the embodiment does not limit the preset.
  • the specific value of the weight value is the specific value of the weight value.
  • the product of the luminance value and the saturation value can reflect the degree of perception of the pixel color by the human eye.
  • the product of saturation is divided by a preset value, such as 0.1, and then rounded to obtain a weight value of [1, 1 0].
  • the influence factor of the pixel is relatively high, the weight value is correspondingly high, which is in line with the visual perception of the human eye.
  • the weight value of the pixel that needs to be compared with the hue value is increased according to a preset ratio
  • the weight value of the pixel that needs to be compared with the hue value is increased according to a preset ratio
  • the weight value of the pixel that needs to be compared with the hue value is increased according to a preset ratio
  • the weight value of the pixel that needs to be compared with the hue value is increased according to a preset ratio.
  • the difference in hue value between the pixel that needs to be compared with the hue value and the pixel on the left side is less than 27, then the pixel that needs to be compared with the hue value is considered to be close to the color and the left and right adjacent pixels, then the hue will be needed.
  • the weight value of the pixel to be compared is multiplied by 1.1; if the hue value difference between the pixel for which the hue value comparison is required and the pixel above it is less than 27, the pixel that needs to be compared with the hue value is close to the color and the upper and lower pixels are For the neighboring pixels, the weight value of the pixel that needs to be compared with the hue value is multiplied by 1.1, so that the weight value of the pixel with a large color area can be increased.
  • the specific proportion of the weight value increase is not limited in this embodiment.
  • preset weight values of the plurality of candidate colors are the same, for example, may be set to 0.
  • the hue of the candidate color having the highest weight value is taken as the hue of the image.
  • execution subject of the above steps 201 to 208 is a wireless handheld device.
  • first preset value and the second preset value involved in the embodiment of the present invention are only used to distinguish, and have no meaning of order or size.
  • the hue value of the pixel that needs to be compared with the hue value is The preset hue value is compared with the hue values of the plurality of candidate colors covered by the hue circle to determine the closest candidate color, and the weight value of the pixel that needs to be compared with the hue value is added to the candidate color closest to it.
  • the hue of the candidate color with the highest weight value is taken as the hue of the image, and the overall hue value of the image is quickly and accurately calculated, and the visual perception of the human eye is truly reflected.
  • the embodiment provides a wireless handheld device for determining an image hue, and the wireless handheld device includes:
  • the color obtaining module 301 is configured to acquire color information of a part or all of the pixels of the image, and the color information Information includes hue value, brightness value, and saturation value;
  • a pixel determining module 302 configured to determine, according to the obtained brightness value and saturation value of part or all of the pixels, pixels that need to perform hue value comparison;
  • the weight accumulating module 303 is configured to compare the hue value of the pixel that needs to be compared with the hue value with the hue value of the preset plurality of candidate colors, and determine the candidate color that is closest to the hue value of the pixel that needs to be compared with the hue value. And accumulating the weight value of the pixel that needs to be compared with the hue value to the weight value of the candidate color closest to the candidate color, and the hue values of the plurality of candidate colors are overlaid on the hue circle;
  • the hue determination module 304 is configured to use the hue of the candidate color having the highest weight value as the hue of the image. Further, the wireless handheld device further includes:
  • the weight determining module 305 is configured to: before comparing the hue value of the pixel that needs to perform the hue value comparison with the hue value of the preset plurality of candidate colors, preset weight value and brightness of the pixel according to the hue value comparison as needed The value and saturation values determine the weight values of the pixels that need to be compared for hue values.
  • the wireless handheld device further includes:
  • the weight change module 306 is configured to: when comparing the hue value of the pixel that needs to perform the hue value comparison with the hue value of the preset plurality of candidate colors, when the hue value of the pixel that needs to be compared with the hue value is compared with the adjacent pixel thereof When the hue value difference of the hue value is smaller than the first preset value, the weight value of the pixel that needs to be compared with the hue value is changed according to the preset ratio.
  • the weight change module 306 includes at least one of the following modules:
  • the first weight change module 3061 is configured to: when the color difference between the pixel hue value of the chroma phase value and the hue value of the left pixel is smaller than the first preset value, increase the hue value comparison according to the preset ratio.
  • the second weight change module 3062 is configured to: when the color difference between the pixel hue value of the hue value and the hue value of the right pixel is smaller than the first preset value, increase the hue value comparison according to the preset ratio.
  • the third weight change module 3063 is configured to: when the hue value of the pixel hue value that needs to be compared with the hue value and the hue value of the hue value of the upper pixel is smaller than the first preset value, increase the hue value comparison according to the preset ratio.
  • the fourth weight change module 3064 is configured to: when the hue value difference between the pixel hue value of the hue value and the hue value of the lower pixel is smaller than the first preset value, increase the hue value comparison according to the preset ratio. The weight value of the pixel.
  • the pixel determining module 302 is specifically configured to: capture part or all of the image The product of the luminance value and the saturation value of the prime is compared with the second preset value, and the pixel whose product of the luminance value and the saturation value is not less than the second preset value is determined as the pixel for which the hue value comparison is required.
  • the weight determination module 305 includes at least one of the following modules:
  • the first weight determining module 3051 is configured to multiply the preset weight value, the brightness value, and the saturation value of the pixel that needs to perform the hue value comparison, to obtain the weight value of the pixel that needs to be compared with the hue value;
  • the module 3052 is configured to divide the product of the preset weight value, the brightness value, and the saturation value of the pixel that needs to perform the hue value comparison by the third preset value, to obtain a weight value of the pixel that needs to perform the hue value comparison.
  • the wireless handheld device further includes: a compression module 307, configured to compress the image before acquiring color information of part or all of the pixels of the image.
  • the number of candidate colors is 6-12.
  • the color obtaining module 301 includes at least one of the following modules:
  • the first color obtaining module 3011 is configured to acquire color information of a pixel of the image by using an interlaced scanning or an interlaced scanning, where the color information includes a hue value, a brightness value, and a saturation value;
  • the second color obtaining module 3012 is configured to acquire color information of each pixel of the image, where the color information includes a hue value, a brightness value, and a saturation value.
  • the wireless handheld device provided in this embodiment is the same as the method embodiment, and those skilled in the art can clearly understand that the specific working process of the wireless handheld device and the module described above can be implemented by referring to the foregoing method for convenience and brevity. The corresponding process in the example will not be described here.
  • the hue value of the pixel that needs to be compared with the hue value is The preset hue value is compared with the hue values of the plurality of candidate colors covered by the hue circle to determine the closest candidate color, and the weight value of the pixel that needs to be compared with the hue value is added to the candidate color closest to it.
  • the hue of the candidate color with the highest weight value is taken as the hue of the image, and the overall hue value of the image is quickly and accurately calculated, and the visual perception of the human eye is truly reflected.
  • the disclosed apparatus and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the device is only a logical function division.
  • there may be another division manner for example, multiple devices or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or device, and may be electrical, mechanical or otherwise.
  • each functional device in various embodiments of the present invention may be integrated in one processing device, or each device may exist physically separately, or two or more devices may be integrated in one device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明提供一种确定图像色相的方法和无线手持设备,涉及图像处理领域,包括:获取图像的部分或全部像素的颜色信息,包括色相值、亮度值和饱和度值;根据获取的亮度值和饱和度值确定需要进行色相值比较的像素,并将其与预设的多个候选颜色的色相值进行比较,确定最接近的候选颜色,并将需要进行色相值比较的像素的权重值累加到与其最接近的候选颜色的权重值上,多个候选颜色的色相值在色相环上均匀覆盖;将权重值最高的候选颜色的色相作为图像的色相。无线手持设备包括:颜色获取模块、像素确定模块、权值累加模块和色相确定模块。通过上述方案,能够快速精确的计算出图像的整体色相值,真实的反映人眼的视觉感受。

Description

一种确定图像色相的方法和无线手持设备
本申请要求于 201 2年 2月 1 0 日提交中国专利局、 申请号为 CN 20121 0030189. X、 发明名称为 "一种确定图像色相的方法和无线手持设备" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及图像处理领域,特别涉及一种确定图像色相的方法和无线手持 设备。 背景技术
色相是指色彩可呈现出来的质的面貌, 是色彩的首要特征, 是区别各种不 同色彩的最准确的标准。确定图像色相是图像处理领域一个应用比较广泛的操 作。 确定图像色相之后, 可以为图像添加适合的背景、 边框等元素, 如根据前 台图像的色相值, 来绘制后台光点背景的颜色, 从而提高图像在视觉上的统一 性和整体性。
目前确定图像色相的过程比较简单, 通常釆用加权平均的方法, 其过程具 体包括, 将图像中每个像素的颜色的 RGB (红绿蓝)值相加, 求平均值, 得到 图像的色相。 或者, 将图像中每个像素的色相值相加, 取平均值, 得到图像的 色相。
加权平均的方法计算的图像色相不准确, 例如, 对于一半是纯红,一半是 纯绿的图像, 计算的平均值是纯黄, 图像色相就失真了。 发明内容
为了解决计算的图像色相失真的问题, 本发明实施例提供了一种确定图像 色相的方法和无线手持设备。 所述技术方案如下:
一种确定图像色相的方法, 所述方法包括:
获取图像的部分或全部像素的颜色信息, 所述颜色信息包括色相值、 亮度 值和饱和度值;
根据获取的部分或全部像素的亮度值和饱和度值确定需要进行色相值比 较的像素;
将所述需要进行色相值比较的像素的色相值与预设的多个候选颜色的色 相值进行比较, 确定与所述需要进行色相值比较的像素的色相值最接近的候选 颜色, 并将所述需要进行色相值比较的像素的权重值累加到与其最接近的候选 颜色的权重值上, 所述多个候选颜色的色相值在色相环上均勾覆盖;
将权重值最高的候选颜色的色相作为所述图像的色相。
一种确定图像色相的无线手持设备, 所述无线手持设备包括:
颜色获取模块, 用于获取图像的部分或全部像素的颜色信息, 所述颜色信 息包括色相值、 亮度值和饱和度值;
像素确定模块, 用于根据获取的部分或全部像素的亮度值和饱和度值确定 需要进行色相值比较的像素;
权值累加模块, 用于将所述需要进行色相值比较的像素的色相值与预设的 多个候选颜色的色相值进行比较,确定与所述需要进行色相值比较的像素的色 相值最接近的候选颜色, 并将所述需要进行色相值比较的像素的权重值累加到 与其最接近的候选颜色的权重值上, 所述多个候选颜色的色相值在色相环上均 匀覆盖;
色相确定模块, 用于将权重值最高的候选颜色的色相作为所述图像的色 相。
本发明实施例提供的技术方案的有益效果是:
通过获取图像的部分或全部像素的颜色信息,根据获取的部分或全部像素 的亮度值和饱和度值确定需要进行色相值比较的像素, 将需要进行色相值比较 的像素的色相值与预设的色相值在色相环上均勾覆盖的多个候选颜色的色相 值进行比较, 确定最接近的候选颜色, 并将需要进行色相值比较的像素的权重 值累加到与其最接近的候选颜色的权重值上,将权重值最高的候选颜色的色相 作为图像的色相, 快速精确的计算出图像的整体色相值, 真实的反映人眼的视 觉感受。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例 1提供的确定图像色相的方法流程图;
图 2是本发明实施例 2提供的确定图像色相的方法流程图;
图 3是本发明实施例 3提供的确定图像色相的无线手持设备结构示意图; 图 4是本发明实施例 3提供的确定图像色相的无线手持设备的另一结构示 意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。
首先介绍本发明涉及到的图像领域的术语。
色相是指色彩可呈现出来的质的面貌, 是色彩的首要特征, 是区别各种不 同色彩的最准确的标准。
饱和度是指颜色的强度或鲜艳度, 例如, 粉红色是一种不很饱和的红色, 熟苹果红则是一种非常饱和的红色。
亮度是指颜色的明暗程度, 例如, 粉红是一种明亮的红色, 褐红是一种很 暗的红色。 RGB指红绿蓝, 是颜色的一种表达形式。
HSV ( Hue Sa tura t ion Br ightnes s )指色相、 饱和度、 亮度, 也是颜色的 一种表达形式。
RGB格式与 HSV格式可以相互转换。
色相环是表示色相的闭环。 例如, 由红色、 橙色、 黄色、 绿色、 蓝色、 紫 色组成的六色相环, 由红色、 橙色、 黄色、 黄绿色、 绿色、 青绿色、 蓝色、 蓝 紫色、 紫色、 紫红色组成的十色相环, 由红、 橙红、 黄橙、 黄、 黄绿、 绿、 绿 蓝、 蓝绿、 蓝、 蓝紫、 紫、 红紫组成的十二色相环等。
色相值表示颜色在色相环上的位置。 设备(UE , User Equi pment )、移动台(MS , Mobi le Sta t ion ),移动终端(Mob i le Termina l ), 移动电话 ( Mobi le Te lephone ), 手机 ( handset ) 及便携设备 ( por table equipment )等。 例如, 平板电脑、 数码相框、 上网本、 带有屏幕 的音乐播放设备, 视频播放器、 游戏机等。
实施例 1 参见图 1 , 本实施例提供了一种确定图像色相的方法, 该方法包括:
101: 获取图像的部分或全部像素的颜色信息, 颜色信息包括色相值、 亮 度值和饱和度值;
102: 根据获取的部分或全部像素的亮度值和饱和度值确定需要进行色相 值比较的像素;
103: 将需要进行色相值比较的像素的色相值与预设的多个候选颜色的色 相值进行比较, 确定与需要进行色相值比较的像素的色相值最接近的候选颜 色, 并将需要进行色相值比较的像素的权重值累加到与其最接近的候选颜色的 权重值上, 多个候选颜色的色相值在色相环上均勾覆盖;
104 : 将权重值最高的候选颜色的色相作为图像的色相。
需要说明的是: 上述步骤 101至 103的执行主体是无线手持设备。
本实施例通过获取图像的部分或全部像素的颜色信息,根据获取的部分或 全部像素的亮度值和饱和度值确定需要进行色相值比较的像素,将需要进行色 相值比较的像素的色相值与预设的色相值在色相环上均勾覆盖的多个候选颜 色的色相值进行比较, 确定最接近的候选颜色, 并将需要进行色相值比较的像 素的权重值累加到与其最接近的候选颜色的权重值上, 将权重值最高的候选颜 色的色相作为图像的色相, 快速精确的计算出图像的整体色相值, 真实的反映 人眼的视觉感受。 实施例 2
参见图 2 , 本实施例提供了一种确定图像色相的方法, 该方法包括: 201 : 创建多个候选颜色, 多个候选颜色的色相值在色相环上均勾覆盖; 优选的, 多个候选颜色的数量为 6-12个, 例如可以是 6、 7、 8、 9、 10、
11、 12等。 例如, 当候选颜色的数量为 6时,候选颜色可以是红(色相值为 0) , 黄(色相值为 60) , 绿(色相值为 120) , 青(色相值为 180) , 蓝(色相值为 240) , 紫 (色相值为 300)。
需要说明的是, 如果候选颜色是 RGB格式, 可以将候选颜色转换成 HSV格 式, 两种格式的转换方法为现有技术, 本实施例不限定 RGB格式与 HSV格式之 间的转换方法。
需要说明的是: 201是可选步骤, 除非首次创建候选颜色或需要更新候选 颜色的种类或数量, 一般情况下, 不必每次都执行 201. 202: 可以压缩图像;
具体的, 压缩图像至少可以釆用以下两种方法, 本实施例并不限定压缩图 像的方法。 第一种压缩方法, 当图像比较大时, 比如图像比例大于或等于预设 比例时, 可以将图像压缩到一较小的比例, 比如压缩到 100 X 100像素; 当图 像比较小时, 比如图像比例小于预设比例时, 可以不压缩图像。 第二种压缩方 法, 如果图像的宽或高大于或等于某个预设值, 可以循环多次的将宽高同时除 以 2 , 直到宽和高都小于该预设值。
需要说明的是:步骤 202为可选的,执行步骤 202可以提高像素获取速度。
203: 获取图像的部分或全部像素的颜色信息, 颜色信息包括色相值、 亮 度值和饱和度值;
所述获取图像的部分像素的颜色信息包括:
釆用隔行扫描或隔点扫描的方式获取图像的像素的颜色信息;
所述获取图像的全部像素的颜色信息包括:
获取图像的每一个像素的颜色信息。
需要说明的是, 如果图像比较小, 比如图像小于预设比例, 则可以获取图 像的全部像素的颜色信息; 如果图像比较大, 比如图像比例大于或等于预设比 例时, 为了提高像素的颜色信息的获取速度, 可以釆用隔行扫描像素或隔点扫 描像素的方式, 获取图像的部分像素的颜色信息。
在本实施例中, 像素的颜色信息包括: 色相值, 饱和度值和亮度值。 其中, 色相值的数值范围为 [0 , 360] , 饱和度值的数值范围为 [0, 1] , 亮度值的数值 范围为 [0, 1] 。
204 : 根据获取的部分或全部像素的亮度值和饱和度值确定需要进行色相 值比较的像素;
具体的, 将获取的部分或全部像素的亮度值和饱和度值的乘积与第二预设 值进行比较,将亮度值和饱和度值的乘积不小于第二预设值的像素确定为需要 进行色相值比较的像素。
例如, 对于亮度值和饱和度值的乘积小于 0. 1的像素, 则认为该像素不鲜 艳, 不醒目, 人眼对其感知不强烈, 就去除该像素, 将乘积不小于 0. 1的像素 确定为需要进行色相值比较的像素。
步骤 204之后, 为了提高色相确定的准确度, 可以执行步骤 205 , 也可以 执行步骤 206 , 还可以先执行步骤 205 , 再执行步骤 206。 此外, 步骤 205和步 骤 206为可选步骤。
205: 根据需要进行色相值比较的像素的预设权重值、 亮度值和饱和度值 确定需要进行色相值比较的像素的权重值;
具体的, 将需要进行色相值比较的像素的预设权重值、 亮度值和饱和度值 相乘, 得到需要进行色相值比较的像素的权重值; 或者, 将需要进行色相值比 较的像素的预设权重值、 亮度值和饱和度值的乘积除以第三预设值, 得到需要 进行色相值比较的像素的权重值。
需要说明的是, 需要进行色相值比较的像素的预设权重值可以是相同的, 例如, 将需要进行色相值比较的像素的预设权重值都设置为 1 , 本实施例并不 限定预设权重值的具体数值。
例如, 亮度值和饱和度值的乘积可以反映人眼对像素颜色的感知程度, 亮 度值和饱和度值的乘积越大, 人眼越能明显感知该像素的颜色, 该像素的权重 也应当越高, 因此, 对于亮度值和饱和度值的乘积大于或等于 0. 1的像素, 则 认为该像素有效,人眼能明显感知该像素的颜色, 可以提高该像素的权重, 将 该像素亮度和饱和度的乘积除以一预设值, 如 0. 1 , 再取整, 得出一个 [1 , 1 0] 的权重值。 这样, 如果该像素的影响因子比较高, 则权重值相应就高, 符合人 眼的视觉感受。
206: 当需要进行色相值比较的像素的色相值与其相邻像素的色相值的色 相值差异小于第一预设值时,按照预设比例改变需要进行色相值比较的像素的 权重值;
具体的,
当需要进行色相值比较的像素色相值与其左侧像素的色相值的色相值差 异小于第一预设值时, 按照预设比例提高需要进行色相值比较的像素的权重 值;
或者, 当需要进行色相值比较的像素色相值与其右侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高需要进行色相值比较的像素的权 重值;
或者, 当需要进行色相值比较的像素色相值与其上侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高需要进行色相值比较的像素的权 重值;
或者, 当需要进行色相值比较的像素色相值与其下侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高需要进行色相值比较的像素的权 重值。
例如,如果需要进行色相值比较的像素与其左侧像素之间的色相值差异小 于 27, 则认为需要进行色相值比较的像素与其左侧像素是颜色接近且左右相 邻像素,则将需要进行色相值比较的像素的权重值乘以 1. 1;如果需要进行色相 值比较的像素与其上方像素之间的色相值差异小于 27, 认为需要进行色相值 比较的像素与其上方像素是颜色接近且上下相邻像素, 则将需要进行色相值比 较的像素的权重值再乘以 1. 1 , 这样就可以提高颜色面积大的像素的权重值。 权重值提高的具体比例, 本实施例不加以限定。
207 : 将需要进行色相值比较的像素的色相值与预设的多个候选颜色的色 相值进行比较, 确定与需要进行色相值比较的像素的色相值最接近的候选颜 色, 并将需要进行色相值比较的像素的权重值累加到与其最接近的候选颜色的 权重值上;
需要说明的是, 多个候选颜色的预设权重值是相同的, 例如, 可以设置为 0。
208 : 将权重值最高的候选颜色的色相作为图像的色相。
需要说明的是: 上述步骤 201至 208的执行主体是无线手持设备。
此外, 应理解, 本发明实施例中所涉及的第一预设值和第二预设值, 只是 用来区分, 并没有先后或大小的含义。
本实施例通过获取图像的部分或全部像素的颜色信息,根据获取的部分或 全部像素的亮度值和饱和度值确定需要进行色相值比较的像素,将需要进行色 相值比较的像素的色相值与预设的色相值在色相环上均勾覆盖的多个候选颜 色的色相值进行比较, 确定最接近的候选颜色, 并将需要进行色相值比较的像 素的权重值累加到与其最接近的候选颜色的权重值上, 将权重值最高的候选颜 色的色相作为图像的色相, 快速精确的计算出图像的整体色相值, 真实的反映 人眼的视觉感受。 实施例 3
参见图 3 , 本实施例提供了一种确定图像色相的无线手持设备, 该无线手 持设备包括:
颜色获取模块 301 , 用于获取图像的部分或全部像素的颜色信息, 颜色信 息包括色相值、 亮度值和饱和度值;
像素确定模块 302 , 用于根据获取的部分或全部像素的亮度值和饱和度值 确定需要进行色相值比较的像素;
权值累加模块 303 , 用于将需要进行色相值比较的像素的色相值与预设的 多个候选颜色的色相值进行比较,确定与需要进行色相值比较的像素的色相值 最接近的候选颜色, 并将需要进行色相值比较的像素的权重值累加到与其最接 近的候选颜色的权重值上, 多个候选颜色的色相值在色相环上均勾覆盖;
色相确定模块 304 ,用于将权重值最高的候选颜色的色相作为图像的色相。 进一步, 无线手持设备还包括:
权值确定模块 305 , 用于在将需要进行色相值比较的像素的色相值与预设 的多个候选颜色的色相值进行比较之前,根据需要进行色相值比较的像素的预 设权重值、 亮度值和饱和度值确定所述需要进行色相值比较的像素的权重值。
进一步, 无线手持设备还包括:
权值改变模块 306 , 用于在将需要进行色相值比较的像素的色相值与预设 的多个候选颜色的色相值进行比较之前, 当需要进行色相值比较的像素的色相 值与其相邻像素的色相值的色相值差异小于第一预设值时,按照预设比例改变 需要进行色相值比较的像素的权重值。
其中, 权值改变模块 306包括以下至少一种模块:
第一权值改变模块 3061 ,用于当需要进行色相值比较的像素色相值与其左 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高需要进行 色相值比较的像素的权重值;
第二权值改变模块 3062 ,用于当需要进行色相值比较的像素色相值与其右 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高需要进行 色相值比较的像素的权重值;
第三权值改变模块 3063 ,用于当需要进行色相值比较的像素色相值与其上 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高需要进行 色相值比较的像素的权重值;
第四权值改变模块 3064 ,用于当需要进行色相值比较的像素色相值与其下 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高需要进行 色相值比较的像素的权重值。
进一步的, 其中, 像素确定模块 302 , 具体用于: 将获取的部分或全部像 素的亮度值和饱和度值的乘积与第二预设值进行比较, 将亮度值和饱和度值的 乘积不小于第二预设值的像素确定为需要进行色相值比较的像素。
其中, 权值确定模块 305包括以下至少一种模块:
第一权值确定模块 3051 , 用于将需要进行色相值比较的像素的预设权重 值、 亮度值和饱和度值相乘, 得到需要进行色相值比较的像素的权重值; 第二权值确定模块 3052 , 用于将需要进行色相值比较的像素的预设权重 值、 亮度值和饱和度值的乘积除以第三预设值, 得到需要进行色相值比较的像 素的权重值。
进一步, 无线手持设备还包括: 压缩模块 307 , 用于在获取图像的部分或 全部像素的颜色信息之前, 压缩图像。
其中, 多个候选颜色的数量为 6-12个。
进一步, 所述颜色获取模块 301至少包括以下至少一种模块:
第一颜色获取模块 3011 ,用于釆用隔行扫描或隔点扫描的方式获取图像的 像素的颜色信息, 所述颜色信息包括色相值、 亮度值和饱和度值;
第二颜色获取模块 3012 ,用于获取图像的每一个像素的颜色信息, 所述颜 色信息包括色相值、 亮度值和饱和度值。
本实施例提供的无线手持设备与方法实施例属于同一构思, 本领域技术人 员可以清楚地了解到, 为描述的方便和简洁, 上述描述的无线手持设备和模块 具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。
本实施例通过获取图像的部分或全部像素的颜色信息,根据获取的部分或 全部像素的亮度值和饱和度值确定需要进行色相值比较的像素,将需要进行色 相值比较的像素的色相值与预设的色相值在色相环上均勾覆盖的多个候选颜 色的色相值进行比较, 确定最接近的候选颜色, 并将需要进行色相值比较的像 素的权重值累加到与其最接近的候选颜色的权重值上, 将权重值最高的候选颜 色的色相作为图像的色相, 快速精确的计算出图像的整体色相值, 真实的反映 人眼的视觉感受。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各示 例的器件或单元及方法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的 结合来实现。 这些功能究竟以硬件还是硬件结合软件的方式来执行, 取决于技 术方案的特定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使 用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述 的系统、 装置和器件或单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置和方法, 可 以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例 如, 所述器件的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划 分方式, 例如多个器件或组件可以结合或者可以集成到另一个系统, 或一些特 征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合 或通信连接可以是通过一些接口, 装置或器件的间接耦合或通信连接, 可以是 电性, 机械或其它的形式。
另外, 在本发明各个实施例中的各功能器件可以集成在一个处理器件中, 也可以是各个器件单独物理存在,也可以两个或两个以上器件集成在一个器件 中。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 所述以权利要求的保护范围为准。

Claims

权利要求
1、 一种确定图像色相的方法, 其特征在于, 所述方法包括:
获取图像的部分或全部像素的颜色信息, 所述颜色信息包括色相值、 亮度 值和饱和度值;
根据获取的部分或全部像素的亮度值和饱和度值确定需要进行色相值比 较的像素;
将所述需要进行色相值比较的像素的色相值与预设的多个候选颜色的色 相值进行比较, 确定与所述需要进行色相值比较的像素的色相值最接近的候选 颜色, 并将所述需要进行色相值比较的像素的权重值累加到与其最接近的候选 颜色的权重值上, 所述多个候选颜色的色相值在色相环上均勾覆盖;
将权重值最高的候选颜色的色相作为所述图像的色相。
2、 根据权利要求 1 所述的方法, 所述将所述需要进行色相值比较的像素 的色相值与预设的多个候选颜色的色相值进行比较之前, 所述方法还包括: 根据所述需要进行色相值比较的像素的预设权重值、 亮度值和饱和度值确 定所述需要进行色相值比较的像素的权重值。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述将所述需要进行 色相值比较的像素的色相值与预设的多个候选颜色的色相值进行比较之前, 所 述方法还包括:
当所述需要进行色相值比较的像素的色相值与其相邻像素的色相值的色 相值差异小于第一预设值时,按照预设比例改变所述需要进行色相值比较的像 素的权重值。
4、 根据权利要求 3所述的方法, 其特征在于, 所述当所述需要进行色相 值比较的像素的色相值与其相邻像素的色相值的色相值差异小于预设值时,按 照预设比例改变所述需要进行色相值比较的像素的权重值, 包括:
当所述需要进行色相值比较的像素色相值与其左侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高所述需要进行色相值比较的像素 的权重值;
或者,
当所述需要进行色相值比较的像素色相值与其右侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高所述需要进行色相值比较的像素 的权重值;
或者,
当所述需要进行色相值比较的像素色相值与其上侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高所述需要进行色相值比较的像素 的权重值;
或者,
当所述需要进行色相值比较的像素色相值与其下侧像素的色相值的色相 值差异小于第一预设值时,按照预设比例提高所述需要进行色相值比较的像素 的权重值。
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述根据获取 的部分或全部像素的亮度值和饱和度值确定需要进行色相值比较的像素, 包 括:
将获取的部分或全部像素的亮度值和饱和度值的乘积与第二预设值进行 比较,将亮度值和饱和度值的乘积不小于第二预设值的像素确定为需要进行色 相值比较的像素。
6、 根据权利要求 2至 5任一项所述的方法, 其特征在于, 所述根据所述 需要进行色相值比较的像素的预设权重值、 亮度值和饱和度值确定所述需要进 行色相值比较的像素的权重值, 包括:
将所述需要进行色相值比较的像素的预设权重值、 亮度值和饱和度值相 乘, 得到所述需要进行色相值比较的像素的权重值;
或者,
将所述需要进行色相值比较的像素的预设权重值、 亮度值和饱和度值的乘 积除以第三预设值, 得到所述需要进行色相值比较的像素的权重值。
7、 根据权利要求 1至 6任一项所述的方法, 其特征在于, 所述获取图像 的部分或全部像素的颜色信息之前, 所述方法还包括:
压缩所述图像。
8、 根据权利要求 1至 7任一项所述的方法, 其特征在于, 所述多个候选 颜色的数量为 6-12个。
9、 根据权利要求 1至 8任一项所述的方法, 其特征在于, 所述获取图像 的部分像素的颜色信息包括: 釆用隔行扫描或隔点扫描的方式获取图像的像素 的颜色信息; 所述获取图像的全部像素的颜色信息包括: 获取图像的每一个像素的颜色 信息。
10、 一种确定图像色相的无线手持设备, 其特征在于, 所述无线手持设备 包括:
颜色获取模块, 用于获取图像的部分或全部像素的颜色信息, 所述颜色信 息包括色相值、 亮度值和饱和度值;
像素确定模块, 用于根据获取的部分或全部像素的亮度值和饱和度值确定 需要进行色相值比较的像素;
权值累加模块, 用于将所述需要进行色相值比较的像素的色相值与预设的 多个候选颜色的色相值进行比较,确定与所述需要进行色相值比较的像素的色 相值最接近的候选颜色, 并将所述需要进行色相值比较的像素的权重值累加到 与其最接近的候选颜色的权重值上, 所述多个候选颜色的色相值在色相环上均 匀覆盖;
色相确定模块, 用于将权重值最高的候选颜色的色相作为所述图像的色 相。
11、 根据权利要求 10所述的无线手持设备, 所述无线手持设备还包括: 权值确定模块, 用于在将所述需要进行色相值比较的像素的色相值与预设 的多个候选颜色的色相值进行比较之前,根据所述需要进行色相值比较的像素 的预设权重值、 亮度值和饱和度值确定所述需要进行色相值比较的像素的权重 值。
12、 根据权利要求 10或 11所述的无线手持设备, 其特征在于, 所述无线 手持设备还包括:
权值改变模块, 用于在将所述需要进行色相值比较的像素的色相值与预设 的多个候选颜色的色相值进行比较之前, 当所述需要进行色相值比较的像素的 色相值与其相邻像素的色相值的色相值差异小于第一预设值时,按照预设比例 改变所述需要进行色相值比较的像素的权重值。
13、 根据权利要求 12所述的无线手持设备, 其特征在于, 所述权值改变 模块包括以下至少一种模块:
第一权值改变模块, 用于当所述需要进行色相值比较的像素色相值与其左 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高所述需要 进行色相值比较的像素的权重值;
第二权值改变模块, 用于当所述需要进行色相值比较的像素色相值与其右 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高所述需要 进行色相值比较的像素的权重值;
第三权值改变模块, 用于当所述需要进行色相值比较的像素色相值与其上 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高所述需要 进行色相值比较的像素的权重值;
第四权值改变模块, 用于当所述需要进行色相值比较的像素色相值与其下 侧像素的色相值的色相值差异小于第一预设值时,按照预设比例提高所述需要 进行色相值比较的像素的权重值。
14、 根据权利要求 10至 1 3任一项所述的无线手持设备, 其特征在于, 所 述像素确定模块, 具体用于:
将获取的部分或全部像素的亮度值和饱和度值的乘积与第二预设值进行 比较,将亮度值和饱和度值的乘积不小于第二预设值的像素确定为需要进行色 相值比较的像素。
15、 根据权利要求 11至 14任一项所述的无线手持设备, 其特征在于, 所 述权值确定模块包括以下至少一种模块:
第一权值确定模块, 用于将所述需要进行色相值比较的像素的预设权重 值、 亮度值和饱和度值相乘, 得到所述需要进行色相值比较的像素的权重值; 第二权值确定模块, 用于将所述需要进行色相值比较的像素的预设权重 值、 亮度值和饱和度值的乘积除以第三预设值, 得到所述需要进行色相值比较 的像素的权重值。
16、 根据权利要求 10至 15任一项所述的无线手持设备, 其特征在于, 所 述无线手持设备还包括:
压缩模块, 用于在获取图像的部分或全部像素的颜色信息之前, 压缩所述 图像。
17、 根据权利要求 10至 16任一项所述的无线手持设备, 其特征在于, 所 述多个候选颜色的数量为 6-12个。
18、 根据权利要求 10至 17任一项所述的无线手持设备, 其特征在于, 所 述颜色获取模块至少包括以下至少一种模块:
第一颜色获取模块, 用于釆用隔行扫描或隔点扫描的方式获取图像的像素 的颜色信息, 所述颜色信息包括色相值、 亮度值和饱和度值;
第二颜色获取模块, 用于获取图像的每一个像素的颜色信息, 所述颜色信 息包括色相值、 亮度值和饱和度值。
PCT/CN2012/087319 2012-02-10 2012-12-24 一种确定图像色相的方法和无线手持设备 WO2013117110A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014555925A JP5896497B2 (ja) 2012-02-10 2012-12-24 画像の色相を決定するための方法およびワイヤレスハンドヘルドデバイス
KR1020147024115A KR101619287B1 (ko) 2012-02-10 2012-12-24 이미지 색상을 결정하는 방법 및 무선 핸드헬드 기기

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210030189.X 2012-02-10
CN201210030189XA CN102694958B (zh) 2012-02-10 2012-02-10 一种确定图像色相的方法和无线手持设备

Publications (1)

Publication Number Publication Date
WO2013117110A1 true WO2013117110A1 (zh) 2013-08-15

Family

ID=46860226

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087319 WO2013117110A1 (zh) 2012-02-10 2012-12-24 一种确定图像色相的方法和无线手持设备

Country Status (7)

Country Link
US (2) US8577133B2 (zh)
EP (1) EP2627069B1 (zh)
JP (1) JP5896497B2 (zh)
KR (1) KR101619287B1 (zh)
CN (1) CN102694958B (zh)
ES (1) ES2573801T3 (zh)
WO (1) WO2013117110A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377860A (zh) * 2019-07-18 2019-10-25 百度(中国)有限公司 一种页面颜色调整方法、装置及电子设备

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694958B (zh) * 2012-02-10 2013-12-18 华为终端有限公司 一种确定图像色相的方法和无线手持设备
US9854970B2 (en) * 2012-02-21 2018-01-02 Massachusetts Eye & Ear Infirmary Calculating conjunctival redness
CN103024354B (zh) * 2012-12-11 2015-11-25 华为技术有限公司 颜色匹配方法及装置
EP3954269A1 (en) 2014-05-02 2022-02-16 Massachusetts Eye & Ear Infirmary Grading corneal fluorescein staining
KR102340289B1 (ko) * 2014-08-20 2021-12-17 삼성디스플레이 주식회사 표시 패널의 구동 방법 및 이를 수행하기 위한 표시 장치
US9430848B1 (en) 2014-09-02 2016-08-30 Google Inc. Monochromatic image determination
US10997700B2 (en) 2017-12-29 2021-05-04 Idemia Identity & Security USA LLC System and method for normalizing skin tone brightness in a portrait image
CN112037160B (zh) * 2020-08-31 2024-03-01 维沃移动通信有限公司 图像处理方法、装置及设备
CN113747251A (zh) * 2021-08-20 2021-12-03 武汉瓯越网视有限公司 图像色调调整方法、存储介质、电子设备及系统
CN113570597A (zh) * 2021-09-01 2021-10-29 南通中煌工具有限公司 基于人工智能的泥头车车厢脏污程度的判定方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10210308A (ja) * 1997-01-21 1998-08-07 Sanyo Electric Co Ltd 画像データ処理方法及び記録媒体
CN101231757A (zh) * 2007-12-07 2008-07-30 北京搜狗科技发展有限公司 一种图片主色调分析方法、装置及其在图片搜索中的应用
CN101459855A (zh) * 2007-12-12 2009-06-17 钰瀚科技股份有限公司 彩色影像质量调节系统及方法
CN101964874A (zh) * 2009-07-23 2011-02-02 卡西欧计算机株式会社 图像处理装置及图像处理方法
CN102694958A (zh) * 2012-02-10 2012-09-26 华为终端有限公司 一种确定图像色相的方法和无线手持设备

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3747589B2 (ja) * 1997-09-17 2006-02-22 コニカミノルタビジネステクノロジーズ株式会社 画像特徴量比較装置および画像特徴量比較プログラムを記録した記録媒体
GB9810771D0 (en) * 1998-05-19 1998-07-15 Active Silicon Limited Method of detecting colours
KR100378351B1 (ko) * 2000-11-13 2003-03-29 삼성전자주식회사 색-텍스추어 거리 측정 방법 및 장치와 이를 이용한영상의 영역 구분 방법 및 장치
JP2003216948A (ja) 2002-01-24 2003-07-31 Nippon Hoso Kyokai <Nhk> 代表色抽出装置及び代表色抽出プログラム
JP4556523B2 (ja) * 2004-07-16 2010-10-06 ソニー株式会社 ビデオ信号処理装置、ビデオ信号処理方法
JP4277773B2 (ja) 2004-09-21 2009-06-10 株式会社日立製作所 映像表示装置
TWI309136B (en) 2005-12-01 2009-04-21 Novatek Microelectronics Corp Apparatus for adjusting specific color attributes and method thereof
CN100574363C (zh) * 2006-03-21 2009-12-23 晨星半导体股份有限公司 色相调整系统及其调整方法
CN101221740B (zh) 2007-01-08 2010-06-09 鸿富锦精密工业(深圳)有限公司 电子相框
US7679796B2 (en) * 2007-02-02 2010-03-16 Kabushiki Kaisha Toshiba Image processing apparatus and image processing method
CN101615967B (zh) * 2008-06-26 2011-04-20 华为技术有限公司 一种业务数据的发送、接收方法、装置和系统
US8290252B2 (en) 2008-08-28 2012-10-16 Microsoft Corporation Image-based backgrounds for images
US8218860B1 (en) * 2008-08-28 2012-07-10 Adobe Systems Incorporated Method and system for replacing color ranges in an image
US20100254597A1 (en) 2009-04-07 2010-10-07 Jonathan Yen System and method for facial tone indexing
JP5511467B2 (ja) 2009-04-13 2014-06-04 キヤノン株式会社 画像処理装置およびその制御方法、並びにプログラム
JP5149858B2 (ja) 2009-04-20 2013-02-20 富士フイルム株式会社 カラー画像の代表色決定装置およびその動作制御方法
TWI411968B (zh) * 2009-12-31 2013-10-11 Via Tech Inc 圖像特徵計算方法以及圖像檢索方法
US8861851B2 (en) * 2011-05-13 2014-10-14 Dolby Laboratories Licensing Corporation Color highlight reconstruction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10210308A (ja) * 1997-01-21 1998-08-07 Sanyo Electric Co Ltd 画像データ処理方法及び記録媒体
CN101231757A (zh) * 2007-12-07 2008-07-30 北京搜狗科技发展有限公司 一种图片主色调分析方法、装置及其在图片搜索中的应用
CN101459855A (zh) * 2007-12-12 2009-06-17 钰瀚科技股份有限公司 彩色影像质量调节系统及方法
CN101964874A (zh) * 2009-07-23 2011-02-02 卡西欧计算机株式会社 图像处理装置及图像处理方法
CN102694958A (zh) * 2012-02-10 2012-09-26 华为终端有限公司 一种确定图像色相的方法和无线手持设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377860A (zh) * 2019-07-18 2019-10-25 百度(中国)有限公司 一种页面颜色调整方法、装置及电子设备

Also Published As

Publication number Publication date
US8948504B2 (en) 2015-02-03
ES2573801T3 (es) 2016-06-10
KR20140128377A (ko) 2014-11-05
CN102694958A (zh) 2012-09-26
CN102694958B (zh) 2013-12-18
US20140037201A1 (en) 2014-02-06
JP5896497B2 (ja) 2016-03-30
KR101619287B1 (ko) 2016-05-10
EP2627069B1 (en) 2016-03-16
US20130208981A1 (en) 2013-08-15
EP2627069A1 (en) 2013-08-14
US8577133B2 (en) 2013-11-05
JP2015512194A (ja) 2015-04-23

Similar Documents

Publication Publication Date Title
WO2013117110A1 (zh) 一种确定图像色相的方法和无线手持设备
US10827140B2 (en) Photographing method for terminal and terminal
TWI696146B (zh) 影像處理方法、裝置、電腦可讀儲存媒體和行動終端
CN107438163B (zh) 一种拍照方法、终端及计算机可读存储介质
CN107038715B (zh) 一种图像处理方法及装置
CN104517268B (zh) 调整图像亮度的方法及装置
US20180152611A1 (en) Photographing Method, Photographing Apparatus, and Terminal
TWI433531B (zh) 啟動拍攝靜態畫面的方法與其系統
CN107846554B (zh) 一种图像处理方法、终端和计算机可读存储介质
CN103617792A (zh) 一种调节显示终端画面显示的方法及其显示终端
US11546531B2 (en) Camera assembly, image acquisition method, and mobile terminal
US9432645B2 (en) Information processing method and electronic device
CN108280813A (zh) 一种图像处理方法、终端及计算机可读存储介质
CN108200352B (zh) 一种调解图片亮度的方法、终端及存储介质
CN113132696A (zh) 图像色调映射方法、装置、电子设备和存储介质
WO2022218245A1 (zh) 图像处理方法、装置、电子设备及可读存储介质
WO2017057926A1 (ko) 디스플레이 장치 및 이의 제어 방법
US10951816B2 (en) Method and apparatus for processing image, electronic device and storage medium
TWI326189B (en) Method and apparatus for suppressing cross-color in a video display device
CN114143523A (zh) 亮度调节方法、装置、投影设备及存储介质
TWI415480B (zh) 影像處理方法與影像處理系統
US11348365B2 (en) Skin color identification method, skin color identification apparatus and storage medium
CN108053453B (zh) 一种颜色的优化方法、终端及计算机可读存储介质
CN115118963A (zh) 画质调整方法、电子设备及存储介质
KR20220014801A (ko) 이미지 처리 방법, 장치 및 저장 매체

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12867896

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014555925

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20147024115

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 12867896

Country of ref document: EP

Kind code of ref document: A1