CN102088614A - Method and device for magnifying video image - Google Patents

Method and device for magnifying video image Download PDF

Info

Publication number
CN102088614A
CN102088614A CN 201010562509 CN201010562509A CN102088614A CN 102088614 A CN102088614 A CN 102088614A CN 201010562509 CN201010562509 CN 201010562509 CN 201010562509 A CN201010562509 A CN 201010562509A CN 102088614 A CN102088614 A CN 102088614A
Authority
CN
China
Prior art keywords
pixel
original image
current line
signal
capable pixel
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.)
Pending
Application number
CN 201010562509
Other languages
Chinese (zh)
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 University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN 201010562509 priority Critical patent/CN102088614A/en
Publication of CN102088614A publication Critical patent/CN102088614A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a method and device for magnifying a video image, which belong to the field of video monitoring. The method comprises the following steps of: separating a luminance signal from chrominance signals, of an original image line pixel output by video acquisition equipment; magnifying the luminance signal and the chrominance signals, which are separated from each other, of the original image line pixel according to a quasi-bilinear interpolation method so as to obtain the magnified luminance signal and chrominance signals of a current line pixel; and synthesizing the magnified luminance signal and the magnified chrominance signals of the current line pixel into a new video image. By the method and the device, a UYVY mixed signal output by the video acquisition equipment is separated into a Y (luminance) signal and UV (chrominance) signals, the Y signal and the UV signals are processed in different ways respectively, and the processed Y signal and UV signals are synthesized into a video image to be output playback equipment. Magnification is performed by using the quasi-bilinear interpolation method, so that random access memory (RAM) is not required to be stored additionally during magnification of the video image, and the consumption of resources is low.

Description

A kind of method and apparatus of amplified video image
Technical field
The present invention relates to field of video monitoring, particularly a kind of method and apparatus of amplified video image.
Background technology
Video monitoring system comprises video acquisition and video playback two parts, and video acquisition adopts cmos image sensor (CIS, Cmos Image Sensor) usually, and playback apparatus then adopts PAL or TSC-system formula simulated television usually.This CIS adopts VGA form (640x480 resolution) mostly, and the output video form is YUV422, and the resolution of playback apparatus is the 720x576 of pal mode or the 720x480 of TSC-system formula.As seen, come out the video image playback that CIS equipment collects, must adopt amplifying technique video image.
Prior art one is when the amplified video image, YUV4:2:2 format-pattern for the output of CIS equipment, at first recover the carrier chrominance signal (as U2V2U4V4 etc.) that does not sample and be stored as the YUV4:4:4 form, and adopt bilinear interpolation method that the video image of this YUV4:4:4 form is amplified, obtain the video image of the YUV4:4:4 form of required resolution, again the YUV4:4:4 format-pattern after amplifying is sampled into YUV4:2:2, and output to playback apparatus.Prior art two is when the amplified video image, adopt the arest neighbors interpolation arithmetic that the video image of the YUV4:2:2 form of CIS equipment output is directly amplified, promptly directly duplicate and obtain the amplified video image, and output to playback apparatus from the nearest neighbor pixels YUV value of original image correspondence position.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: for prior art one, the video image of temporary YUV4:4:4 form need take a large amount of chip internal RAM, its memory space becomes 2 times of video image of original YUV4:2:2 form, and carrying cost is very high; For prior art two, directly duplicate from the nearest neighbor pixels YUV value of original image correspondence position, the amplified video image that obtains has tangible sawtooth, and subjective picture quality is relatively poor.
Summary of the invention
In order to reduce chip cost and to improve picture quality, the embodiment of the invention provides a kind of method and apparatus of amplified video image.Described technical scheme is as follows:
The embodiment of the invention provides a kind of method of amplified video image, and described method specifically comprises:
Luminance signal to the capable pixel of original image of video capture device output is separated with carrier chrominance signal;
According to accurate bilinear interpolation method the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating are amplified the luminance signal and the carrier chrominance signal of the current line pixel after obtaining amplifying;
Luminance signal and the synthetic new video image of carrier chrominance signal with the current line pixel after amplifying.
Further, describedly luminance signal and carrier chrominance signal after separating are amplified, obtain the luminance signal and the carrier chrominance signal of the current line pixel after the amplification, specifically comprise according to accurate bilinear interpolation method:
Luminance signal to the capable pixel of original image after separating is made the bilinear interpolation amplifieroperation, obtains the luminance signal of the current line pixel after the amplification;
Carrier chrominance signal to the capable pixel of original image after separating is made arest neighbors interpolation algorithm amplifieroperation, obtains the carrier chrominance signal of the current line pixel after the amplification.
Particularly, described luminance signal to the capable pixel of original image after separating is made the bilinear interpolation amplifieroperation, obtains the luminance signal of the current line pixel after the amplification, specifically comprises:
Obtain the brightness value of the capable pixel of original image according to bilinear interpolation method, obtain the brightness value of a last pixel of the capable pixel of original image, and, obtain the luminance signal of the current line pixel after the amplification according to the brightness value of the last pixel of the brightness value of the capable pixel of described original image and the capable pixel of described original image;
Correspondingly, described carrier chrominance signal to the capable pixel of original image after separating is made arest neighbors interpolation algorithm amplifieroperation, obtains the carrier chrominance signal of the current line pixel after the amplification, specifically comprises:
Obtain the chromatic value of the capable pixel of original image according to the arest neighbors interpolation algorithm, obtain the chromatic value of a last pixel of the capable pixel of original image, and, obtain the carrier chrominance signal of the current line pixel after the amplification according to the chromatic value of the last pixel of the chromatic value of the capable pixel of described original image and the capable pixel of described original image.
Particularly, described according to the capable pixel of described original image brightness value and the brightness value of the last pixel of the capable pixel of described original image, obtain the brightness value of the current line pixel after the amplification, specifically comprise:
According to default weighted average relational expression, the brightness value of the last pixel of the brightness value of the capable pixel of original image and the capable pixel of original image is weighted average calculating operation, obtain the luminance signal of the current line pixel after the amplification;
Correspondingly,, obtain the chromatic value of the current line pixel after the amplification, specifically comprise according to the chromatic value of the last pixel of the chromatic value of the capable pixel of described original image and the capable pixel of described original image:
Chromatic value to a pixel on the chromatic value of the capable pixel of original image and the capable pixel of original image is selected computing, obtains the carrier chrominance signal of the current line pixel after the amplification.
Wherein, described default weighted average relational expression specifically comprises:
Y′[0]=Y[0], Y ′ [ 1 ] = 1 9 Y [ 0 ] + 8 9 Y [ 1 ] , Y ′ [ 2 ] = 2 9 Y [ 1 ] + 7 9 Y [ 2 ] , Y ′ [ 3 ] = 3 9 Y [ 2 ] + 6 9 Y [ 3 ] . . . . . . Y ′ [ 8 ] = 8 9 Y [ 7 ] + 1 9 Y [ 8 ] , Y′[9]=Y[8], Y ′ [ 10 ] = 1 9 Y [ 8 ] + 8 9 Y [ 9 ] ;
Or,
Y′[0]=Y[0], Y ′ [ 1 ] ≈ 1 8 Y [ 0 ] + 7 8 Y [ 1 ] , Y ′ [ 2 ] ≈ 1 4 Y [ 1 ] + 3 4 Y [ 2 ] , Y ′ [ 3 ] ≈ ( 1 4 + 1 16 ) Y [ 2 ] + ( 3 4 - 1 16 ) Y [ 3 ] . . . . . . Y ′ [ 8 ] ≈ 7 8 Y [ 7 ] + 1 8 Y [ 8 ] , Y′[9]=Y[81, Y ′ [ 10 ] ≈ 1 8 Y [ 8 ] + 7 8 Y [ 9 ] ;
Y ' [N] is the brightness value of the current line N pixel after amplifying, Y[N] be the brightness value of original image current line N pixel, N is the integer of 0-719.
The embodiment of the invention also provides a kind of device of amplified video image, and described device specifically comprises:
Separation module is used for the luminance signal of the capable pixel of original image of video capture device output is separated with carrier chrominance signal;
Processing module is used for according to accurate bilinear interpolation method the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating being amplified the luminance signal and the carrier chrominance signal of the current line pixel after obtaining amplifying;
Synthesis module is used for luminance signal and the synthetic enlarged image of carrier chrominance signal with the current line pixel after amplifying.
Further, described processing module specifically comprises: first processing module and second processing module;
Described first processing module is used for the luminance signal of the capable pixel of original image after separating is made the bilinear interpolation amplifieroperation, obtains the luminance signal of the current line pixel after the amplification;
Described second processing module is used for the carrier chrominance signal of the capable pixel of original image after separating is made arest neighbors interpolation algorithm amplifieroperation, obtains the carrier chrominance signal of the current line pixel after the amplification.
Particularly, described first processing module specifically comprises:
First acquiring unit connects described separation module, is used for obtaining according to bilinear interpolation method the brightness value of the capable pixel of original image;
First delay unit connects described first acquiring unit and described separation module, is used for the luminance signal of the capable pixel of original image after separating is delayed time, with the brightness value of a last pixel of obtaining the capable pixel of original image;
The weighted average unit, connect described first acquiring unit and described first delay unit, be used for the brightness value of the last pixel of the brightness value of the capable pixel of described original image and the capable pixel of described original image is weighted average calculating operation, to obtain the luminance signal of the current line pixel after the amplification;
Correspondingly, described second processing module specifically comprises:
Second acquisition unit connects described separation module, is used for obtaining according to the arest neighbors interpolation algorithm chromatic value of the capable pixel of original image;
Second delay unit connects described second acquisition unit and described separation module, is used for the carrier chrominance signal of the capable pixel of original image after separating is delayed time, with the chromatic value of a last pixel of obtaining the capable pixel of original image;
Selected cell, connect described second acquisition unit and described second delay unit, be used for the chromatic value of the last pixel of the chromatic value of the capable pixel of described original image and the capable pixel of described original image is selected computing, to obtain the carrier chrominance signal of the current line pixel after the amplification.
Particularly, described weighted average unit specifically comprises:
According to default weighted average relational expression, the brightness value of the last pixel of the brightness value of the capable pixel of original image and the capable pixel of original image is weighted average calculating operation, to obtain the luminance signal of the current line pixel after the amplification.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: be separated into Y-signal and UV signal by the UYVY mixed signal to video capture device output, and respectively Y-signal is done different processing with the UV signal, Y-signal after will handling again and UV signal synthesize video image again and export to playback apparatus, owing to adopt accurate bilinear interpolation method to amplify, need not extra storage RAM during the amplified video image, consumes resources is less.
Description of drawings
Fig. 1 is the method flow diagram of the enlarged image that provides in the embodiment of the invention 1;
Fig. 2 is the method flow diagram of another enlarged image of providing in the embodiment of the invention 2;
Fig. 3 is the method flow diagram of the luminance signal of obtaining the current line pixel after the amplification that provides in the embodiment of the invention 2;
Fig. 4 be provide in the embodiment of the invention 2 obtain the schematic diagram of current line pixel according to bilinear interpolation method;
Fig. 5 is the method flow diagram of the carrier chrominance signal of obtaining the current line pixel after the amplification that provides in the embodiment of the invention 2;
Fig. 6 is the apparatus structure schematic diagram of the enlarged image that provides in the embodiment of the invention 3;
Fig. 7 is the apparatus structure schematic diagram of another enlarged image of providing in the embodiment of the invention 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, the embodiment of the invention provides a kind of method of amplified video image, and this method comprises:
Step 101: the luminance signal to the capable pixel of original image of video capture device output is separated with carrier chrominance signal;
Step 102: according to accurate bilinear interpolation method the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating are amplified, obtain the luminance signal and the carrier chrominance signal of the current line pixel after the amplification;
Step 103: the luminance signal of the current line pixel after will amplifying and carrier chrominance signal are synthesized new video image.
The method that the embodiment of the invention provides, be separated into Y-signal and UV signal by UYVY mixed signal to video capture device output, and respectively Y-signal is done different processing with the UV signal, Y-signal after will handling again and UV signal synthesize video image again and export to playback apparatus, owing to adopt accurate bilinear interpolation method to amplify, need not extra storage RAM during the amplified video image, consumes resources is less.
Embodiment 2
Referring to Fig. 2, the embodiment of the invention has proposed a kind of method of amplified video image, and this method specifically comprises:
Step 201: brightness (Y) signal to the capable pixel of original image of video capture device output separates with colourity (UV) signal;
At this step, this separating step is a general procedure in the prior art, the embodiment of the invention does not limit this, the embodiment of the invention is that example describes with the sample format YUV4:2:2 of video capture device, the transmission of its output image is U1Y1V1Y2U3Y3V3Y4...... in proper order, be that video capture device is all sampled to the brightness (Y) of each pixel, and the colourity (U, V) of pixel is carried out interval sampling.In the practical application, video capture device also can adopt other sample format, as YUV4:4:4, and YUV4:1:1, YUV4:2:0 etc.
Step 202: brightness (Y) signal and colourity (UV) signal of the capable pixel of original image after separating amplified brightness (Y) signal of the current line pixel after obtaining amplifying and colourity (UV) signal according to accurate bilinear interpolation method;
Particularly, video image for the yuv format of video capture device output, this accurate bilinear interpolation method specifically comprises: the brightness Y to the capable pixel of original image after separating makes bilinear interpolation amplifieroperation (step 2021-2023), to obtain the luminance signal of the current line pixel after the amplification; U and V in the capable pixel of original image after separating are made arest neighbors interpolation amplifieroperation (step 2024-2026), to obtain the carrier chrominance signal of the current line pixel after the amplification, to realize every row 640 pixels with the video image of video capture device output, be amplified to every row 720 pixels, satisfy the requirement of the 720x480 of the 720x576 of Phase Alternation Line system or TSC-system.
Wherein, the embodiment of the invention is called original image with the image of video capture device output, and its row pixel is called original capable pixel, and its row pixel is called original row pixel.
Referring to Fig. 3, the brightness Y of the capable pixel of original image after separating is done the operation that bilinear interpolation is amplified, to obtain the luminance signal of the current line pixel after the amplification, specifically comprise:
2021: the Y value of obtaining the capable pixel of original image according to bilinear interpolation method;
Particularly, every row 640 pixels of original image being amplified to 720 pixels, is that fixed proportion is amplified, and the embodiment of the invention adopts bilinear interpolation method, and per 8 the former pixels with in the original image are enlarged into 9 pixels, finish the amplification of capable pixel.Referring to Fig. 4, " O " represents original capable pixel, capable pixel after " X " expression is amplified, and the 0th " O " and the 0th " X " alignment, the 8th " O " and the 9th " X " alignment, with label is that " O " interpolation of 0-7 number zooms into 0-8 number " X ", and promptly being interpolated to 9 " X " with per 8 " O " is an interpolation cycle.
2022: the Y value of obtaining a last pixel of the capable pixel of original image;
Particularly, the Y value of the capable pixel of previous step being obtained suddenly by first delay unit of original image is delayed time and is temporary, and when getting access to next pixel of the capable pixel of this original image, this first delay unit is exported the Y value of the capable pixel of this original image.The Y value of the capable pixel of original image that not only temporary 2021 steps of this first delay unit are obtained, and to the output of delaying time of the Y value of the capable pixel of this original image is obtained the Y-signal of the current pixel after the amplification for 2023 steps.
2023:, obtain the Y-signal of the current line pixel after the amplification according to the Y value of the last pixel of the Y value of the capable pixel of original image and the capable pixel of original image;
Wherein, the method of obtaining the Y value of the current line pixel after the amplification can have multiple, the embodiment of the invention is not done qualification to this, particularly, the present invention is that example describes to adopt the weighted average unit to be weighted average calculating operation, the weighted average unit is according to default weighted average relational expression, the Y value of the last pixel of the Y value of original capable pixel and this original capable pixel is weighted average calculating operation, the Y value of the current line pixel after obtaining amplifying, these original capable pixel weights and " X " are directly proportional with the distance of two " O ".Be example with above-mentioned Fig. 3 still, the embodiment of the invention is preset following weighted average relational expression:
Y ' [0]=Y[0],
Figure BSA00000363538700061
Figure BSA00000363538700062
Figure BSA00000363538700071
The Y value of the current line N pixel after Y ' [N] expression is amplified, Y[N] the Y value of expression original image current line N pixel, it is to be that example describes in an interpolation cycle that the embodiment of the invention is interpolated to 9 " X " with per 8 " O ", and other relational expressions can be known successively, not repeat them here.Particularly, the embodiment of the invention is obtained the Y value of the current pixel after the amplification by following relational expression;
M = N - floor ( N 9 )
Y ′ [ N ] = N mod 9 9 Y [ M - 1 ] + 1 - ( N mod 9 ) 9 Y [ M ] ,
Wherein, M is default intermediate variable, N is the sequence number of current line pixel in this row after amplifying, N gets the integer between the 0-719, the Y value of the current line N pixel after Y ' [N] expression is amplified, Y[N] the Y value of expression original image current line N pixel, bracket function under floor () represents, promptly get the integer part of a decimal, mod represents the computing that rems.As floor (1.3)=1, floor (2.9)=2; 8 mod 3=2,10 mod 2=0.
Preferably, the embodiment of the invention can be that the mark of 2n approaches above-mentioned weighted average relational expression with a series of denominators, and for example, adopting a series of denominators is the mark of 2n:
Figure BSA00000363538700074
Figure BSA00000363538700075
Figure BSA00000363538700076
Figure BSA00000363538700077
Therefore, the embodiment of the invention can also be preset following weighted average relational expression:
Y ' [0]=Y[0],
Figure BSA00000363538700078
Figure BSA00000363538700079
Figure BSA000003635387000710
Y ' [9]=Y[8],
Figure BSA000003635387000711
The Y value of the current line N pixel after Y ' [N] expression is amplified, Y[N] the Y value of expression original image current line N pixel, by in the weighted average unit, general division arithmetic being converted into the computing that denominator is 2n, reduce the logical block that the hardware division device consumes, and the time-delay of the current line pixel after reducing to amplify.
Particularly, the Y value of the Y value of the current line pixel that step 2021 is obtained and a last pixel of this current line pixel that step 2022 is obtained, be input to the weighted average unit, and the number of the Y value that calculates according to default weighted average relational expression sum counter by the weighted average unit, be weighted average calculating operation, and the UV signal of the current line pixel after the output amplification.
Wherein, set in advance the weighted average relational expression in the weighted average unit, and the number of the Y value that calculates according to counter is weighted average calculating operation, the number of the Y value that calculates as counter is 1 o'clock, counter triggers weighted average unit basis
Figure BSA00000363538700081
Or
Figure BSA00000363538700082
Be weighted average calculating operation, the Y value of output current line pixel is as the Y value of the current line pixel after amplifying; If the number of the Y value that counter calculates is 2 o'clock, counter triggers weighted average unit basis
Figure BSA00000363538700083
Or
Figure BSA00000363538700084
Be weighted average calculating operation, the Y value of output current line pixel, as the Y value of the current line pixel after amplifying, other countings are similar, repeat no more herein.
Referring to Fig. 5, described colourity to the capable pixel of original image after separating is done the operation that the arest neighbors interpolation algorithm amplifies, and to obtain the carrier chrominance signal of the current line pixel after the amplification, specifically comprises:
2024: the UV value of obtaining the capable pixel of original image according to the arest neighbors interpolation algorithm;
Particularly, whether this arest neighbors interpolation algorithm is Counter Value divided by 9 remainder greater than default value, if greater than default value, then the UV value of the UV value of the current line pixel current line pixel after as amplification is exported; Otherwise the UV value of the last pixel of this current line pixel is exported as the UV value of the current line pixel after amplifying.For example, the present invention is 4 to describe with default value, if Counter Value divided by 9 remainder greater than 4, then the UV value of the UV value of the current line pixel current line pixel after as amplification is exported; Otherwise the UV value of the last pixel of this current line pixel is exported as the UV value of the current line pixel after amplifying.
2025: the UV value of obtaining a last pixel of the capable pixel of original image;
This step is similar to the method for above-mentioned steps 2022, repeats no more herein.
2026:, obtain the UV value of the current line pixel after the amplification according to the UV value of the last pixel of the UV value of the capable pixel of original image and the capable pixel of original image;
Wherein, the UV value of the UV value of the capable pixel of being obtained according to step 2024 by selected cell of original image and a last pixel of the capable pixel of original image that step 2025 is obtained is carried out selection operation, the number of the UV value of the capable pixel of original image that this selected cell calculates by counter is selected, the UV signal of the current line pixel after amplifying with output.
Particularly, if the number of the UV value that calculates of counter divided by 8 remainder less than 4 o'clock, the UV value of counter triggers selected cell output current line pixel is as the UV value of the current line pixel after the amplification; Otherwise the UV value of the last pixel of counter triggers selected cell output is as the UV value of the current line pixel after amplifying.
Step 203: brightness (Y) signal of the current line pixel after will amplifying and colourity (UV) signal synthesize new video image;
At this step, the UV value of the current line pixel after the Y value of the current line pixel after the amplification that step 2023 is obtained and the amplification that step 2026 obtains, according to the synthetic new video image of the order of UYVY, this new video image is used for directly supplying the playback apparatus of the 720x480 of TSC-system to carry out playback, the method of synthetic new video image is a prior art, and the embodiment of the invention repeats no more.
Playback apparatus for the 720x576 of pal mode, step 203 also comprises: according to bilinear interpolation method original image row pixel is amplified to 576 by 480, and the Y value of the current line pixel after amplifying and the synthetic new video image of UV value, playback apparatus for the 720x576 of pal mode carries out playback, for this bilinear interpolation method, identical with the method for step 2021, the embodiment of the invention repeats no more.
The method that the embodiment of the invention provides, be separated into Y-signal and UV signal by UYVY mixed signal to video capture device output, and respectively Y-signal is done different processing with the UV signal, Y-signal after will handling again and UV signal synthesize video image again and export to playback apparatus, owing to adopt accurate bilinear interpolation method to amplify, need not extra storage RAM during the amplified video image, consumes resources is less.
Embodiment 3
Referring to Fig. 6, the embodiment of the invention provides a kind of device of amplified video image, and this device specifically comprises:
Separation module 301 is used for the luminance signal of the capable pixel of original image of video capture device output is separated with carrier chrominance signal;
Processing module 302 is used for according to accurate bilinear interpolation method the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating being amplified, and obtains the luminance signal and the carrier chrominance signal of the current line pixel after the amplification;
Synthesis module 303 is used for luminance signal and the synthetic enlarged image of carrier chrominance signal with the current line pixel after amplifying.
Particularly, referring to Fig. 7, this processing module 302 comprises first processing module 3021 and second processing module 3022;
First processing module 3021 is used for the Y-signal of the capable pixel of original image after separating is done the bilinear interpolation amplifieroperation, and the Y-signal of the current line pixel after the output amplification;
Second processing module 3022 is used for the UV signal of the capable pixel of original image after separating is amplified, and the UV signal of the current line pixel after the output amplification.
Wherein, this first processing module 3021 specifically comprises:
The first acquiring unit 3021a connects this separation module 303, is used for obtaining according to bilinear interpolation method the brightness value of the capable pixel of original image;
The first delay unit 3021b connects the separation module 303 and the first acquiring unit 3021a, is used for the Y-signal of the capable pixel after separating is delayed time, with the Y value of a last pixel of obtaining the capable pixel of original image;
Weighted average unit 3021c, connect the first acquiring unit 3021a and the first delay unit 3021b, be used for the Y value of the last pixel of the Y value of the capable pixel of this original image and the capable pixel of this original image is weighted average calculating operation, to obtain the Y-signal of the current line pixel after the amplification;
Correspondingly, this second processing module 3022 specifically comprises:
Second acquisition unit 3022a connects this separation module 303, is used for obtaining according to the arest neighbors interpolation algorithm chromatic value of the capable pixel of original image;
The second delay unit 3022b connects second acquisition unit 3022a and separation module 303, is used for the UV signal of the capable pixel of original image after separating is delayed time, with the UV value of a last pixel of obtaining the capable pixel of original image;
Selected cell 3022c connects the second acquisition unit 3022a and the second delay unit 3022b, is used for the UV value of the last pixel of the UV value of the capable pixel of this original image and the capable pixel of original image is selected computing, to obtain the UV signal of the current line pixel after the amplification.
Particularly, the Y-signal of the current line pixel after the amplification of these synthesis module 303 receptions first processing module 3021 outputs, and receive the UV signal of the current line pixel after the amplification of second processing module 3022 output, and the Y-signal of the current line pixel after will amplifying and amplify after the UV signal of current line pixel synthesize enlarged image, carry out playback to export to playback apparatus.
Further, this device also comprises a counting module, this counting module connects this first processing module and second processing module, particularly, this counting module connects the selected cell in weighted average unit in this first processing module and this second processing module, be used for adding up respectively the number of the UV signal of the number of Y-signal of current line pixel and current line pixel, and trigger the weighted average unit according to the number of the Y-signal that counts and be weighted average calculating operation, to obtain the Y-signal of the current line pixel after the amplification, computing is selected in number triggering selection unit according to the UV signal that counts, to obtain the UV signal of the current line pixel after the amplification.
Particularly, the number of the Y-signal that counts when counting module is when being 1 divided by 10 remainder, and counting module triggers the weighted average unit and adopts relational expression
Figure BSA00000363538700101
Or Deng being weighted average calculating operation, to obtain the Y-signal of the current line pixel after the amplification;
Less than 4 the time, the UV signal of current line pixel is selected in counting module triggering selection unit to the number of the UV signal that calculates when counting module, as the UV signal of the current line pixel after amplifying divided by 8 remainder; Otherwise the counter triggers selected cell is selected the UV signal of a last pixel, as the UV signal of the current line pixel after amplifying.
Further, this device also comprises the 3rd processing module, the 3rd processing module connects this synthesis module, is used for according to bilinear interpolation method the row pixel of the video image of video capture device output being amplified the YUV signal of the row pixel after amplifying with output;
Correspondingly, this synthesis module also is used for: the YUV signal of the row pixel after the amplification of the 3rd processing module output and the Y-signal and the UV signal of the current line pixel after the above-mentioned amplification are synthesized, output new video image, this new video image are used for carrying out playback for the playback apparatus of pal mode.
The device that the embodiment of the invention provides, be separated into Y-signal and UV signal by UYVY mixed signal to video capture device output, and respectively Y-signal is done different processing with the UV signal, Y-signal after will handling again and UV signal synthesize video image again and export to playback apparatus, owing to adopt accurate bilinear interpolation method to amplify, need not extra storage RAM during the amplified video image, consumes resources is less.
Need to prove: the device of the amplified video image that the foregoing description provides is when amplifying video image, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, the device of the amplified video image that the foregoing description provides with the method embodiment of amplified video image is belonged to same design, its specific implementation process sees method embodiment for details, repeats no more here.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computer, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the method for an amplified video image is characterized in that, described method comprises:
Luminance signal to the capable pixel of original image of video capture device output is separated with carrier chrominance signal;
According to accurate bilinear interpolation method the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating are amplified the luminance signal and the carrier chrominance signal of the current line pixel after obtaining amplifying;
Luminance signal and the synthetic new video image of carrier chrominance signal with the current line pixel after amplifying.
2. the method for claim 1, it is characterized in that, describedly the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating are amplified, obtain the luminance signal and the carrier chrominance signal of the current line pixel after the amplification, specifically comprise according to accurate bilinear interpolation method:
Luminance signal to the capable pixel of original image after separating is made the bilinear interpolation amplifieroperation, obtains the luminance signal of the current line pixel after the amplification;
Carrier chrominance signal to the capable pixel of original image after separating is made arest neighbors interpolation algorithm amplifieroperation, obtains the carrier chrominance signal of the current line pixel after the amplification.
3. method as claimed in claim 2 is characterized in that, described luminance signal to the capable pixel of original image after separating is made the bilinear interpolation amplifieroperation, obtains the luminance signal of the current line pixel after the amplification, specifically comprises:
Obtain the brightness value of the capable pixel of original image according to bilinear interpolation method, obtain the brightness value of a last pixel of the capable pixel of original image, and, obtain the luminance signal of the current line pixel after the amplification according to the brightness value of the last pixel of the brightness value of the capable pixel of described original image and the capable pixel of described original image;
Correspondingly, described carrier chrominance signal to the capable pixel of original image after separating is made arest neighbors interpolation algorithm amplifieroperation, obtains the carrier chrominance signal of the current line pixel after the amplification, specifically comprises:
Obtain the chromatic value of the capable pixel of original image according to the arest neighbors interpolation algorithm, obtain the chromatic value of a last pixel of the capable pixel of original image, and, obtain the carrier chrominance signal of the current line pixel after the amplification according to the chromatic value of the last pixel of the chromatic value of the capable pixel of described original image and the capable pixel of described original image.
4. method as claimed in claim 3 is characterized in that, described according to the capable pixel of described original image brightness value and the brightness value of the last pixel of the capable pixel of described original image, obtain the brightness value of the current line pixel after the amplification, specifically comprise:
According to default weighted average relational expression, the brightness value of the last pixel of the brightness value of the capable pixel of original image and the capable pixel of original image is weighted average calculating operation, obtain the luminance signal of the current line pixel after the amplification;
Correspondingly,, obtain the chromatic value of the current line pixel after the amplification, specifically comprise according to the chromatic value of the last pixel of the chromatic value of the capable pixel of described original image and the capable pixel of described original image:
Chromatic value to the last pixel of the chromatic value of the capable pixel of original image and the capable pixel of original image is selected computing, obtains the carrier chrominance signal of the current line pixel after the amplification.
5. method as claimed in claim 4 is characterized in that, described default weighted average relational expression specifically comprises:
Y′[0]=Y[0], Y ′ [ 1 ] = 1 9 Y [ 0 ] + 8 9 Y [ 1 ] , Y ′ [ 2 ] = 2 9 Y [ 1 ] + 7 9 Y [ 2 ] , Y ′ [ 3 ] = 3 9 Y [ 2 ] + 6 9 Y [ 3 ] . . . . . . Y ′ [ 8 ] = 8 9 Y [ 7 ] + 1 9 Y [ 8 ] , Y′[9]=Y[8], Y ′ [ 10 ] = 1 9 Y [ 8 ] + 8 9 Y [ 9 ] ;
Or,
Y′[0]=Y[0], Y ′ [ 1 ] ≈ 1 8 Y [ 0 ] + 7 8 Y [ 1 ] , Y ′ [ 2 ] ≈ 1 4 Y [ 1 ] + 3 4 Y [ 2 ] , Y ′ [ 3 ] ≈ ( 1 4 + 1 16 ) Y [ 2 ] + ( 3 4 - 1 16 ) Y [ 3 ] . . . . . . Y ′ [ 8 ] ≈ 7 8 Y [ 7 ] + 1 8 Y [ 8 ] , Y′[9]=Y[8], Y ′ [ 10 ] ≈ 1 8 Y [ 8 ] + 7 8 Y [ 9 ] ;
Y ' [N] is the brightness value of the current line N pixel after amplifying, Y[N] be the brightness value of original image current line N pixel, N is the integer of 0-719.
6. the device of an amplified video image is characterized in that, described device comprises:
Separation module is used for the luminance signal of the capable pixel of original image of video capture device output is separated with carrier chrominance signal;
Processing module is used for according to accurate bilinear interpolation method the luminance signal and the carrier chrominance signal of the capable pixel of original image after separating being amplified the luminance signal and the carrier chrominance signal of the current line pixel after obtaining amplifying;
Synthesis module is used for luminance signal and the synthetic enlarged image of carrier chrominance signal with the current line pixel after amplifying.
7. device as claimed in claim 6 is characterized in that, described processing module specifically comprises: first processing module and second processing module;
Described first processing module is used for the luminance signal of the capable pixel of original image after separating is made the bilinear interpolation amplifieroperation, obtains the luminance signal of the current line pixel after the amplification;
Described second processing module is used for the carrier chrominance signal of the capable pixel of original image after separating is made arest neighbors interpolation algorithm amplifieroperation, obtains the carrier chrominance signal of the current line pixel after the amplification.
8. device as claimed in claim 7 is characterized in that, described first processing module specifically comprises:
First acquiring unit connects described separation module, is used for obtaining according to bilinear interpolation method the brightness value of the capable pixel of original image;
First delay unit connects described first acquiring unit and described separation module, is used for the luminance signal of the capable pixel of original image after separating is delayed time, with the brightness value of a last pixel of obtaining the capable pixel of original image;
The weighted average unit, connect described first acquiring unit and described first delay unit, be used for the brightness value of the last pixel of the brightness value of the capable pixel of described original image and the capable pixel of described original image is weighted average calculating operation, to obtain the luminance signal of the current line pixel after the amplification;
Correspondingly, described second processing module specifically comprises:
Second acquisition unit connects described separation module, is used for obtaining according to the arest neighbors interpolation algorithm chromatic value of the capable pixel of original image;
Second delay unit connects described second acquisition unit and described separation module, is used for the carrier chrominance signal of the capable pixel of original image after separating is delayed time, with the chromatic value of a last pixel of obtaining the capable pixel of original image;
Selected cell, connect described second acquisition unit and described second delay unit, be used for the chromatic value of the last pixel of the chromatic value of the capable pixel of described original image and the capable pixel of described original image is selected computing, to obtain the carrier chrominance signal of the current line pixel after the amplification.
9. device as claimed in claim 8 is characterized in that, described weighted average unit specifically comprises:
According to default weighted average relational expression, the brightness value of the last pixel of the brightness value of the capable pixel of original image and the capable pixel of original image is weighted average calculating operation, to obtain the luminance signal of the current line pixel after the amplification.
CN 201010562509 2010-11-23 2010-11-23 Method and device for magnifying video image Pending CN102088614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010562509 CN102088614A (en) 2010-11-23 2010-11-23 Method and device for magnifying video image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010562509 CN102088614A (en) 2010-11-23 2010-11-23 Method and device for magnifying video image

Publications (1)

Publication Number Publication Date
CN102088614A true CN102088614A (en) 2011-06-08

Family

ID=44100188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010562509 Pending CN102088614A (en) 2010-11-23 2010-11-23 Method and device for magnifying video image

Country Status (1)

Country Link
CN (1) CN102088614A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013170763A1 (en) * 2012-05-16 2013-11-21 浙江大华技术股份有限公司 Method and device for transmitting high-definition video signal
CN103646378A (en) * 2013-11-15 2014-03-19 天津天地伟业数码科技有限公司 High reduction degree spatial domain image zooming method based on FPGA platform
WO2016078381A1 (en) * 2014-11-19 2016-05-26 无锡中星微电子有限公司 Digital data sending and receiving method and apparatus based on composite video signal
CN107135382A (en) * 2017-03-02 2017-09-05 广东美电贝尔科技集团股份有限公司 A kind of quick Zoom method of image based on YUV signal processing
CN108712608A (en) * 2018-05-16 2018-10-26 Oppo广东移动通信有限公司 Terminal device image pickup method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5414465A (en) * 1993-01-14 1995-05-09 Sony Corporation Luminance signal generator with interpolation
CN101042853A (en) * 2006-03-23 2007-09-26 富士通株式会社 Image processing apparatus
CN101183521A (en) * 2007-11-16 2008-05-21 炬力集成电路设计有限公司 Image scaling device, method and image display device
CN101345887A (en) * 2007-07-13 2009-01-14 英业达股份有限公司 Improved RGB image zooming method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5414465A (en) * 1993-01-14 1995-05-09 Sony Corporation Luminance signal generator with interpolation
CN101042853A (en) * 2006-03-23 2007-09-26 富士通株式会社 Image processing apparatus
CN101345887A (en) * 2007-07-13 2009-01-14 英业达股份有限公司 Improved RGB image zooming method
CN101183521A (en) * 2007-11-16 2008-05-21 炬力集成电路设计有限公司 Image scaling device, method and image display device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013170763A1 (en) * 2012-05-16 2013-11-21 浙江大华技术股份有限公司 Method and device for transmitting high-definition video signal
US9232204B2 (en) 2012-05-16 2016-01-05 Zhejiang Dahua Technology Co., Ltd Method and device for transmitting high-definition video signal
US9832443B2 (en) 2012-05-16 2017-11-28 Zhejiang Dahua Technology Co., Ltd. Method and device for transmitting high-definition video signal
CN103646378A (en) * 2013-11-15 2014-03-19 天津天地伟业数码科技有限公司 High reduction degree spatial domain image zooming method based on FPGA platform
WO2016078381A1 (en) * 2014-11-19 2016-05-26 无锡中星微电子有限公司 Digital data sending and receiving method and apparatus based on composite video signal
CN107135382A (en) * 2017-03-02 2017-09-05 广东美电贝尔科技集团股份有限公司 A kind of quick Zoom method of image based on YUV signal processing
CN108712608A (en) * 2018-05-16 2018-10-26 Oppo广东移动通信有限公司 Terminal device image pickup method and device
CN108712608B (en) * 2018-05-16 2020-01-10 Oppo广东移动通信有限公司 Terminal equipment shooting method and device

Similar Documents

Publication Publication Date Title
US7659930B2 (en) Edge enhancement method and apparatus for Bayer images, and color image acquisition system
CN101137034B (en) Image determination by frequency domain processing
US8164662B2 (en) Image-processing device for color image data and method for the image processing of color image data
CN102088614A (en) Method and device for magnifying video image
CN101668125A (en) Imaging apparatus, solid-state imaging device, image processing apparatus, method and program
EP1978752A2 (en) Image processing device
CN102655564A (en) Image processing apparatus, image processing method, and program
CN103716606B (en) A kind of method of Bayer area image down-sampling, device and picture pick-up device
CN103024328B (en) A kind of method improving screenshot quality of digital video recorder
US7751642B1 (en) Methods and devices for image processing, image capturing and image downscaling
CN103888706A (en) Image processing apparatus, image pickup apparatus, and image processing method
EP1978751A2 (en) Image processing device
EP2228983B1 (en) Image data generation device, image data generation method, and image data generation program
CN103155550A (en) Image-monitoring device and method for searching for objects therefor
CN115272068A (en) Efficient interpolation method for image upsampling
US7184087B2 (en) On-screen device for subject of interest in portable electronic device, and method of controlling same
AU746276B2 (en) Signal conversion apparatus and method
JP4517264B2 (en) Information signal processing apparatus, information signal processing method, image signal processing apparatus, image display apparatus using the same, and information providing medium
US8482438B2 (en) Data processing device and data processing method
CN101883277A (en) Low resolution video file playing method and device
KR20100028007A (en) An image sensor, the operating method and usage thereof
CN115278189A (en) Image tone mapping method and apparatus, computer readable medium and electronic device
CN101159838A (en) Method of improving video image display quality using separation processing
CN110545393A (en) Video stream de-interlacing method, terminal equipment and storage medium
CN101247474B (en) Image processing device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110608