CN102547136B - Special effect graph processing method and system for images with multiply pixel ratios - Google Patents

Special effect graph processing method and system for images with multiply pixel ratios Download PDF

Info

Publication number
CN102547136B
CN102547136B CN201010597857.8A CN201010597857A CN102547136B CN 102547136 B CN102547136 B CN 102547136B CN 201010597857 A CN201010597857 A CN 201010597857A CN 102547136 B CN102547136 B CN 102547136B
Authority
CN
China
Prior art keywords
image
pixel
special effect
input
effect graph
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010597857.8A
Other languages
Chinese (zh)
Other versions
CN102547136A (en
Inventor
见良
郑鹏程
刘铁华
李磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing culture science and technology finance leasing Limited by Share Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201010597857.8A priority Critical patent/CN102547136B/en
Publication of CN102547136A publication Critical patent/CN102547136A/en
Application granted granted Critical
Publication of CN102547136B publication Critical patent/CN102547136B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a special effect graph processing method and a special effect graph processing system for images with multiply pixel ratios. The method and the system are applied according to the following steps of: firstly, checking whether the pixel ratios of all input images of a node are the same and if yes, directly outputting the images; and if no, further providing different selection modes for the pixel ratios of the input and output images according to the number of the input images of the node. By the method and the system which are disclosed by the invention, a user can carry out mixed processing on the image with any pixel ratio in a special effect graph and the correct visual effect can be ensured. The times of carrying out pixel ratio conversion on the image in the special effect graph are effectively reduced. The processing efficiency is improved.

Description

A kind of many pixels are than the Special effect graph processing method of image and system
Technical field
The invention belongs to Video processing and composite software technical field, be specifically related to a kind of many pixels than the Special effect graph processing method of image and system.
Background technology
In video later stage special effect processing and composite software, often the mode with special effect graph is processed video and image, base unit in special effect graph is node, a node often has multiple inputs and an output, and the input of these nodes has formed whole special effect graph with output interconnection.Because the video that compares at present main flow exists a variety of pixel ratios with picture format, such as for PAL (Phase Alternating Line, line-by-line inversion) picture the ratio of width to height is 4: 3 in the color-code of standard video pixel ratio is 16: 15, and the pixel ratio of HD video is 1: 1.Therefore a node likely can be processed the input picture of different pixels ratio, and it is wrong directly processing the result drawing if do not consider in this case the pixel ratio of input picture.Existing domestic software is generally that considered pixel is not than problem, and consequently just circle becomes ellipse, and square becomes rectangle, but user is difficult for observing out this situation in the situation that pixel is more little than difference.
Summary of the invention
For the defect existing in prior art, the object of the present invention is to provide a kind of many pixels than the Special effect graph processing method of image and system, can carry out hybrid-type processing to the image of any pixel ratio by the method and system, and ensure correct visual effect.
For solving the problems of the technologies described above, the technical solution used in the present invention is as follows:
(1) will need image to be processed to input from special effect graph node;
(2) check that the pixel of all input pictures of node is more consistent than whether, if input picture is directly exported; Enter if not step (3);
(3) whether the number of checking node input picture is 2, if determine that one of them is primary input image, another is shade input picture, by the pixel of the output image of node than the pixel ratio that is made as primary input image, and by the pixel of shade input picture than the pixel ratio that is transformed to primary input image, image is exported; If not by the pixel of the output image of node than the pixel ratio being made as in the resolution of special effect graph, by the pixel of all input pictures than the pixel ratio being transformed in the resolution of special effect graph, output image.
Further, the Special effect graph processing method of image as above, the resolution that described in step (3), the resolution of special effect graph is whole special effect graph; Pixel in the resolution of described special effect graph, than the pixel ratio for last special effect graph output image, is set by the user.
Further again, the Special effect graph processing method of image as above, shade input picture described in step (3) refers to for controlling the shade image of node to input picture process range.
Further, the Special effect graph processing method of image as above, in step (3), primary input image and shade input picture definite is by the type decided of node.
Many pixels, than a special effect graph treatment system for image, comprise with lower device:
Image-input device: for needing image to be processed to input from special effect graph node;
Image processing apparatus: for input picture being converted to unified pixel ratio;
Image output device: for pixel is exported than input picture after reunification.
Further, the special effect graph treatment system of image as above, described image processing apparatus comprises that many pixels are than image processing module, this module is for more unified than the pixel ratio of input picture by many pixels.
Further again, the special effect graph treatment system of image as above, carry out many pixels by many pixels than image processing module more specific as follows than unified mode than the pixel of input picture:
Whether the pixel of all input pictures of first checking node is more consistent than, if input picture is directly exported by image output device; Enter if not many pixels and process than image processing module, be specially:
Whether the number of checking node input picture is 2, if determine that one of them is primary input image, another is shade input picture, the pixel of the output image of node is than the pixel ratio that is made as primary input image, by the pixel of shade input picture than the pixel ratio that is transformed to primary input image, by image output device output image; If not by the pixel of the output image of node than the pixel ratio being made as in the resolution of special effect graph, by the pixel of all input pictures than the pixel ratio being transformed in the resolution of special effect graph, by image output device output image.
Effect of the present invention is: by method and system of the present invention, user, by the unification of the pixel ratio to all input pictures, can carry out hybrid-type processing to the image of any pixel ratio, and ensure correct visual effect.In addition, method and system of the present invention can once complete the unification of all pixel ratios, has effectively reduced pixel in special effect graph and, than the number of times of conversion, has improved treatment effeciency.
Brief description of the drawings
Fig. 1 is that a kind of many pixels of the present invention are than the structured flowchart of the special effect graph treatment system of image;
Fig. 2 is that a kind of many pixels of the present invention are than the flow chart of the Special effect graph processing method of image.
Embodiment
Describe the present invention below in conjunction with embodiment and accompanying drawing.
Fig. 1 shows a kind of many pixels of the present invention than the structured flowchart of the special effect graph treatment system of image, and this system comprises with lower device:
Image-input device 11: for needing image to be processed to input from special effect graph node;
Image processing apparatus 12: for input picture being converted to unified pixel ratio;
Image output device 13: for pixel is exported than input picture after reunification.
Wherein, described image processing apparatus 12 comprise for by many pixels than the unified many pixels of the pixel of input picture than image processing module, many pixels are more specific as follows than unified mode than input image pixels:
Whether the pixel of all input pictures of first checking node is more consistent than, if input picture is directly exported by image output device; Enter if not many pixels and process than image processing module, be specially:
Whether the number of checking node input picture is 2, if determine that one of them is primary input image, another is shade input picture, the pixel of the output image of node is than the pixel ratio that is made as primary input image, by the pixel of shade input picture than the pixel ratio that is transformed to primary input image, by image output device output image; If not by the pixel of the output image of node than the pixel ratio being made as in the resolution of special effect graph, by the pixel of all input pictures than the pixel ratio being transformed in the resolution of special effect graph, by image output device output image.
Described shade input picture refers to the shade image for controlling the scope of node to input picture processing.In actual application, some user does not wish that a special efficacy works to whole input picture, such as the special efficacy of a reduction color saturation of image, user may only wish the part of human body in image to work, in order to reach this object, user need to generate a shade image (actual is exactly the gray level image that only contains a passage) and control with diverse ways (comprising button picture, Freehandhand-drawing rubbish shade etc.) the actual operative part of special efficacy.In general, gray scale is that peaked part is the part that special efficacy all comes into force, and is the complete infirm part of special efficacy and gray scale is minimum value, and median is that special efficacy comes into force and infirm gradual change part.
Fig. 2 shows in the present invention based on many pixels in Fig. 1 than a kind of many pixels of the special effect graph treatment system of image than the flow chart of the Special effect graph processing method of image, and the method comprises the following steps:
Step S21: input needs image to be processed;
To need image to be processed to input from special effect graph node by image-input device.
Step S22: all image pixels are directly exported than consistent image;
Whether the pixel of checking all input pictures of node is more consistent than, if input picture is directly exported by image output device 13; Enter if not step (3).
Step S23: many pixels are exported after reunification than the pixel ratio of image.
If the pixel of all input pictures is all more identical than not, whether the number of first checking node input picture is 2, if one of them is defined as to primary input image, another is shade input picture, by the pixel of the output image of node than the pixel ratio that is made as primary input image, the pixel of shade input picture, than the pixel ratio that is transformed to primary input image, is exported input picture by image output device 13; Primary input image and shade input picture are to be decided by concrete node, and such as first input of colour correction is exactly primary input, and second be exactly shade input.It is shade input that internal system of the present invention has unified mechanism can inquire which input.
If the number of node input picture is greater than two, pixel ratio in the resolution that is special effect graph by the pixel ratio of the output image of node, and by the pixel of all input pictures than the pixel ratio being transformed in the resolution of special effect graph, by image output device 13, input picture is exported.
Wherein, the resolution that the resolution of described special effect graph is whole special effect graph; Pixel in the resolution of described special effect graph is than the pixel ratio for last special effect graph output image, and this pixel is than being set by the user.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technology thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (6)

1. pixel more than, than a Special effect graph processing method for image, comprises the following steps:
(1) will need image to be processed to input from special effect graph node;
(2) check that the pixel of all input pictures of node is more consistent than whether, if input picture is directly exported; Enter if not step (3);
(3) whether the number of checking the input picture of node is 2, if determine that one of them is primary input image, another is shade input picture, by the pixel of the output image of node than the pixel ratio that is made as primary input image, and by the pixel of shade input picture than the pixel ratio that is transformed to primary input image, image is exported; If not by the pixel of the output image of node than the pixel ratio being made as in the resolution of special effect graph, by the pixel of all input pictures than the pixel ratio being transformed in the resolution of special effect graph, output image.
2. the Special effect graph processing method of image as claimed in claim 1, is characterized in that: the resolution that described in step (3), the resolution of special effect graph is whole special effect graph; Pixel in the resolution of described special effect graph, than the pixel ratio for last special effect graph output image, is set by the user.
3. the Special effect graph processing method of image as claimed in claim 1, is characterized in that: shade input picture described in step (3) refers to for controlling the shade image of node to input picture process range.
Image as claimed in claim 1 Special effect graph processing method, it is characterized in that: in step (3), primary input image and shade input picture definite is by the type decided of node.
5. pixel more than, than a special effect graph treatment system for image, comprises with lower device:
Image-input device: for needing image to be processed to input from special effect graph node;
Image processing apparatus: for input picture being converted to unified pixel ratio;
Image output device: for pixel is exported than input picture after reunification; Pixel is more specific as follows than unified mode:
Whether the pixel of all input pictures of first checking node is more consistent than, if input picture is directly exported by image output device; Enter if not many pixels and process than image processing module, be specially:
Whether the number of checking node input picture is 2, if determine that one of them is primary input image, another is shade input picture, the pixel of the output image of node is than the pixel ratio that is made as primary input image, by the pixel of shade input picture than the pixel ratio that is transformed to primary input image, by image output device output image; If not by the pixel of the output image of node than the pixel ratio being made as in the resolution of special effect graph, by the pixel of all input pictures than the pixel ratio being transformed in the resolution of special effect graph, by image output device output image.
6. the special effect graph treatment system of image as claimed in claim 5, is characterized in that: described image processing apparatus comprises that many pixels are than image processing module, and this module is for more unified than the pixel ratio of input picture by many pixels.
CN201010597857.8A 2010-12-21 2010-12-21 Special effect graph processing method and system for images with multiply pixel ratios Expired - Fee Related CN102547136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010597857.8A CN102547136B (en) 2010-12-21 2010-12-21 Special effect graph processing method and system for images with multiply pixel ratios

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010597857.8A CN102547136B (en) 2010-12-21 2010-12-21 Special effect graph processing method and system for images with multiply pixel ratios

Publications (2)

Publication Number Publication Date
CN102547136A CN102547136A (en) 2012-07-04
CN102547136B true CN102547136B (en) 2014-06-04

Family

ID=46352976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010597857.8A Expired - Fee Related CN102547136B (en) 2010-12-21 2010-12-21 Special effect graph processing method and system for images with multiply pixel ratios

Country Status (1)

Country Link
CN (1) CN102547136B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6198873B1 (en) * 1995-09-08 2001-03-06 Sony Corporation Editing system and video signal output system
JP2002320140A (en) * 2001-04-20 2002-10-31 Sony Corp Image switch
CN101031065A (en) * 2007-04-27 2007-09-05 华为技术有限公司 Method, apparatus and system for switching pictures in video service
CN101257607A (en) * 2008-03-12 2008-09-03 中兴通讯股份有限公司 Multiple-picture processing system and method for video conference
CN101399928A (en) * 2007-09-29 2009-04-01 新奥特硅谷视频技术有限责任公司 Non-linear editing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6198873B1 (en) * 1995-09-08 2001-03-06 Sony Corporation Editing system and video signal output system
JP2002320140A (en) * 2001-04-20 2002-10-31 Sony Corp Image switch
CN101031065A (en) * 2007-04-27 2007-09-05 华为技术有限公司 Method, apparatus and system for switching pictures in video service
CN101399928A (en) * 2007-09-29 2009-04-01 新奥特硅谷视频技术有限责任公司 Non-linear editing system
CN101257607A (en) * 2008-03-12 2008-09-03 中兴通讯股份有限公司 Multiple-picture processing system and method for video conference

Also Published As

Publication number Publication date
CN102547136A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
JP6490178B2 (en) Multi-color channel multiple regression predictor
US20150363912A1 (en) Rgbw demosaic method by combining rgb chrominance with w luminance
EP2950301B1 (en) Signal processing method, signal processing system and display device
US8724894B1 (en) Colorization of digital imagery
US10096170B2 (en) Image device for determining an invalid depth information of a depth image and operation method thereof
CN104299185A (en) Image magnification method, image magnification device and display device
CN109643528B (en) Information processing apparatus, information processing method, and program
US20160322024A1 (en) Method of mapping source colors of images of a video content into the target color gamut of a target color device
CN109891869B (en) Video signal processing apparatus, video signal processing method, and video signal processing system
US20070188513A1 (en) Method and system for providing accelerated video processing in a communication device
CN101416217A (en) Techniques to facilitate use of small line buffers for processing of small or large images
CN104683755A (en) Semiconductor device, video display system, and method of processing signal
US20080068472A1 (en) Digital camera and method
CN102547136B (en) Special effect graph processing method and system for images with multiply pixel ratios
US20130195353A1 (en) Digital Image Color Correction
JPWO2018180530A1 (en) Image processing apparatus and method
Khalifat et al. A dynamic partial reconfiguration design for camera systems
JP4997172B2 (en) Image signal processing apparatus, method and program for image division processing
JP4997167B2 (en) Image signal processing apparatus, method and program for image division processing
JP5865517B2 (en) Image display method and apparatus
JP2007208430A (en) Image processing system
CN103167183B (en) Translucent camera aperture processing method, system and mobile terminal
JP6200687B2 (en) Image processing apparatus and image processing method
JP2012247897A (en) Image processing apparatus and method of processing image
US9336586B2 (en) Image processing apparatus and image processing method using compressed image data or partial image data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING CULTURAL AND SCIENTIFIC FINANCING LEASE CO

Free format text: FORMER OWNER: XIN'AOTE(BEIJING) VIDEO TECHNOLOGY CO., LTD.

Effective date: 20150324

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 100044 SHUNYI, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20150324

Address after: 100044, room 2, building 1, No. 401, Golden Sail Road, Beijing, Shunyi District

Patentee after: Beijing culture science and technology finance leasing Limited by Share Ltd

Address before: 100080 Beijing city Haidian District xicaochang No. 1 Beijing Silicon Valley computer city 15 1501-1506 room

Patentee before: China Digital Video (Beijing) Limited

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140604

Termination date: 20161221

CF01 Termination of patent right due to non-payment of annual fee