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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com