CN100458847C - Digital image edge information extracting method - Google Patents

Digital image edge information extracting method Download PDF

Info

Publication number
CN100458847C
CN100458847C CNB2005100770619A CN200510077061A CN100458847C CN 100458847 C CN100458847 C CN 100458847C CN B2005100770619 A CNB2005100770619 A CN B2005100770619A CN 200510077061 A CN200510077061 A CN 200510077061A CN 100458847 C CN100458847 C CN 100458847C
Authority
CN
China
Prior art keywords
image
pixel
space complexity
brightness
gradient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100770619A
Other languages
Chinese (zh)
Other versions
CN1881255A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100770619A priority Critical patent/CN100458847C/en
Publication of CN1881255A publication Critical patent/CN1881255A/en
Application granted granted Critical
Publication of CN100458847C publication Critical patent/CN100458847C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for extracting the edge information of digit image, which is characterized in that: fixing the gradient image of digit image; shielding the gradient image based on the human visual sensitive character; based on the shield gradient image, extracting the edge information of digit image. The invention can consist the edge extracted result and the analyzed edge condition, to make the edge extracted effect meet the human visual sensitive character, to realize better following application and improve the digit image quality in video communication.

Description

A kind of digital image edge information extracting method
Technical field
The present invention relates to the video technique field, be specifically related to a kind of digital image edge information extracting method.
Background technology
Up-to-date psychology of vision studies show that the mankind mainly concentrate in the sub-fraction key message of entire image information for image observation and understanding, by holding these key messages, just can understand image well.
Because the edge is one of the most basic feature of image, the edge has comprised the image information that is used to discern, it is the key character parameter of people's description, recognition objective and interpretation of images, the edge extensively is present between the object and background in the image, between object and the object, HVS (the Human Visual System mankind's vision systems) is the most responsive for the marginal information in the video image, so image edge information is a very important information in the above-mentioned key message.
At present, multimedia video communication relates to all aspect a lot of that each frame of digital image edge information in the video sequence is extracted and based on the processing of marginal information, as adopting the edge to strengthen (edge enhancement) technology in processing procedure before picture coding and the decoded processing procedure, by when the compressed encoding, the local overabsorption bit many to the edge, and, improve the quality of video digital images to the few allocation bit in few place, edge; As in the compressed encoding of based target (Object-based or shape-based) image/video, accurately extracting marginal information is the basic premise that correctly target is split from background; For another example in an emerging class video quality evaluation method, adopt appraisal procedure based on marginal information, contrast the quality correlativity that diminishes after original image and the compression/transmission between (impaired) image, thereby determine to diminish the quality of image.
It can be said that, the extraction of digital image edge information (edge extraction), be that rim detection (edgedetection) is a basic technology in the multimedia video communication, improve the performance of this technology, will increase for the overall performance in the video communication.
Present edge information extracting method depends on edge extracting operator (operator).In general, the edge extracting operator all is a linear operator, promptly obtain the gradient image of original digital picture, by methods such as thresholding differentiations, determine image edge information then by digital picture being carried out linear discrete convolution algorithm (lineardiscrete convolution).
Existing edge information extracting method based on the edge extracting operator mainly comprises two kinds: based on the edge information extracting method of classical operator with extract the edge information extracting method of operator based on optimal edge.
Be widely used, based on the realization principle of the edge information extracting method of classical operator be: at first, the gradient of computed image then, is determined image edge information according to the size of each pixel gradient value.
In fact, strictly speaking, gradient is the notion that exists for consecutive image, because according to the infinitesimal analysis theory of the multivariate function, consecutive image as volume coordinate (x, binary function f y) (x, y), its gradient is that (x, y) with respect to x, the single order partial derivative of y defines by gradation of image f.For discrete picture,,, can adopt discrete differential (discrete difference) to come the method for approximate replacement partial derivative to define " gradient " of discrete picture so gradient is an approximate concept because there is not partial derivative in discrete picture.Digital picture is the special circumstances of discrete picture, and digital picture not only its volume coordinate is separated into integer i, j, and gradation of image f (x y) also can only get discrete numerical value, and therefore, digital picture also is fit to asks for its " gradient " with discrete differential.
In the application of reality, the Grad of pixel zonule operator commonly used such as convolution template and image convolution are come approximate treatment, and different operators has formed the edge detection operator of multiple classics, i.e. gradient operator.Classical gradient operator comprises: Sobel operator, Kirsch operator, Prewitt operator, Roberts operator, Laplacian operator, some operator, line operator etc.
The pixel coordinate of discrete picture is generally used integer i, and j represents that (i j) locates gradation of image f (i, gradient j) to pixel
Figure C20051007706100081
For:
g → ( i , j ) = [ g x ( i , j ) , g y ( i , j ) ] T - - - ( 1 )
Wherein: component g x(i, j), g y(i, j) difference remarked pixel f (i, j) discrete differential on x direction and y direction.
The difference of different classical gradient operators is g x(i, j), g y(i, concrete form difference j).
Be that example is described in detail the edge information extracting method based on classical operator with the most frequently used Sobel operator below.
In the method, at first should pass through formula (2) and obtain g x(i, j), g y(i, j):
g x(i,j)=(f(i+1,j-1)+2f(i+1,j)+f(i+1,j+1))
-(f(i-1,j-1)+2f(i-1,j)+f(i-1,j+1))
g y(i,j)=(f(i-1,j-1)+2f(i,j-1)+f(i+1,j-1)) (2)
-(f(i-1,j+1)+2f(i,j+1)+f(i+1,j+1))
Hence one can see that, calculates g x(i, j), g y(i, gradient operator j) is respectively:
G x = - 1 0 1 - 2 0 2 - 1 0 1 - - - ( 3 )
G y = 1 2 1 0 0 0 - 1 - 2 - 1
Then, use G x, G y(i, j) disperse volume collection obtains gradient image with original image f respectively.
After obtaining gradient image, can use a thresholding to judge each pixel grey scale in the gradient image
Figure C20051007706100094
And the magnitude relationship between this thresholding, if the gray scale of pixel
Figure C20051007706100095
Be higher than threshold value, determine that then this pixel is an edge pixel, otherwise be non-edge pixel.
The edge information extracting method of other classical operator and Sobel operator is basic identical, and its difference only is G x, G yThe matrix difference.
In edge information extracting method based on classical operator, specific operator can only detect the marginal information of specific direction, and it is responsive to noise ratio, therefore, when image is carried out actual treatment, if do not know the edge of image distribution arrangement in advance, so, select when improper at operator, the extraction effect of marginal information will be poor, thereby make the of poor quality of digital picture.And, because the situation of the various piece of image differs greatly, can't judge marginal information with a kind of thresholding uniformly usually, therefore, rely on single thresholding to judge whether certain is put is the method for marginal point, be in actual applications have very much circumscribed.In addition, based on the result of the edge information extracting method of classical operator in subsequent applications, especially with the closely-related subsequent applications of human perception in, visual effect will be poor.
Optimal edge extracts operator and is based on the optimum operator that certain optiaml ciriterion (Optimal Criteria) designs, and the Canny operator is wherein very representational a kind of algorithm.Be that example is described in detail the edge information extracting method that extracts operator based on optimal edge with the Canny operator below.
With respect to classical operator, the Canny edge detection operator has better rim detection performance.According to the validity of rim detection and the reliability of location, the Canny operator based on three optiaml ciriterions be:
1, good signal to noise ratio (S/N ratio), i.e. omission marginal point and that non-marginal point is judged to the probability of marginal point is low.
2, good location, promptly detected marginal point will be as far as possible near the center of actual edge.
3, to unique response at single edge, the probability that promptly single edge produces a plurality of responses is low, and the false edge response will obtain maximum the inhibition.
Concrete steps based on the edge information extracting method of Canny operator are:
Step 1, image is carried out smothing filtering,, is specially to reduce The noise with the 2-d gaussian filters device:
H(i,i)=f(x,y)*G(i,j) (4)
Wherein: (i j) is original image to f, and (i j) is filtered image to H, and (i j) is Gaussian filter to G.
(i j) is obtained by the discretize for the impulse response function (Impulse response function) of continuous Gaussian wave filter G.This impulse response function is as shown in Equation (5):
G ( x , y ) = 1 2 πσ 2 exp ( - x 2 + y 2 2 σ 2 ) - - - ( 5 )
G (i j) as a discrete convolution operator, can discretize become 3 * 3 as required, and 5 * 5,7 * 7 or bigger matrix, provide 5 * 5 matrixes commonly used here, as shown in Figure 1.
The gradient of step 2, computed image obtains gradient image
Figure C20051007706100102
Wherein: g → ( i , j ) = [ g x ( i , j ) , g y ( i , j ) ] T , And, g x ( i , j ) ≈ ∂ f ( x , y ) ∂x x = iΔ y = jΔ = f ( i + 1 , j ) - f ( i - 1 , j ) - - - ( 6 )
g y ( i , j ) ≈ ∂ f ( x , y ) ∂ y x = iΔ y = jΔ = f ( i , j + 1 ) - f ( i , j - 1 ) - - - ( 7 )
Wherein: Δ is the sampling interval (sampling interval) of consecutive image discretize.
Mould (magnitude) according to formula (8) compute gradient image:
| g → ( i , j ) | = ( g x ( i , j ) ) 2 + ( g y ( i , j ) ) 2 - - - ( 8 )
According to the direction of formula (9) compute gradient image, promptly with the angle of horizontal direction.
Figure C20051007706100114
Step 3, setting thresholding are determined the edge of image point according to the Grad of image.The Canny algorithm is set two thresholdings of height, the Grad of image is defined as marginal point greater than the point of high threshold, give up in the image Grad less than the point of low threshold, if the pixel of Grad between two thresholdings is communicated with other marginal point in the image, as being communicated with definition according to 8, if have edge pixel in 8 promptly adjacent pixels, then determine that it is marginal point, otherwise give up with this pixel.
With respect to edge extracting method based on classical operator, three optiaml ciriterions extracting the edge information extracting method institute foundation of operator based on optimal edge all are that the thought that basis signal is handled is set up, though on marginal information extraction performance, improve to some extent, but, what this method still adopted is the thought of gradient-thresholding, therefore, the problem that exists in the edge extracting method based on classical operator, this method also all exists.
In recent years, development along with small echo (wavelet) technology and fuzzy mathematics, also develop and a kind of wavelet transformation is used for the edge information extracting method of detection of Singular Point and based on the theoretical edge information extracting method of fuzzy set (fuzzy set), also has the edge information extracting method based on methods such as mathematical morphology such as nonlinear filterings.These methods, though the method with respect to classical operator class has certain improvement in some aspects, but the greatest problem of its existence remains the result of this method in subsequent applications, especially with the closely-related subsequent applications of human perception in, visual effect is poor.
Summary of the invention
The objective of the invention is to, a kind of method of digital picture edge extracting is provided, by vision perception characteristic being incorporated the edge extracting process, make edge extracting result of the present invention in subsequent applications, especially with the closely-related subsequent applications of human apperceive characteristic in the time, reach good visual effect, thereby, improved digital picture quality in the video communication.
For achieving the above object, the method for a kind of digital picture edge extracting provided by the invention comprises:
A, determine the gradient image of digital picture;
B, described gradient image is covered processing according to the human visual perception characteristic;
C, according to the marginal information of extracting digital picture through described gradient image after covering processing.
Described step a specifically comprises:
Adopt the edge extracting operator to determine the gradient image of digital picture.
Human visual perception characteristic among the described step b is: brightness shielding effect and/or space complexity shielding effect.
Human visual perception characteristic among the described step b is: the brightness shielding effect;
And described step b specifically comprises:
According to the brightness shielding effect described gradient image being carried out the gradient image that brightness covers after the processing is:
| g → b ( i , j ) | = | g → ( i , j ) | 1 + h ( b ( i , j ) , b 0 ) ;
Wherein:
Figure C20051007706100122
For brightness cover handle the back pixel (i, Grad j),
Figure C20051007706100123
(i, ((i j) is (i, the j) mean flow rate of the regional area at place, the b of pixel in the original image to b for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean flow rate of the whole two field picture of original image, and h (b (i, j), b 0) cover function for brightness, and h (b (i, j), b 0) satisfy following condition:
If b (i, j)=b 0, then h (b (and i, j), b 0)=0, otherwise, h (b (i, j), b 0)>0; Simultaneously, and h (b (i, j), b 0) be | b (i, j)-b 0| monotonically increasing function.
Human visual perception characteristic among the described step b is: the brightness shielding effect;
And described step b specifically comprises:
According to the brightness shielding effect described gradient image being carried out the gradient image that brightness covers after the processing is:
| g → b ( i , j ) | = | g → ( i , j ) | 1 + ( | b ( i , j ) - b 0 | b 0 ) γ 1 ;
Wherein: For brightness cover handle the back pixel (i, Grad j), (i, ((i j) is (i, the j) mean flow rate of the regional area at place, the b of pixel in the original image to b for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean flow rate of the whole two field picture of original image, γ 1Be positive number.
Human visual perception characteristic among the described step b is: brightness shielding effect and space complexity shielding effect;
And in the described step b formula
Figure C20051007706100134
Replace with: the gradient image among the described step a is carried out space complexity cover back pixel (i, Grad j)
Figure C20051007706100135
Human visual perception characteristic among the described step b is: the space complexity shielding effect;
And described step b specifically comprises:
According to the space complexity shielding effect described gradient image being carried out the gradient image that space complexity covers after the processing is:
| g → m ( i , j ) | = g → ( i , j ) k ( m ( i , j ) m 0 ) ;
Wherein:
Figure C20051007706100137
For space complexity cover the back pixel (i, Grad j),
Figure C20051007706100138
(i, ((i j) is (i, the j) space complexity of the regional area at place, the m of pixel in the original image to m for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean space complexity of the whole two field picture of original image,
Figure C20051007706100139
For space complexity is covered function, and this function satisfies following condition:
K (0)>0, and
Figure C20051007706100141
Be Increasing function.
Human visual perception characteristic among the described step b is: the space complexity shielding effect;
And described step b specifically comprises:
According to the space complexity shielding effect described gradient image being carried out the gradient image that space complexity covers after the processing is:
| g → m ( i , j ) | = | g → ( i , j ) | a 0 + ( m ( i , j ) m 0 ) γ 2 ;
Wherein:
Figure C20051007706100144
For cover through brightness handle and space complexity cover pixel in the gradient image after the processing (i, Grad j),
Figure C20051007706100145
Be pixel in the original image (i, Grad j), m 0Be the mean space complexity of the whole two field picture of original image, (i j) is (i, the j) space complexity of the regional area at place, the γ of pixel in the original image to m 2Be positive number.
Human visual perception characteristic among the described step b is: brightness shielding effect and space complexity shielding effect;
And among the described step b
Figure C20051007706100146
Replace with: the gradient image among the described step a is carried out brightness cover processing back pixel (i, Grad j)
Pixel in the original image among the described step b (i, j) the space complexity m of the regional area at place (i, acquisition methods j) specifically comprises:
B1 ', (i j) determines pixel (i, j) two of the edge, place edges according to gradient direction and predetermined gradient mould value in the regional area at place at the pixel of original image;
B2 ', described regional area is divided into a fringe region and two non-fringe region R1, R2 according to described two edges;
B3 ', determine the space complexity m of described two non-fringe region R1, R2 1(i, j) and m 2(i, j);
B4 ', with the space complexity m of described two non-fringe regions 1(i, j) and m 2(i, j) average
B3 ', determine the space complexity m of described two non-fringe region R1, R2 1(i, j) and m 2(i, j);
B4 ', with the space complexity m of described two non-fringe regions 1(i, j) and m 2(i, mean value j) be defined as pixel (i, j) the space complexity m of the regional area at place (i, j).
Described step b3 ' specifically comprises: the space complexity m of described non-fringe region p(i j) is:
m p ( i , j ) = ( 1 M Σ ( s , t ) ∈ R p | f ( s , t ) - f p ‾ | k ) 1 k p=1,2;
Wherein: M is R pThe number of interior pixel point,
Figure C20051007706100152
Be R pThe average brightness in zone, p=1,2; (s is that (s t) locates the original image gray scale to pixel, and Rp is non-fringe region R1, R2, and k is an index t) to f.
Described step b3 ' specifically comprises: the space complexity m of described non-fringe region p(i j) is:
m p ( i , j ) = 1 M Σ ( s , t ) ∈ R p | f ( s , t ) - f p ‾ | P=1,2; Or
m p ( i , j ) = 1 M Σ ( s , t ) ∈ R p ( f ( s , t ) - f p ‾ ) 2 P=1,2; Or
m p ( i , j ) = max ( s , t ) ∈ R | f ( s , t ) - f p ‾ | p=1,2;
Wherein: M is R pAnd p=1, the number of 2 interior pixel points,
Figure C20051007706100156
Be R pThe average brightness in zone, Rp is non-fringe region R1, R2; (s is that (s t) locates the original image gray scale to pixel t) to f.
Described step c specifically comprises:
According to the described gradient image after the processing, the marginal information that the edge extracting operator is determined described digital picture covered.
Described edge extracting operator is: classics extract operator or extract operator based on optimal edge.
Description by technique scheme as can be known, the present invention is by introducing vision perception characteristic in digital picture edge extracting process, the edge extracting result who makes digital picture more meets the purpose of human visually-perceptible picture element amount with human consistent for the edge situation height in image viewing, the understanding from digital picture edge extracting effect of the present invention.
Description of drawings
Fig. 1 is the impulse response function matrix synoptic diagram of 5 * 5 discrete two-dimensional Gaussian filter;
Fig. 2 is that synoptic diagram is covered in brightness of the present invention;
Fig. 3 is that complexity of the present invention is covered synoptic diagram;
(a) among Fig. 4 is original image one;
(b) among Fig. 4 is the edge image synoptic diagram that extracts based on the marginal information of Sobel operator;
The edge image synoptic diagram that (c) among Fig. 4 extracts in conjunction with the marginal information of Sobel operator for the present invention;
(a) among Fig. 5 is original image two;
(b) among Fig. 5 is the edge image synoptic diagram that extracts based on the marginal information of Canny operator;
The edge image synoptic diagram that (c) among Fig. 5 extracts in conjunction with the marginal information of Canny operator for the present invention.
Embodiment
Because the result behind the digital picture edge extracting is in subsequent applications, with the mankind's vision perception characteristic very confidential relation is arranged, so, if in digital image edge extraction method, take into full account human apperceive characteristic, just can make the edge extracting result in subsequent applications, especially with the closely-related subsequent applications of human visual perception in, the very big visual effect of improving video digital images of degree.
Therefore, core of the present invention is: determine the gradient image of digital picture, according to vision perception characteristic the gradient image of described digital picture is covered processing, extract the marginal information of described digital picture according to the described gradient image of covering after the processing.
Based on core concept of the present invention technical scheme provided by the invention is further described below.
Human vision mainly depends on relative light intensity to the reaction of excitation, i.e. contrast, rather than depend on absolute monochrome information.In the appreciable range of light intensity of vision, vision becomes a kind of nonlinear inverse relation to the perception that brightness in the image changes with background luminance, and this vision perception characteristic is called the brightness shielding effect.
The observability at the edge of digital picture not only is subjected to the influence of zone leveling brightness, but also it is relevant with the spatial texture complexity of its region, promptly for the more level and smooth zone of both sides of edges, the vision observability at edge is strong, otherwise, both sides of edges image-region more complicated, details is more, then the vision poor visibility at edge.This vision perception characteristic is called the space complexity shielding effect.
The present invention is directed to the characteristics and the needs of digital picture edge extracting, fully in conjunction with brightness shielding effect in the vision perception characteristic and space complexity shielding effect, gradient image done cover processing, promptly the Grad of video digital images is carried out brightness and cover with space complexity and cover, brightness shielding effect, complexity shielding effect are played an important role in the marginal information leaching process.Thereby, make marginal information of the present invention extract the result and have higher consistance with human vision understanding to image, it is good to make marginal information extract accuracy.
Technical scheme provided by the invention can be in conjunction with the whole bag of tricks of present widely used gradient-thresholding class, be that the present invention can be in the gradient-thresholding edge extracting class methods of routine, processing is covered in fusion brightness and space complexity is covered processing links, make way of realization of the present invention varied, have wide range of applications.
Realization principle of the present invention mainly comprises following four steps:
Step 1, at first obtains original image f (i, gradient image j) according to the edge extracting algorithm based on gradient-thresholding thought of certain routine at present Above-mentioned routine based on the edge extracting algorithm of gradient-thresholding thought can for any based on classical operator the edge extracting algorithm or based on the edge extracting algorithm of optimum operator, also can comprise the edge extracting algorithm of gradient image for any intermediate result.
Step 2, according to the gradient image of human visual perception characteristic to obtaining in the step 1
Figure C20051007706100172
Carry out brightness and cover processing.
Step 3, according to the human visual perception characteristic gradient image after the processing is covered in the brightness that obtains in the step 2 and carried out space complexity and cover processing.
Step 4, cover gradient image after the processing through space complexity, determine the image border according to the edge locating rule of the edge extracting algorithm of selecting in the step 1 to what obtain in the step 3.If promptly the edge extracting algorithm of selecting in step 1 that is based on classical operator then needs to unify thresholding according to the overall situation and judges the image border; If the edge extracting algorithm of selecting in step 1 that is based on the Canny operator then needs the thought according to the Canny operator, adopt two thresholdings of height to judge the image border; Equally, if what select in step 1 is other edge extracting algorithms, then need to judge edge of image in conjunction with the technical scheme of this edge extracting algorithm.
Certainly, in above-mentioned realization principle, can there be step 3, promptly only the gradient image in the step 1 is carried out brightness and cover processing, like this, in step 4, cover gradient image after the processing to what obtain in the step 2 through brightness, determine the image border according to the edge locating rule of the edge extracting algorithm of selecting in the step 1; Equally, in the above-mentioned realization principle, can not have step 2 yet, promptly only the gradient image in the step 1 is carried out space complexity and cover processing; In addition, the order of step 3 and step 2 also can swap round, promptly earlier the gradient image in the step 1 is carried out space complexity and cover processing, then, carry out brightness and cover processing cover gradient image after the processing through space complexity again, like this, in step 4, to earlier through space complexity cover processings, after cover the gradient image of processing through brightness, determine the image border according to the edge locating rule of the edge extracting algorithm of selection in the step 1.
Below to the present invention at first to original image f (i, gradient image j) Carry out brightness and cover processing, then, again gradient image after the processing is covered in brightness and carried out space complexity and cover the method for processing and be described in detail.
In conjunction with the adaptive ability of vision system to background luminance, the present invention to the gradient image that obtains based on present predetermined edge extraction algorithm carry out each pixel in the gradient image after processing is covered in brightness (i, Grad j) can pass through formula (10) acquisition:
| g → b ( i , j ) | = | g → ( i , j ) | 1 + h ( b ( i , j ) , b 0 ) ; - - - ( 10 )
Wherein:
Figure C20051007706100183
For brightness cover handle the back pixel (i, Grad j),
Figure C20051007706100184
(i, ((i j) is (i, the j) mean flow rate of the regional area at place, the b of pixel in the original image to b for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean flow rate of the whole two field picture of original image, and h (b (i, j), b 0) cover function for brightness, and h (b (i, j), b 0) satisfy following condition:
Function h (b (i, j), b 0) be one about | b (i, j)-b 0| increasing function, and:
H (b (i, j), b 0)=0 when b (i, j)=b 0
H (b (i, j), b 0)>0 is in other any situations.(11)
A specific embodiment of formula (10) is as shown in Equation (12):
| g → b ( i , j ) | = | g → ( i , j ) | 1 + ( | b ( i , j ) - b 0 | b 0 ) γ 1 - - - ( 12 )
Wherein:
Figure C20051007706100192
For brightness cover handle the back pixel (i, Grad j), (i, ((i j) is (i, the j) mean flow rate of the regional area at place, the b of pixel in the original image to b for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean flow rate of the whole two field picture of original image, γ 1Be positive number.
(i, j) regional area at place as shown in Figure 2 for pixel.Fig. 2 is that (i j) is the center, and size is the zone of N * N, and wherein, N is an odd number with pixel.
Pixel among Fig. 2 (i, j) the mean flow rate b of region (i, j) can pass through formula (13) and obtain:
b ( i , j ) = 1 N 2 Σ ( p , q ) ∈ B f ( p , q ) - - - ( 13 )
Wherein: p, q are the pixel value in N * n-quadrant.
When technical scheme of the present invention is that advanced row space complexity is covered processing, carry out brightness again and cover when handling, in above-mentioned formula (10) and the formula (12)
Figure C20051007706100195
Should replace with
Figure C20051007706100196
Promptly (i, the gradient image based on pre-definite operator j) carry out space complexity and cover back pixel (i, Grad j) to original image f
Figure C20051007706100197
At this moment, variable being changed to of formula (10): | g → b ( i , j ) | = | g → m ( i , j ) | 1 + h ( b ( i , j ) , b 0 ) ; Variable being changed to of formula (12): | g → b ( i , j ) | = | g → m ( i , j ) | 1 + ( b ( i , j ) - b 0 b 0 ) γ 1 .
The present invention needs that also gradient image after the processing is covered in brightness and carries out space complexity and cover processing after carrying out brightness and covering processing.
The present invention to brightness cover gradient image after the processing carry out each pixel in the gradient image after space complexity is covered processing (i, Grad j) can pass through formula (14) and obtain:
| g → m ( i , j ) | = | g → b ( i , j ) | k ( m ( i , j ) m 0 ) - - - ( 14 )
Wherein:
Figure C20051007706100202
For cover back pixel (i, Grad j), m through brightness 0Be the mean space complexity of the whole two field picture of original image, m (i, j) be pixel in the original image (i, the j) space complexity of the regional area at place,
Figure C20051007706100203
For space complexity is covered function, and this function should satisfy following condition:
k(0)>0 (15)
And
Figure C20051007706100204
Be
Figure C20051007706100205
Increasing function.
A specific embodiment of formula (14) is as shown in Equation (16):
| g → m ( i , j ) | = | g → b ( i , j ) | a 0 + ( m ( i , j ) m 0 ) γ 2 - - - ( 16 )
Wherein:
Figure C20051007706100207
For cover through brightness handle and space complexity cover pixel in the gradient image after the processing (i, Grad j),
Figure C20051007706100208
For cover back pixel (i, Grad j), m through brightness 0Be the mean space complexity of the whole two field picture of original image, (i j) is (i, the j) space complexity of the regional area at place, the γ of pixel in the original image to m 2Be positive number.
(i, j) regional area at place as shown in Figure 3 for pixel in the original image.Fig. 3 is that (i j) is the center, and size is the zone of N * N, and wherein, N is an odd number with pixel.
As can be seen from Figure 3, (i is that the N * n-quadrant at center is made up of three parts j), i.e. the subregion R1 and the R2 of edge, both sides of edges with pixel.The space complexity of setting subregion R1 and R2 is respectively: m 1(x, y), m 2(x, y), then pixel among Fig. 3 (i, j) the space complexity m of the regional area at place (i, j) can pass through formula (17) and obtain:
m = ( i , j ) = m 1 ( i , j ) + m 2 ( i , j ) 2 - - - ( 17 )
The space complexity m of above-mentioned both sides of edges subregion i(i j) may be defined as the function of original image gray scale and this zone leveling gray scale in this zone, and its general form can embody by formula (18):
m p ( i , j ) = ( 1 M Σ ( s , t ) ∈ R p | f ( s , t ) - f p ‾ | k ) 1 k (p=1,2) (18)
Wherein: M is R pThe number of interior pixel point,
Figure C20051007706100212
Be R pThe average brightness in zone, (s is that (s t) locates the original image gray scale to pixel t) to f.
Obtain the space complexity m of both sides of edges subregion i(i, three specific embodiments j) are shown in formula (19), (20), (21):
m p ( i , j ) = 1 M Σ ( s , t ) ∈ R p | f ( s , t ) - f p ‾ | (p=1,2) (19)
m p ( i , j ) = 1 M Σ ( s , t ) ∈ R p ( f ( s , t ) - f p ‾ ) 2 (p=1,2) (20)
m p ( i , j ) = max ( s , t ) ∈ R | f ( s , t ) - f p ‾ | (p=1,2) (21)
Wherein: M is R pThe number of (p=1,2) interior pixel point,
Figure C20051007706100216
Be R pThe average brightness in zone.
The scope of determining both sides of edges subregion R1 and R2 is as follows:
Usually there is certain width at the edge, therefore, is carrying out before space complexity covers, and at first should determine the scope at edge, i.e. the width at edge, thereby, also just determined R1, the scope of R2.
Set pixel (i, j) distance apart from its two edges, edge, place is respectively E1, E2, the method for calculating E1, E2 is: from pixel (i j) sets out, along the direction search of gradient, when the mould value of gradient drops to λ | grad b(i, j) | the time, then think at this moment, just to have obtained E1 in an edge that has arrived the edge; Then, from pixel (i j) sets out, and promptly becomes 180 ° direction search with gradient along the reverse direction of gradient, when Grad drops to λ | grad b(i, j) | the time, then think at this moment, just to have obtained E2 in another edge that has arrived the edge.The width at edge has just been determined in E1 and E2 addition.Above-mentioned λ is horizontal controlling elements.
Because the zone of N * N is a neighborhood (neighbourhood) among a small circle, therefore, can think roughly that the width at edge is constant in this zone.Horizontal controlling elements λ can adjust in concrete implementation procedure, to reach better effect.
In technical scheme of the present invention is that advanced row space complexity is covered processing, carry out brightness again and cover when handling, in above-mentioned formula (14) and the formula (16)
Figure C20051007706100221
Replace with:
Figure C20051007706100222
Promptly earlier to original image f (i, the gradient image based on pre-definite operator j) carries out space complexity and covers processing, at this moment, formula (14) is replaceable to be: | g → m ( i , j ) | = | g → ( i , j ) | k ( m ( i , j ) m 0 ) γ 2 ; Formula (16) is replaceable to be: | g → m ( i , j ) | = | g → ( i , j ) | a 0 + ( m ( i , j ) m 0 ) γ 2 .
Description by technique scheme as can be known, edge extracting method of the present invention is the marginal information of orientation image accurately, like this, in the video communication process, by marginal information is carried out enhancement process, can reach the details sharpening that makes image, make image have sharpening (sharp) effect, thereby, improved the video communication competitiveness of product in market.
The present invention can also become and H.265 waits in emerging video coding technique and the international standard, carries out the basic technology of video compression coding pre-treatment based on object.By technical scheme of the present invention is applied in the object extraction technology, then can improve international standard effect in actual applications, thereby, improve the competitive power of emerging video product.
The concrete experiment effect that adopts edge extracting method of the present invention is shown in accompanying drawing 4 and accompanying drawing 5.
(a) figure among Fig. 4 is the original image of basket, (b) figure among Fig. 4 is the edge image that the edge information extracting method based on the Sobel operator extracts, the edge image that (c) among Fig. 4 extracts in conjunction with the edge information extracting method of Sobel operator for the present invention.
(a) figure among Fig. 5 is the original image of basket, (b) figure among Fig. 5 is the edge image that the edge information extracting method based on the Canny operator extracts, the edge image that to be the present invention extract in conjunction with the edge information extracting method of Canny operator of (c) figure among Fig. 5.
From the experimental result shown in Fig. 4 and Fig. 5 as can be seen, in the prior art result, have much should not be that the thing at edge has become the edge in human intelligible, such as the meadow around the basket etc., the human in fact edge of paying close attention to when observing this image should be the texture edge on the basket, and prior art is carrying out having missed important marginal information when marginal information is extracted.In the result of the present invention, more focus on the texture edge on the basket, not only extract the texture marginal information on a large amount of baskets accurately, and, reduced extraction in a large number to part edge information in meadow in the image, thereby, make the marginal information of extracting more near human visual characteristic.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, and the claim of application documents of the present invention comprises these distortion and variation.

Claims (13)

1, a kind of digital image edge information extracting method is characterized in that, comprises step:
A, employing edge extracting operator are determined the gradient image of digital picture;
B, described gradient image is covered processing according to the human visual perception characteristic;
C, according to the marginal information of extracting digital picture through described gradient image after covering processing.
2, a kind of digital image edge information extracting method as claimed in claim 1 is characterized in that, the human visual perception characteristic among the described step b is: brightness shielding effect and/or space complexity shielding effect.
3, a kind of digital image edge information extracting method as claimed in claim 2 is characterized in that, the human visual perception characteristic among the described step b is: the brightness shielding effect;
And described step b specifically comprises step:
According to the brightness shielding effect described gradient image being carried out the gradient image that brightness covers after the processing is:
| g → b ( i , j ) | = | g → ( i , j ) | 1 + h ( b ( i , j ) , b 0 ) ;
Wherein: For brightness cover handle the back pixel (i, Grad j), (i, ((i j) is (i, the j) mean flow rate of the regional area at place, the b of pixel in the original image to b for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean flow rate of the whole two field picture of original image, and h (b (i, j), b 0) cover function for brightness, and h (b (i, j), b 0) satisfy following condition:
If b (i, j)=b 0, then h (b (and i, j), b 0)=0, otherwise, h (b (i, j), b 0)>0; Simultaneously, and h (b (i, j), b 0) be | b (i, j)-b 0| monotonically increasing function.
4, a kind of digital image edge information extracting method as claimed in claim 3 is characterized in that, the human visual perception characteristic among the described step b is: the brightness shielding effect;
And described step b specifically comprises:
According to the brightness shielding effect described gradient image being carried out the gradient image that brightness covers after the processing is:
| g → b ( i , j ) | = | g → ( i , j ) | 1 + ( | b ( i , j ) - b 0 | b 0 ) r 1 ;
Wherein:
Figure C2005100770610003C2
For brightness cover handle the back pixel (i, Grad j),
Figure C2005100770610003C3
(i, ((i j) is (i, the j) mean flow rate of the regional area at place, the b of pixel in the original image to b for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean flow rate of the whole two field picture of original image, γ 1Be positive number.
5, as claim 3 or 4 described a kind of digital image edge information extracting methods, it is characterized in that the human visual perception characteristic among the described step b is: brightness shielding effect and space complexity shielding effect;
And in the described step b formula
Figure C2005100770610003C4
Replace with: the gradient image among the described step a is carried out space complexity cover back pixel (i, Grad j)
Figure C2005100770610003C5
6, a kind of digital image edge information extracting method as claimed in claim 2 is characterized in that, the human visual perception characteristic among the described step b is: the space complexity shielding effect;
And described step b specifically comprises:
According to the space complexity shielding effect described gradient image being carried out the gradient image that space complexity covers after the processing is:
| g → m ( i , j ) | = g → ( i , j ) k ( m ( i , j ) m 0 ) ;
Wherein:
Figure C2005100770610003C7
For space complexity cover the back pixel (i, Grad j),
Figure C2005100770610003C8
(i, ((i j) is (i, the j) space complexity of the regional area at place, the m of pixel in the original image to m for i, Grad j) j) to locate gradation of image f for pixel in the original image 0Be the mean space complexity of the whole two field picture of original image,
Figure C2005100770610004C1
For space complexity is covered function, and this function satisfies following condition:
K (0)>0, and
Figure C2005100770610004C2
Be
Figure C2005100770610004C3
Increasing function.
7, a kind of digital image edge information extracting method as claimed in claim 6 is characterized in that, the human visual perception characteristic among the described step b is: the space complexity shielding effect;
And described step b specifically comprises:
According to the space complexity shielding effect described gradient image being carried out the gradient image that space complexity covers after the processing is:
| g → m ( i , j ) | = | g → ( i , j ) | a 0 + ( m ( i , j ) m 0 ) γ 2 ;
Wherein:
Figure C2005100770610004C5
For cover through brightness handle and space complexity cover pixel in the gradient image after the processing (i, Grad j),
Figure C2005100770610004C6
Be pixel in the original image (i, Grad j), m 0Be the mean space complexity of the whole two field picture of original image, (i j) is (i, the j) space complexity of the regional area at place, the γ of pixel in the original image to m 2Be positive number.
8, as claim 6 or 7 described a kind of digital image edge information extracting methods, it is characterized in that the human visual perception characteristic among the described step b is: brightness shielding effect and space complexity shielding effect;
And among the described step b
Figure C2005100770610004C7
Replace with: the gradient image among the described step a is carried out brightness cover processing back pixel (i, Grad j)
Figure C2005100770610004C8
9, as claim 6 or 7 described a kind of digital image edge information extracting methods, it is characterized in that, pixel in the original image among the described step b (i, j) the space complexity m of the regional area at place (i, acquisition methods j) specifically comprises:
B1 ', (i j) determines pixel (i, j) two of the edge, place edges according to gradient direction and predetermined gradient mould value in the regional area at place at the pixel of original image;
B2 ', described regional area is divided into a fringe region and two non-fringe region R1, R2 according to described two edges;
B3 ', determine the space complexity m of described two non-fringe region R1, R2 1(i, j) and m 2(i, j);
B4 ', with the space complexity m of described two non-fringe regions 1(i, j) and m 2(i, mean value j) be defined as pixel (i, j) the space complexity m of the regional area at place (i, j).
10, a kind of digital image edge information extracting method as claimed in claim 9 is characterized in that, described step b3 ' specifically comprises:
The space complexity m of described non-fringe region p(i j) is:
m p ( i , j ) = ( 1 M Σ ( s , t ) ∈ R p | f ( s , t ) - f p ‾ ) | k ) 1 k , p = 1,2 ;
Wherein: M is R pThe number of interior pixel point, f pBe R pThe average brightness in zone, p=1,2; (s is that (s t) locates the original image gray scale to pixel, and Rp is non-fringe region R1, R2, and k is an index t) to f.
11, a kind of digital image edge information extracting method as claimed in claim 10 is characterized in that, described step b3 ' specifically comprises:
The space complexity m of described non-fringe region p(i j) is:
m p ( i , j ) = 1 M Σ ( s , t ) ∈ R p | f ( s , t ) - f p ‾ | , p = 1,2 ; Or
m p ( i , j ) = 1 M Σ ( s , t ) ∈ R p ( f ( s , t ) - f p ‾ ) 2 , p = 1,2 ; Or
m p ( i , j ) = max ( s , t ) ∈ R | f ( s , t ) - f p ‾ | , p = 1,2 ;
Wherein: M is R pAnd p=1, the number of 2 interior pixel points, f pBe R pThe average brightness in zone, Rp is non-fringe region R1, R2; (s is that (s t) locates the original image gray scale to pixel t) to f.
12, a kind of digital image edge information extracting method as claimed in claim 2 is characterized in that, described step c is specially:
According to the described gradient image after the processing, the marginal information that the edge extracting operator is determined described digital picture covered.
13, as claim 1 or 12 described a kind of digital image edge information extracting methods, it is characterized in that described edge extracting operator is: classics extract operator or extract operator based on optimal edge.
CNB2005100770619A 2005-06-15 2005-06-15 Digital image edge information extracting method Expired - Fee Related CN100458847C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100770619A CN100458847C (en) 2005-06-15 2005-06-15 Digital image edge information extracting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100770619A CN100458847C (en) 2005-06-15 2005-06-15 Digital image edge information extracting method

Publications (2)

Publication Number Publication Date
CN1881255A CN1881255A (en) 2006-12-20
CN100458847C true CN100458847C (en) 2009-02-04

Family

ID=37519450

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100770619A Expired - Fee Related CN100458847C (en) 2005-06-15 2005-06-15 Digital image edge information extracting method

Country Status (1)

Country Link
CN (1) CN100458847C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321289B (en) * 2008-06-13 2010-10-20 北京大学 Method, system and device for processing video image in mobile phone television
CN101640792B (en) * 2008-08-01 2011-09-28 中国移动通信集团公司 Method, equipment and system for compression coding and decoding of cartoon video
CN102004919A (en) * 2010-11-03 2011-04-06 天津工业大学 Target detecting and locating method
CN103035000A (en) * 2012-12-06 2013-04-10 天津师范大学 Color image edge extraction method based on cable news network (CNN)
CN103279235B (en) * 2013-05-28 2016-08-10 广州视睿电子科技有限公司 The method and system of location, touch point
CN103279234B (en) * 2013-05-28 2016-12-28 广州视睿电子科技有限公司 The method and system of location, touch point

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372226A (en) * 2001-02-21 2002-10-02 西北工业大学 Independent bondary self-enhancing method for detecting imagre boundary
CN1545062A (en) * 2003-11-27 2004-11-10 上海交通大学 Pyramid image merging method being integrated with edge and texture information
CN1601562A (en) * 2003-09-25 2005-03-30 索尼株式会社 Image processing apparatus and method of same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372226A (en) * 2001-02-21 2002-10-02 西北工业大学 Independent bondary self-enhancing method for detecting imagre boundary
CN1601562A (en) * 2003-09-25 2005-03-30 索尼株式会社 Image processing apparatus and method of same
CN1545062A (en) * 2003-11-27 2004-11-10 上海交通大学 Pyramid image merging method being integrated with edge and texture information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
数字视频客观质量评估方法研究. 杨付正.西安电子科技大学学位论文. 2005
数字视频客观质量评估方法研究. 杨付正.西安电子科技大学学位论文. 2005 *

Also Published As

Publication number Publication date
CN1881255A (en) 2006-12-20

Similar Documents

Publication Publication Date Title
CN100458847C (en) Digital image edge information extracting method
CN101930597B (en) Mathematical morphology-based image edge detection method
Fabijańska Variance filter for edge detection and edge-based image segmentation
CN102521836A (en) Edge detection method based on gray-scale image of specific class
CN104574277A (en) Image interpolation method and image interpolation device
CN105513035A (en) Method and system for detecting human body hidden item in passive millimeter wave image
US9202267B1 (en) System and method to enhance and process a digital image
CN103208105B (en) A kind of infrared image details strengthens and noise Adaptive Suppression method
CN101231747A (en) X ray picture edge and contrast synthesis enhancing method
CN104657947B (en) For a kind of noise-reduction method of base image
CN101567964A (en) Method for preprocessing noise reduction and block effect removal in low bit-rate video application
CN101853490A (en) Bionic image restoration method based on human visual characteristics
Hu et al. A multi-directions algorithm for edge detection based on fuzzy mathematical morphology
CN104580829A (en) Terahertz image enhancing method and system
CN101493939A (en) Method for detecting cooked image based on small wave domain homomorphic filtering
CN105488787A (en) Geometric active contour model-based coastline detection method for remote sensing image
CN102682432A (en) Inferior-quality fingerprint grayscale image enhancement method on basis of three gaussian filtering
Teng et al. Adaptive morphological filtering method for structural fusion restoration of hyperspectral images
CN106780514A (en) The computational methods of the heavy rain Ji Lao areas depth of accumulated water based on monitor video image
CN103971345A (en) Image denoising method based on improved bilateral filtering
Kumar et al. A comparative study of various filtering techniques
CN105243647A (en) Linear spatial filtering-based image enhancement method
CN101853500A (en) Colored multi-focus image fusing method
CN102760295A (en) Fire disaster image detection system for edge detection-based operator
CN104537632A (en) Infrared image histogram enhancing method based on edge extraction

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090204

Termination date: 20160615

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