Unlock instant, AI-driven research and patent intelligence for your innovation.

Color migration processing method and system

A processing method and processing system technology, applied in the direction of image signal generators, etc., can solve problems such as inability to process video streams, slow speed, etc., and achieve the effect of improving user experience and speeding up

Active Publication Date: 2012-05-09
WONDERSHARE TECH CO LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these existing color shifting schemes similar to those in Camera360 can only perform color shifting on captured pictures, that is, they can only process a single picture, but cannot process video streams, and the existing color shifting schemes are performing color shifting Slower when processing

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
  • Color migration processing method and system
  • Color migration processing method and system
  • Color migration processing method and system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0053] See figure 1 Is a flowchart of the first embodiment of the color shift processing method provided by the present invention, and the method includes:

[0054] In step S100, video frames are collected and the hue value requirements of the target color are determined.

[0055] In step S101, for each video frame, the hue value of each pixel in the video frame is calculated according to a preset hue calculation formula.

[0056] In step S102, the pixel in the video frame whose hue value does not meet the hue value requirement of the target color is used as the pixel to be converted, and the pixel to be converted is converted into gray pixels according to the preset pixel conversion formula to generate a new video after color shift processing. frame.

[0057] The color shift processing method provided by the embodiment of the present invention judges whether the color of the pixel is the target color that needs to be retained by the hue value of the pixel, which speeds up the color s...

no. 2 example

[0058] See figure 2 , Is a flowchart of the second embodiment of the color shift processing method provided by the present invention, the method includes:

[0059] In step S200, video frames are collected. You can capture the video frame captured by the camera, or capture the video frame in the video file being played. When capturing video frames captured by the camera, you can do it in video mode or in photo preview mode. In other words, the present invention can perform color shift processing on video stream data in real time, and is not limited to performing color shift processing on static pictures.

[0060] In step S201, a reference area on the captured video frame is acquired. Specifically, the reference area selection instruction input by the user may be received. For example, the user can use the marquee tool or the magic wand tool to select a certain size of the typical area with the target color that it wants to retain as the reference area in the video frame image cu...

no. 3 example

[0068] See image 3 , Is a flowchart of the third embodiment of the color shift processing method provided by the present invention, and the method includes:

[0069] In step S300, video frames are collected.

[0070] In step S301, a reference area on the captured video frame is acquired.

[0071] In step S302, the hue value range of the target color is determined according to the obtained hue value distribution of the pixels in the reference area. The method described in steps S303-S306 can be used to calculate the hue value of the pixel.

[0072] In step S303, for each video frame, in the RGB color space, determine the brightness value of each pixel in the video frame in the R color channel, G color channel, and B color channel, and use the maximum brightness value as the pixel's brightness value. The maximum brightness of the pixel, the minimum brightness value is used as the minimum brightness of the pixel. Specifically, determine the brightness value R of each pixel in the R co...

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 embodiment of the invention discloses a color migration processing method which comprises the following steps of: collecting video frames and determining a hue value requirement of a target color; and calculating the hue value of each pixel in each video frame according to a preset hue calculation formula by aiming at each video frame; and taking pixel, the hue value of which does not meet the hue value requirement of the target color in the video frame, as a pixel to be transformed, and transforming the pixel to be transformed into a gray pixel according to a preset pixel transformation formula to generate a new video frame after color migration processing. The embodiment of the invention also discloses a color migration processing system. According to the invention, the speed of color migration processing is quicker, the color migration processing can be carried out on a video stream in real time, and the video stream is displayed for user in a what-you-see-is-what-you-get real-time manner, thus not only can a single picture be processed, but also video and camera data can be processed in real time, therefore, the user experience is improved.

Description

Technical field [0001] The invention relates to the field of image processing, in particular to a color shift processing method and system. Background technique [0002] At present, with the development of technology, more and more mobile phones or PCs (Personal Computers, personal computers) are equipped with camera and camera functions. After the user uses a mobile phone or PC to take a video or take a photo, he hopes to process the captured image or picture, such as color shift processing. The core idea of ​​color shift processing is to preserve the color of a certain hue in the picture frame, and convert the color of other hue to gray. It generally has two ways to interact with the user: one is that the user specifies that a certain color needs to be retained, and the color shift algorithm removes other colors to turn gray; the other is that the user specifies a certain area, and the color shift algorithm determines the main Color, remove other colors in the picture and tur...

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 Applications(China)
IPC IPC(8): H04N9/04
Inventor 李云夕谢军波
Owner WONDERSHARE TECH CO LTD