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

An image alpha blending method based on floating point pixel data

A technology of pixel mixing and pixel data, applied in image data processing, image enhancement, image analysis and other directions, can solve the problems of slow speed and single mixing method, and achieve the effect of reducing mixing process, improving mixing speed and reducing mixing.

Active Publication Date: 2021-10-15
芯瞳半导体技术(山东)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to solve the technical problems of slow speed and single mixing method in the existing image mixing method, and provide an image Alpha mixing method based on floating-point pixel data

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
  • An image alpha blending method based on floating point pixel data
  • An image alpha blending method based on floating point pixel data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] To implement the floating-point multiply-accumulate method, perform the following steps:

[0073] 1) Obtain pixel information such as floating-point source color FP_Cs, floating-point target color FP_Cd, and color constants, and perform data transfer;

[0074] 2) Perform 1-FP_As operation, FP_As is the Alpha value of the floating-point source color;

[0075] 3) Select the larger value in 1-FP_As and FP_Ad as an option for the next data selection, the formula is M=Max(1-FP_As, FP_Ad), and FP_Ad is the Alpha value of the floating-point target color;

[0076] 4) Obtain the floating-point source factor FP_S and the floating-point target factor FP_D;

[0077] Select one of the floating-point source color, floating-point target color, color constant, the M value of step 3) and the constant 0 as the floating-point source factor; select the floating-point source color, floating-point target color, color constant, step 3) The M value and one of the constants 0 are used as the ...

Embodiment 2

[0085] To implement floating-point subtractive color blending, perform the following steps:

[0086] 1) Obtain pixel information such as floating-point source color FP_Cs, floating-point target color FP_Cd, and color constants, and perform data transfer;

[0087] 2) Perform 1-FP_As operation, FP_As is the Alpha value of the floating-point source color;

[0088] 3) Select the larger value in 1-FP_As and FP_Ad as an option for the next data selection, the formula is M=Max(1-FP_As, FP_Ad), and FP_Ad is the Alpha value of the floating-point target color FP_Cd;

[0089] 4) Carry out mixing factor data selection in the floating-point source color, the floating-point target color, the M value of step 3), the color constant and the constant 0, obtain the floating-point source factor FP_S and the floating-point target factor FP_D;

[0090] 5) Multiply the floating-point source color by the floating-point source factor, and multiply the floating-point target factor by the 0-floating-po...

Embodiment 3

[0097] To implement floating-point inverse subtractive color blending, perform the following steps:

[0098] 1) Obtain pixel information such as floating-point source color FP_Cs, floating-point target color FP_Cd, and color constants, and perform data transfer;

[0099] 2) Perform 1-FP_As operation, FP_As is the Alpha value of the floating-point source color;

[0100] 3) Select the larger value in 1-FP_As and FP_Ad as an option for the next data selection, the formula is M=Max(1-FP_As, FP_Ad), and FP_Ad is the Alpha value of the floating-point target color;

[0101] 4) Obtain the floating-point source factor FP_S and the floating-point target factor FP_D;

[0102] Select one of the floating-point source color, the floating-point target color, the color constant, the M value in step 3) and the constant 0 as the floating-point source factor;

[0103] Select one of the floating-point source color, the floating-point target color, the color constant, the M value of step 3) and ...

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 relates to an image alpha blending method based on floating-point pixel data, which mainly solves the problems of slow speed and single blending mode in the existing image blending method. The method comprises the following steps: 1) obtaining the floating-point source color FP_Cs, the floating-point target color FP_Cd and the color constant; 2) performing 1-FP_As operation, and FP_As is the Alpha value of the floating-point source color; 3) selecting 1-FP_As and FP_Ad The larger value is taken as M, M=Max(1-FP_As, FP_Ad), and FP_Ad is the Alpha value of the floating-point target color; 4) Get the floating-point source factor FP_S and the floating-point target factor FP_D: 5) For the floating-point source Color, floating-point target color, floating-point source factor and floating-point target factor are processed to obtain a floating-point pixel mixing result; 6) Judging the overflow of the floating-point pixel mixing result.

Description

technical field [0001] The invention relates to the field of computer graphics processing, in particular to an image Alpha blending method based on floating-point pixel data. Background technique [0002] The Alpha blending unit is the key module of the GPU (Graphics Processing Unit) to complete the image blending function. It is at the end of the graphics rendering pipeline and is responsible for the blending of foreground pixels and background pixels. A single Alpha blending method will bring a blunt visual experience. For different rendering scenarios, the GPU uses various blending methods to restore the visual relationship in the real world, thereby improving the authenticity of the rendering scene. In recent years, with the advancement of semiconductor technology and the development of computer graphics, the quality of computer-synthesized images has been greatly improved, and the effect of image blending on the authenticity of the scene is more prominent. [0003] The...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T5/50
CPCG06T5/50G06T2207/20221
Inventor 张丽果黄世远郝武杜慧敏曾泽沧
Owner 芯瞳半导体技术(山东)有限公司
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