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

A method and device for image processing

An image processing and image pixel technology, applied in the field of image processing, can solve the problem of occupying a large area of ​​code, and achieve the effect of reducing the required area and improving the utilization rate of power consumption

Active Publication Date: 2018-08-31
FUZHOU ROCKCHIP SEMICON
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, it is necessary to provide a method and device for image processing to solve the problem that the graphics and image processing process takes up code or a large area

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
  • A method and device for image processing
  • A method and device for image processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0035] see figure 1 In this embodiment, an image processing method is used to process the mixture of source image pixels and background pixels. This method needs to calculate the target alpha value and target color value, and the target alpha value and target color value can be used for image display. The method of the present invention can be run on figure 2 in the device.

[0036] Specifically, this method includes the following steps: step S101 obtains the source image alpha value (As), the source image global alpha value (Ags) and the source image color value (Cs) of the source image pixel; (src_blend_mode) Select the alpha value of the source image, the global alpha value of the source image, or the product value of the alpha ...

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 an image processing method and an image processing device. The image processing method is used for processing mixture of source image pixel points and background pixel points, and comprises the steps of: acquiring a source image alpha value, a source image global alpha value and a source image color value of the source image pixel points; selecting the source image alpha value, the source image global alpha value, or a product value of the source image alpha value and the source image global alpha value as a source image calculation value according to a source image blending mode value; selecting 0, 256, the source image calculation value, a difference value between 256 and the source image calculation value, or a background estimated value as a background factor value according to a source image blending factor value; and calculating a source picture color calculation value according to the source image color value and the source image calculation value. The image processing method integrates mix_alpha and port_duff alpha calculation algorithms, simplifies logic corresponding to the two different algorithms, reduces area required by alpha operating hardware, and improves power utilization rate.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to an image processing method and device. Background technique [0002] Alpha blending technology has important applications in the current computer graphics and image operations, and is involved in many technical fields such as game interfaces, drawing operations, and image processing. Generally, the alpha blending will use the mix-alpha blending algorithm and the port_duff alpha blending algorithm. These two types of algorithms can enable operations such as alpha superposition between images. However, they are all independently developed into different modules, 2 sets of completely independent computing modes, 2 sets of independent algorithms cannot be reused, and they are also separated in hardware implementation. [0003] Such two sets of independent algorithms occupy a large and complex code when implemented in software, and occupy a large chip area when imple...

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): G06T1/00G06T5/00G06T7/00
CPCG06T1/20G06T5/50
Inventor 郑天翼
Owner FUZHOU ROCKCHIP SEMICON
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