Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

YUV-HSV color space transformation method and system

A technology of color space and conversion method, which is applied in the field of conversion method and system from YUV to HSV color space, can solve problems such as difficulty in maintaining tables, difficulty in positioning, etc., and achieves the effects of simplifying the amount of calculation, concise operation, and saving time

Inactive Publication Date: 2016-08-10
LETV HLDG BEIJING CO LTD +1
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the color range is [0,255], if you want to look up the table, the R channel needs a dimension of 256*256, the G channel needs a dimension of 256*256*256, and the B needs a dimension of 256*256. To maintain such a large table is Very difficult, it is very difficult for the computer to quickly locate in such a huge table

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • YUV-HSV color space transformation method and system
  • YUV-HSV color space transformation method and system
  • YUV-HSV color space transformation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0072] Such as figure 1 As shown, the present invention provides a kind of YUV to an embodiment of the conversion method of HSV color space, comprising:

[0073] Step 101 converts each pixel of the picture in the YUV format into the corresponding value R'G'B' of the RGB format that removes the Y component by looking up the pre-calculated YUV to RGB correspondence table;

[0074] Step 102 converts the corresponding value R'G'B' of each pixel in RGB format to the corresponding value in HSV format.

[0075] Such as figure 2 As shown, the present invention provides another embodiment of a conversion method from YUV to HSV color space, including:

[0076] Step 201: Convert each pixel of the picture in YUV format to the cor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a YUV-HSV color space transformation method and system, relating to the image processing field. The method comprises the steps of: through checking a precomputed YUV-RGB corresponding relation table, converting each pixel point of an image in a YUV format into a corresponding value R'G'B' of an RGB format with Y component being removed; and converting the corresponding value R'G'B' of each pixel in an RGB format into a corresponding value in an HSV format. The algorithm increases an algorithmic speed under the condition of guaranteeing precision, allows a computer to rapidly perform positioning in the table, and converts a YUV channel to an HSV channel fast.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to a conversion method and system from YUV to HSV color space. Background technique [0002] In the current video encoding and decoding process, the format of the image is often YUV format. If image processing is performed on this basis, the color space needs to be converted. Usually, it will be converted to the RGB color space. For a deeper level, it needs to be converted to HSV color space. [0003] In the existing technology, the conversion from YUV to HSV needs to be converted to RGB first, and then converted to HSV. [0004] The traditional YUV to RGB formula is: [0005] R=Y+1.402*(V-128) [0006] G=Y–0.344*(U-128)–0.714*(V-128) [0007] B=Y+1.772*(U-128) [0008] The formula for converting traditional RGB to HSV is [0009] V max =max(R,G,B) [0010] V min =min(R,G,B) [0011] H = ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N9/64
CPCH04N9/64
Inventor 杨帆白茂生魏伟蔡砚刚刘阳
Owner LETV HLDG BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products