CN102547068A - Improved bilinear interpolation video scaling method - Google Patents
Improved bilinear interpolation video scaling method Download PDFInfo
- Publication number
- CN102547068A CN102547068A CN2011104611000A CN201110461100A CN102547068A CN 102547068 A CN102547068 A CN 102547068A CN 2011104611000 A CN2011104611000 A CN 2011104611000A CN 201110461100 A CN201110461100 A CN 201110461100A CN 102547068 A CN102547068 A CN 102547068A
- Authority
- CN
- China
- Prior art keywords
- bilinear interpolation
- processing
- sharpening
- filter
- video
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000012545 processing Methods 0.000 claims abstract description 38
- 238000001914 filtration Methods 0.000 claims description 17
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- HUTDUHSNJYTCAR-UHFFFAOYSA-N ancymidol Chemical compound C1=CC(OC)=CC=C1C(O)(C=1C=NC=NC=1)C1CC1 HUTDUHSNJYTCAR-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
Abstract
The invention discloses an improved bilinear interpolation video scaling method which comprises the following steps of: firstly, receiving a video signal to be processed; secondly, judging whether the video signal is required to be subjected to amplifying processing or scaling processing, if the video signal is subjected to the amplifying processing, carrying out sharpening filter processing on the received video signal, then carrying out bilinear interpolation processing on the video signal subjected to sharpening filter processing and finally outputting the video signal subjected to bilinear interpolation processing, and otherwise, carrying out bilinear interpolation processing on the received video signal first, then carrying out sharpening filter processing on the video signal subjected to bilinear interpolation processing and finally outputting the video signal subjected to sharpening filter processing. According to the improved bilinear interpolation video scaling method disclosed by the invention, the mode of carrying out sharpening filter processing by adopting a combined filter, a log filter or a laplace filter is preferably considered; a preposed sharpening filter is used for carrying out amplifying processing on an video image and a postposed sharpening filter is used for carrying out minifying processing on the video image, so that the quality of bilinear interpolation video scaling can be improved, edge blur and sawtooth in the scaling processing process of the video image can be effectively overcome and the video image with better image quality can be obtained.
Description
Technical field
The invention belongs to the digital video image process field, specifically, relate to a kind of edge blurry and improved bilinear interpolation video scaling method of crenellated phenomena that can effectively overcome in the video image zooming processing procedure.
Background technology
Image zoom is widely used in digital picture and the video processing applications; Comprise fields such as consumer electronics product and medical image; Along with various consumer electronics products extensively adopt flat-panel display device; Like mobile phone, video player, panel computer and LCD TV etc., on the flat-panel display device of various different resolutions, show with a kind of video source of resolution, must adopt the image zoom technology.
Present image zoom algorithm mainly divides three types: 1) traditional interpolation algorithm; 2) based on the interpolation algorithm at edge; 3) based on the interpolation algorithm of estimation.The two kinds of algorithms in back seldom adopt in consumer electronics product because operand is big, and traditional interpolation algorithm is widely used in the consumer electronics product because operand is less, arest neighbors interpolation, bilinear interpolation and the Tri linear interpolation of mainly containing commonly used.Tradition interpolation image convergent-divergent algorithm all is that to be based upon band-limited signal be perfectly to rebuild through ideal low-pass filter; Therefore the low pass filter of these algorithm design all is to level off to the frequency spectrum of perfect low pass filtering; Yet; Picture signal is with limit, so traditional interpolation algorithm can not recover the HFS of image, finally causes edge of image fuzzy or have a crenellated phenomena.
Summary of the invention
To above deficiency, the invention provides a kind of edge blurry and improved bilinear interpolation video scaling method of crenellated phenomena that can effectively overcome in the video image zooming processing procedure, it at first receives pending vision signal; Then judge it is that this vision signal is carried out processing and amplifying, still carry out convergent-divergent and handle; If processing and amplifying; Earlier the vision signal that receives is carried out the sharpening Filtering Processing, and then the vision signal after the sharpening Filtering Processing is carried out bilinear interpolation handle the output video image that disposes at last; If convergent-divergent is handled; Earlier the vision signal that receives is carried out bilinear interpolation and handle, then bilinear interpolation processed video signal is carried out the sharpening Filtering Processing, the output video image that disposes at last.
The present invention adopts the sharpening filter to carry out the sharpening Filtering Processing.
Said sharpening filter is an associated filters, and its filter factor is:
Wherein, C and S are parameters, and their value is adjusted according to feature of image.
Said sharpening filter is the logarithmic filtering device, and its filter factor is:
Wherein, B is the sharpening parameter, adjusts according to characteristics of image, must be greater than-12.
Said sharpening filter is a Laplace filter, and its filter factor is:
Wherein, C is the sharpening parameter, adjusts according to characteristics of image, must be greater than-4.
Beneficial effect of the present invention: the present invention adopts preposition sharpening filter for the processing and amplifying of video image; And being dwindled processing, video image adopts rearmounted sharpening filter; Can promote the quality of bilinear interpolation video scaling significantly; Can effectively overcome edge blurry and crenellated phenomena in the video image zooming processing procedure, obtain the video image of better image quality.
Description of drawings
Fig. 1 is the improved bilinear interpolation video scaling of a present invention method flow diagram;
Fig. 2 is a bilinear interpolation algorithm principle sketch map.
Embodiment
Below in conjunction with accompanying drawing the present invention is further set forth.
As shown in Figure 1, improved bilinear interpolation video scaling method of the present invention comprises:
1) receives pending vision signal.
2) judge it is that this vision signal is carried out processing and amplifying, still carry out convergent-divergent and handle, if processing and amplifying, execution in step 3), deny the person, execution in step 4).
3) vision signal that receives is carried out the sharpening Filtering Processing, and then the vision signal after the sharpening Filtering Processing is carried out bilinear interpolation handle, export final video image at last, termination routine.
4) vision signal that receives is carried out bilinear interpolation and handle, then bilinear interpolation processed video signal is carried out the sharpening Filtering Processing, export final video image at last, termination routine.
Be that the present invention adopts the bilinear interpolation algorithm that video image is carried out before the convergent-divergent, at first judge it is that video image is amplified or dwindles; Then,, then earlier raw video image is carried out sharpening filtering, carry out bilinear interpolation again if raw video image is amplified; If raw video image is dwindled, carry out bilinear interpolation earlier, carry out sharpening filtering again.
Because bilinear interpolation has the character of low pass filter; Make high fdrequency component impaired, thus image outline is thickened, therefore; The present invention adopts the sharpening filter to improve the quality of image zoom; The kind of sharpening filter is a lot, and the present invention is through the test of multitude of video image zoom, and the present invention pays the utmost attention to and adopts the apparent in view sharpening filter of following three kinds of effects: associating sharpening filter, logarithm sharpening filter, Laplce's sharpening filter.
Filter factor is also claimed operator or convolution template, and the concrete coefficient of associated filters is:
Wherein, C and S are parameters, can adjust according to feature of image.
Logarithm sharpening filter filtering coefficient is:
In the following formula, B is the sharpening parameter, can adjust according to characteristics of image, must be greater than-12.
The Laplace filter filter factor is:
In the following formula, C is the sharpening parameter, can adjust according to characteristics of image, must be greater than-4.
Bilinear interpolation algorithm (Bilinear Interpolation) is modal linear interpolation; Because can linear interpolation be decomposed into vertical and horizontal both direction carries out respectively; So be called bilinear interpolation, its video image zooming quality will be higher than neighbor interpolation algorithm.It obtains gray values of pixel points to be inserted according to the gray value of the related pixel point of 4 neighborhoods around the pixel to be inserted through the two-dimensional linear weighted average calculation, and shown in accompanying drawing 2, the value of the pixel of asking is:
P(xx,yy)=(1-Δy)·[(1-Δx)·f(x,y)+Δx·f(x+1,y)]+Δy·[(1-Δx)·f(x,y+1)+Δx·f(x+1,y+1)]
Xx wherein, yy is the location of pixels of output image.F (x, y), f (x+1, y), f (x, y+1) and f (x+1 y+1) is the pixel value in neighbours territory in the original image.If separate horizontal scaling and vertically scale, the convergent-divergent row convergent-divergent again of going ahead of the rest, so above-mentioned formula can be write:
I(xx,y)=(1-Δx)·f(x,y)+Δx·f(x+1,y);
I(xx,y+1)=(1-Δx)·f(x,y+1)+Δx·f(x+1,y+1);
P(xx,yy)=(1-Δy)·I(xx,y)+Δy·I(xx,y+1);
Wherein, I () has represented the interpolation calculation intermediate point of two grey up and down.
The above is merely preferred embodiments of the present invention; The present invention is not limited to above-mentioned execution mode; In implementation process, possibly there is local small structural modification; If various changes of the present invention or modification are not broken away from the spirit and scope of the present invention, and belong within claim of the present invention and the equivalent technologies scope, then the present invention also is intended to comprise these changes and modification.
Claims (5)
1. an improved bilinear interpolation video scaling method is characterized in that it at first receives pending vision signal; Then judge it is that this vision signal is carried out processing and amplifying, still carry out convergent-divergent and handle; If processing and amplifying; Earlier the vision signal that receives is carried out the sharpening Filtering Processing, and then the vision signal after the sharpening Filtering Processing is carried out bilinear interpolation handle the output video image that disposes at last; If convergent-divergent is handled; Earlier the vision signal that receives is carried out bilinear interpolation and handle, then bilinear interpolation processed video signal is carried out the sharpening Filtering Processing, the output video image that disposes at last.
2. improved bilinear interpolation video scaling method according to claim 1, it adopts the sharpening filter to carry out the sharpening Filtering Processing.
3. improved bilinear interpolation video scaling method according to claim 2, said sharpening filter is an associated filters, its filter factor is:
Wherein, C and S are parameters, and their value is adjusted according to feature of image.
4. improved bilinear interpolation video scaling method according to claim 2, said sharpening filter is the logarithmic filtering device, its filter factor is:
Wherein, B is the sharpening parameter, adjusts according to characteristics of image, must be greater than-12.
5. improved bilinear interpolation video scaling method according to claim 2, said sharpening filter is a Laplace filter, its filter factor is:
Wherein, C is the sharpening parameter, adjusts according to characteristics of image, must be greater than-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110461100.0A CN102547068B (en) | 2011-12-31 | 2011-12-31 | Improved bilinear interpolation video scaling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110461100.0A CN102547068B (en) | 2011-12-31 | 2011-12-31 | Improved bilinear interpolation video scaling method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102547068A true CN102547068A (en) | 2012-07-04 |
CN102547068B CN102547068B (en) | 2014-03-05 |
Family
ID=46352942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110461100.0A Expired - Fee Related CN102547068B (en) | 2011-12-31 | 2011-12-31 | Improved bilinear interpolation video scaling method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102547068B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701772A (en) * | 2014-11-28 | 2016-06-22 | 展讯通信(上海)有限公司 | Image post-processing method |
CN106780336A (en) * | 2016-12-19 | 2017-05-31 | 广东威创视讯科技股份有限公司 | A kind of image downscaling method and device |
CN113852768A (en) * | 2021-09-24 | 2021-12-28 | 中音讯谷科技有限公司 | Audio and video image intelligent control system based on FPGA technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1595954A (en) * | 2004-03-19 | 2005-03-16 | 华亚微电子(上海)有限公司 | A method of definition compensation during video image zoom |
US20060274089A1 (en) * | 2005-03-11 | 2006-12-07 | Huaya Microelectronics (Shanghai), Inc. | Image scaler with controllable sharpness |
CN101076079A (en) * | 2007-06-14 | 2007-11-21 | 华为技术有限公司 | Method and apparatus for enhancing video-signal image |
CN101815157A (en) * | 2009-02-24 | 2010-08-25 | 虹软(杭州)科技有限公司 | Image and video amplification method and relevant image processing device |
-
2011
- 2011-12-31 CN CN201110461100.0A patent/CN102547068B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1595954A (en) * | 2004-03-19 | 2005-03-16 | 华亚微电子(上海)有限公司 | A method of definition compensation during video image zoom |
US20060274089A1 (en) * | 2005-03-11 | 2006-12-07 | Huaya Microelectronics (Shanghai), Inc. | Image scaler with controllable sharpness |
CN101076079A (en) * | 2007-06-14 | 2007-11-21 | 华为技术有限公司 | Method and apparatus for enhancing video-signal image |
CN101815157A (en) * | 2009-02-24 | 2010-08-25 | 虹软(杭州)科技有限公司 | Image and video amplification method and relevant image processing device |
Non-Patent Citations (1)
Title |
---|
SHIH-LUN CHEN等: "A Low-Cost High-Quality Adaptive Scalar for Real-Time Multimedia Applications", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY》, vol. 21, no. 11, 30 November 2011 (2011-11-30) * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701772A (en) * | 2014-11-28 | 2016-06-22 | 展讯通信(上海)有限公司 | Image post-processing method |
CN105701772B (en) * | 2014-11-28 | 2019-07-23 | 展讯通信(上海)有限公司 | A kind of post processing of image method |
CN106780336A (en) * | 2016-12-19 | 2017-05-31 | 广东威创视讯科技股份有限公司 | A kind of image downscaling method and device |
CN106780336B (en) * | 2016-12-19 | 2020-04-03 | 广东威创视讯科技股份有限公司 | Image reduction method and device |
CN113852768A (en) * | 2021-09-24 | 2021-12-28 | 中音讯谷科技有限公司 | Audio and video image intelligent control system based on FPGA technology |
Also Published As
Publication number | Publication date |
---|---|
CN102547068B (en) | 2014-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8335394B2 (en) | Image processing method for boundary resolution enhancement | |
US10614551B2 (en) | Image interpolation methods and related image interpolation devices thereof | |
TWI543586B (en) | Method for image enhancement, and image processing apparatus and computer program product using the same | |
US8275218B2 (en) | Forward and backward image resizing method | |
CN102209180A (en) | Image processing apparatus and image processing method | |
CN109345490B (en) | Method and system for enhancing real-time video image quality of mobile playing terminal | |
CN102547067B (en) | Improved bicubic interpolation video scaling method | |
EP3719741B1 (en) | Image processing apparatus and image processing method thereof | |
CN102281388A (en) | Method and apparatus for adaptively filtering image noise | |
CN103035019B (en) | Image processing method and device | |
CN102547068B (en) | Improved bilinear interpolation video scaling method | |
US9805450B2 (en) | Image processing device and display device having the same | |
CN103685858A (en) | Real-time video processing method and equipment | |
CN113450272B (en) | Image enhancement method based on sinusoidal variation and application thereof | |
US9336573B2 (en) | Self-adaptive image edge correction device and method thereof | |
US20080181528A1 (en) | Faster serial method for continuously varying Gaussian filters | |
WO2018099303A1 (en) | Image denoising method and device, and computer storage medium | |
CN106600532B (en) | Image amplification method and device | |
CN104978712B (en) | Image processing method and device | |
KR20080042672A (en) | An apparatus and a method of sharpening for the blurred blown-up images | |
CN108632502B (en) | Image sharpening method and device | |
KR100889935B1 (en) | Method and apparatus for sharpening blurred images by radial distortion compensation | |
KR101332030B1 (en) | Method of magnifying image and computer readable medium storing the program thereof | |
CN102289798A (en) | method and device for reducing image ringing noise | |
Abu et al. | Image projection over the edge |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140305 Termination date: 20181231 |