CN103456031B - A kind of new method of area image interpolation - Google Patents

A kind of new method of area image interpolation Download PDF

Info

Publication number
CN103456031B
CN103456031B CN201310284385.4A CN201310284385A CN103456031B CN 103456031 B CN103456031 B CN 103456031B CN 201310284385 A CN201310284385 A CN 201310284385A CN 103456031 B CN103456031 B CN 103456031B
Authority
CN
China
Prior art keywords
interpolation
image
grid
region
algorithm
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.)
Active
Application number
CN201310284385.4A
Other languages
Chinese (zh)
Other versions
CN103456031A (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.)
Jiangsu Huasheng Intellectual Property Operation Co.,Ltd.
Original Assignee
Jiangnan University
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 Jiangnan University filed Critical Jiangnan University
Priority to CN201310284385.4A priority Critical patent/CN103456031B/en
Publication of CN103456031A publication Critical patent/CN103456031A/en
Application granted granted Critical
Publication of CN103456031B publication Critical patent/CN103456031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of new method of area image interpolation, for solving the problem that gray scale is discontinuous, soft edge, calculated amount are large that conventional most nearest neighbour interpolation method, bilinear interpolation and bicubic interpolation method exist respectively.Interpolation image is first divided into M × N number of grid by the present invention, calculates the gray scale meansquaredeviationσ of grid four end points respectively, and is made comparisons by σ and threshold value T thus judge that grid belongs to flat site or texture complex region; Then affiliated in source images according to interpolation point region uses different interpolation algorithms accordingly: when interpolation point belongs to flat site, then select bilinear interpolation algorithm; When interpolation point belong to complex region or smooth with the boundary line of complex region on time, then select bicubic interpolation algorithm.The present invention under the prerequisite substantially not changing interpolation precision, can reduce operation time effectively, improves efficiency of algorithm.

Description

A kind of new method of area image interpolation
Technical field
Patent of the present invention belongs to technical field of image processing, is specifically related to a kind of new method of area image interpolation.
Background technology
Image, in acquisition process, has the impact of the factors such as non-linear, shooting angle due to imaging system itself, the image of acquisition can be made to produce out of proportion, even distortion, this kind of image degradation phenomenon is referred to as geometric distortion (distortion).When doing quantitative test to image, first will carry out accurate geometry correction to the image of distortion, in order to avoid affect the precision of quantitative test.Geometric distortion correction is divided into two steps: the first step carries out geometric transformation to original image coordinate space, drops on correct position to make pixel; Second step is the gray-scale value redefining new pixel, this is because after coordinate transform above, some pixel is pressed together sometimes, is sometimes scatter again, make the pixel after correction not drop in discrete coordinate points, therefore need the gray-scale value redefining these pixels.Conventional gray reconstruction interpolation algorithm has most nearest neighbour interpolation method, bilinear interpolation and bicubic interpolation method three kinds, but these three kinds of algorithms exist the problems such as gray scale is discontinuous, soft edge, calculated amount are large respectively.
Traditional interpolation algorithm all carries out same interpolation calculation to the pixel of entire image, do not consider the local characteristics of image, and the region that image generally has relatively flat region and grain details to enrich.Very little in the change of flat site image intensity value, at this moment adopt complicated interpolation algorithm compared with simple interpolation algorithm, interpolation is suitable, but operand increase is very large; Adopt complicated interpolation algorithm in the region that grain details is enriched, then can obtain higher-quality interpolation.Thus, adopt at the flat site of image the interpolation algorithm that operand is little, adopt bicubic interpolation in the region of grain details complexity, just can, after maintenance interpolation while picture quality, reduce calculated amount, reduce operation time.
Summary of the invention
For the theory of REGION INTERPOLATION algorithm, the present invention proposes a kind of new method gray level image to the area image interpolation of general applicability.The present invention effectively reduces operation time under being intended to substantially not change the prerequisite of interpolation precision, improves the operational efficiency of interpolation algorithm.
The technical matters that patent of the present invention solves can adopt following technical solution to realize:
A new method for area image interpolation, comprises the following steps:
1) using one of them end points in interpolation image four end points as the initial point of X-Y coordinate system, then in x and y direction image is carried out M and N decile respectively, so just obtain M × N number of grid.The choosing method of M, N value is: set a grid horizontal and vertical direction respectively containing 10 pixels, so can obtain following formula:
M = L f 10 N = D f 10 - - - ( 1 )
Wherein, L f, D frepresent horizontal pixel and the vertical pixel of image resolution ratio respectively;
2) the gray-scale value f that each grid four extreme coordinates places are corresponding is obtained 11, f 12, f 21, f 22and average E, calculate the meansquaredeviationσ of these four gray-scale values, formula is:
σ = 1 4 [ ( f 11 - E ) 2 + ( f 12 - E ) 2 + ( f 21 - E ) 2 + ( f 22 - E ) 2 ] - - - ( 2 )
Meansquaredeviationσ reflects the dispersion degree of its four end points gray-scale values of grid, and clearly, σ numerical value is less, and the gray-scale value saltus step between four end points is less, also just shows that its gray scale texture is relatively more smooth;
3) the threshold value T of σ and setting is made quantitative comparison, if σ is less than T, then whole grid is classified as texture flat site (hereafter all representing with A), otherwise is classified as texture complex region (hereafter all representing with B).Threshold value T to ask for process as follows: set about from formula (2), order
t=(f 11-E) 2+(f 12-E) 2+(f 21-E) 2+(f 22-E) 2(3)
Definition grid four end points gray scale difference is between any two Δ f, so can obtain following relational expression:
Δ f 1 = f 11 - f 12 Δ f 2 = f 11 - f 21 Δ f 3 = f 11 - f 22 Δ f 4 = f 12 - f 21 Δ f 5 = f 12 - f 22 Δ f 6 = f 21 - f 22 - - - ( 4 )
In addition, E = f 11 + f 12 + f 21 + f 22 4 - - - ( 5 )
By formula (3), (4), (5), have:
t = Δ f 1 2 + Δ f 2 2 + Δ f 3 2 + 2 Δ f 4 2 + 2 Δ f 5 2 + 2 Δ f 6 2 8 - - - ( 6 )
If a region texture relatively flat, so its four end points gray scale difference Δ f between any two should meet following relational expression:
-p≤Δf i≤p,i∈[1,2,…,6](7)
Wherein, p is the critical value of acceptable gray scale difference value.Due to different gray level images, the critical value of its acceptable gray scale difference value is different, in order to make the selected of p value have general applicability to gray level image, by the average gray value of itself and target image ( the image processing software that value is general all can directly be obtained, as obtained by mean function in Matlab) connect, for it makes following simple quantitative relationship:
p = P ‾ 20 - - - ( 8 )
According to formula (7), convolution (8), so can be derived by formula (6) and obtain the following relational expression of t:
t ≤ 9 3200 P ‾ 2 - - - ( 9 )
Convolution (2), thus obtain the quantitative equation of T:
T = 3 2 160 P ‾ - - - ( 10 )
4) image after step (3) divides, if it is adjacent to there is AA (or BB), then by this region merging technique;
5), after completing Region dividing, the gray scale difference value stage is just entered.If the point of interpolation belongs to region A, select the bilinear interpolation algorithm that precision is higher and calculated amount is less; If the point of interpolation belongs to region B or on the boundary line in AB region, in order to ensure that image has enough interpolation precisions, select the bicubic interpolation algorithm of full accuracy.
Accompanying drawing explanation
Accompanying drawing 1 is the algorithm simple process figure that the present invention is complete.
Accompanying drawing 2 is decile schematic diagram of interpolation image.
Accompanying drawing 3 is preliminary Region dividing schematic diagram of interpolation image.
Accompanying drawing 4 is that the final area after interpolation image adjacent area merges divides schematic diagram.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
1) input the low resolution image of interpolation, obtain the average gray value of image horizontal pixel L fwith vertical pixel D f, the size of M, N and threshold value T is calculated respectively with formula (1) and (10);
2) with one of them end points of interpolation image for true origin, image is made M, N equal portions in x and y direction respectively, as shown in Figure 2;
3) the gray-scale value f at each grid extreme coordinates place is obtained 11, f 12, f 21, f 22, computation of mean values E, calculates respective meansquaredeviationσ with formula (1);
4) σ and threshold value T are carried out size to compare, if be less than T, then this grid is belonged to region A, otherwise, belong to region B, as shown in Figure 3;
5) if there is the adjacent grid of AA (or BB is adjacent), then merged and be fused to new region A (or region B), thus complete the division completely in region, its final effect (contrasts obviously for making design sketch as shown in Figure 3, a-quadrant white filled, B then uses filled black in region);
6) judge the region belonging to current interpolation point is in source images, if belong to region A, then use bilinear interpolation algorithm to carry out interpolation; If in the B of region or be positioned on the boundary line of AB, then bicubic interpolation algorithm is used to carry out interpolation;
7) interpolation of all pixels point has been judged whether, if complete, final image after output interpolation; The interpolation that previous step proceeds to remain pixel point if no, be then back to.
It is more than preferred embodiment of the present invention, description in instructions also just illustrates principle of the present invention, not any pro forma restriction is done to the present invention, every according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all belong in the scope of invention technical scheme.

Claims (1)

1. a new method for area image interpolation, is characterized in that,
First or complexity smooth to image foundation texture carries out Region dividing, then uses different interpolation algorithms according to interpolation point characteristic of affiliated area in source images;
Interpolation image is divided into M × N number of grid, calculates the gray scale meansquaredeviationσ of grid four end points respectively, and σ and threshold value T is made comparisons thus judges that grid belongs to flat site or texture complex region;
The adjacent square identical to texture properties merges, and then completes overall Region dividing;
When interpolation point belongs to flat site, select bilinear interpolation algorithm; When interpolation point belong to complex region or smooth with the boundary line of complex region on time, select bicubic interpolation algorithm;
The selection principle of M, N and threshold value T has general applicability to gray level image, and its formula is as follows:
M = L f 10 N = D f 10 - - - ( 1 )
T = 3 2 160 P ‾ - - - ( 2 )
Wherein, L f, D frepresent horizontal pixel and the vertical pixel of image resolution ratio respectively, for the average gray value of interpolation image.
CN201310284385.4A 2013-07-08 2013-07-08 A kind of new method of area image interpolation Active CN103456031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310284385.4A CN103456031B (en) 2013-07-08 2013-07-08 A kind of new method of area image interpolation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310284385.4A CN103456031B (en) 2013-07-08 2013-07-08 A kind of new method of area image interpolation

Publications (2)

Publication Number Publication Date
CN103456031A CN103456031A (en) 2013-12-18
CN103456031B true CN103456031B (en) 2016-03-30

Family

ID=49738358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310284385.4A Active CN103456031B (en) 2013-07-08 2013-07-08 A kind of new method of area image interpolation

Country Status (1)

Country Link
CN (1) CN103456031B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200426A (en) * 2014-08-25 2014-12-10 北京京东方视讯科技有限公司 Image interpolation method and device
GB2529644B (en) 2014-08-27 2016-07-13 Imagination Tech Ltd Efficient interpolation
CN106204454B (en) * 2016-01-26 2019-06-21 西北工业大学 High-precision rapid image interpolation method based on texture edge self-adaption data fusion
CN106373090B (en) * 2016-08-31 2019-11-15 广州视睿电子科技有限公司 Image processing method and device
CN108564551B (en) * 2018-04-25 2021-01-15 珠海全志科技股份有限公司 Fisheye image processing method and fisheye image processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6738498B1 (en) * 2000-08-01 2004-05-18 Ge Medical Systems Global Technology Company, Llc Method and apparatus for tissue dependent filtering for image magnification
CN101706948A (en) * 2009-11-26 2010-05-12 广东广联电子科技有限公司 Image amplifying method based on plum-blossom interpolation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6738498B1 (en) * 2000-08-01 2004-05-18 Ge Medical Systems Global Technology Company, Llc Method and apparatus for tissue dependent filtering for image magnification
CN101706948A (en) * 2009-11-26 2010-05-12 广东广联电子科技有限公司 Image amplifying method based on plum-blossom interpolation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于区域的双三次图像插值算法;王会鹏,周利莉,张杰;《计算机工程》;20101031;第36卷(第19期);第216-217页 *
区域指导的自适应图像插值算法;符祥,郭宝龙;《光电子激光》;20080229;第19卷(第2期);第233-234页 *

Also Published As

Publication number Publication date
CN103456031A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103456031B (en) A kind of new method of area image interpolation
CN106204447A (en) The super resolution ratio reconstruction method with convolutional neural networks is divided based on total variance
CN103226820B (en) The two-dimensional maximum entropy division night vision image fusion target detection algorithm improved
CN103778599B (en) A kind of image processing method and system
KR20190028794A (en) GPU-based TFT-LCD Mura Defect Detection Method
CN101609554B (en) Gray-scale template matching method based on gray-scale statistical characteristics
CN104200426A (en) Image interpolation method and device
CN105678757A (en) Object displacement measurement method
CN107578430A (en) A kind of solid matching method based on adaptive weight and local entropy
CN107590502A (en) A kind of whole audience dense point fast matching method
CN101976436A (en) Pixel-level multi-focus image fusion method based on correction of differential image
CN105354795A (en) Phase correlation based acquisition method and system for self-learning super-resolution image
CN103871039A (en) Generation method for difference chart in SAR (Synthetic Aperture Radar) image change detection
CN109191511A (en) A kind of binocular solid matching process based on convolutional neural networks
CN105654428A (en) Method and system for image noise reduction
CN103971354A (en) Method for reconstructing low-resolution infrared image into high-resolution infrared image
CN102682424B (en) Image amplification processing method based on edge direction difference
CN107680043A (en) Single image super-resolution output intent based on graph model
CN104252704A (en) Total generalized variation-based infrared image multi-sensor super-resolution reconstruction method
CN102436655A (en) Super-resolution reconstruction image quality evaluation method based on SVD (singular value decomposition)
CN103325104B (en) Based on the face image super-resolution reconstruction method of iteration sparse expression
CN111062895B (en) Microscopic image restoration method based on multi-view-field segmentation
TWI439961B (en) Conversion algorithm for voids generated after converting 2D images
CN104270624A (en) Region-partitioning 3D video mapping method
CN104166992A (en) Content perception binocular image zooming method based on grid deformation

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190815

Address after: Room 308, No. 999, Gaolang East Road, Binhu District, Wuxi City, Jiangsu Province (Software Development Building)

Patentee after: Wuxi Yuhui Information Technology Co., Ltd.

Address before: 214122 Jiangsu Province, Wuxi City Lake Road No. 1800, Jiangnan University

Patentee before: Jiangnan University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210914

Address after: 214029 Room 308, No. 999 (software R & D building), gaolang East Road, Binhu District, Wuxi City, Jiangsu Province

Patentee after: Jiangsu Huasheng Intellectual Property Operation Co.,Ltd.

Address before: 214029 Room 308, No. 999 (software R & D building), gaolang East Road, Binhu District, Wuxi City, Jiangsu Province

Patentee before: Wuxi Yuhui Information Technology Co.,Ltd.