Color stretching method and system for rgb mode image
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A pattern image and stretching system technology, applied in the field of color stretching methods and systems, can solve problems such as large amount of computation, and achieve the effect of saving the calculation process and reducing the amount of color stretching computation
Active Publication Date: 2017-12-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0006] In the traditional method, when the fragment renderer in the graphics processor performs color stretching on the RGB mode image, it needs to perform stretching calculation on the R color value, G color value and B color value of all texel elements of the texture of the image, for An image with a width of M pixels and a height of N pixels needs to be stretched and calculated M×N×3 times, and the amount of calculation is very large
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment Construction
[0025] Such as figure 1 Shown, in one embodiment, a kind of color stretching method of RGB mode image, comprises the following steps:
[0026] Step S102, acquiring the color value of the texel currently processed by the fragment renderer in the texture of the RGB mode image. The color values include R color values, G color values, and B color values.
[0027] In one embodiment, before step S102, the color stretching method of the above-mentioned RGB mode image further includes the following steps: converting the RGB mode image to be processed into a texture; uploading the texture of the RGB mode image to a graphics processor; The processor preprocesses the texture of the uploaded RGB mode image; obtains the texture elements of the preprocessed texture one by one and sends them to the fragment renderer.
[0028] After the texture of the RGB mode image is uploaded to the graphics processor, the graphics processor performs related processing on the texture. The rasterization...
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
Login to view more
Abstract
A color stretching method for an RGB mode image, comprising the following steps: acquiring the color value of a texture element currently processed by a fragment renderer in a texture of an RGB mode image; reading the column corresponding to the color value from the RGB stretched value texture The color stretching value stored on the above; construct the color stretching image of the RGB mode image according to the read color stretching value; the color value within the value range of the corresponding base color is sequentially stored in the channel of the RGB stretching value texture The color stretch value. In the above method, the fragment renderer only needs to find the color stretch value stored in the column corresponding to the corresponding channel in the RGB stretch value texture of the color value of the currently processed texel to obtain the color of the currently processed texel The stretch value saves the calculation process of the color stretch value, thereby reducing the amount of color stretch calculation. In addition, a color stretching system for images in RGB mode is also provided.
Description
【Technical field】 [0001] The invention relates to image processing technology, in particular to a color stretching method and system for RGB mode images. 【Background technique】 [0002] Most colors can be produced by combining red, green, and blue colors with a certain color value. Therefore, red, green, and blue are also called primary colors. The color range of red, green, and blue is 0-255. The image in RGB mode includes R channel, G channel and B channel, which are used to store the R color value, G color value and B color value of all pixels in the image respectively, and the R color value, G color value and B color value of the pixel represent respectively Composite the red, green, blue color values of the pixel's color. When calculating the R color value, G color value, and B color value, the R color value, G color value, and B color value are generally normalized, that is, divided by 255, and the decimal obtained after dividing by 255 is used as The correspondin...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.