[go: up one dir, main page]

CN100594719C - Image edge enhancement device and method - Google Patents

Image edge enhancement device and method Download PDF

Info

Publication number
CN100594719C
CN100594719C CN200510113883A CN200510113883A CN100594719C CN 100594719 C CN100594719 C CN 100594719C CN 200510113883 A CN200510113883 A CN 200510113883A CN 200510113883 A CN200510113883 A CN 200510113883A CN 100594719 C CN100594719 C CN 100594719C
Authority
CN
China
Prior art keywords
edge
pixel
value
type
image
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
CN200510113883A
Other languages
Chinese (zh)
Other versions
CN1953525A (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.)
Quanta Computer Inc
Original Assignee
Quanta Computer Inc
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 Quanta Computer Inc filed Critical Quanta Computer Inc
Priority to CN200510113883A priority Critical patent/CN100594719C/en
Publication of CN1953525A publication Critical patent/CN1953525A/en
Application granted granted Critical
Publication of CN100594719C publication Critical patent/CN100594719C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

An image edge enhancement device and a method thereof are used for adjusting the brightness value of a pixel. The image edge enhancement device comprises a first edge judgment circuit, a second edge judgment circuit and a processing circuit. The first edge judgment circuit extracts the pixel edge in a first direction and outputs a first edge value. The second edge judgment circuit extracts the pixel edge in a second direction and outputs a second edge value. The processing circuit determines an operation mode according to the brightness values of a plurality of surrounding pixels of the pixel, the first edge value and the second edge value, and outputs the adjusted brightness value of the pixel according to the operation mode. The adjusting method can effectively prevent the noise in the image from being amplified and prevent the same image edge from being repeatedly strengthened by different edge judging circuits.

Description

图像边缘强化装置及其方法 Image edge enhancement device and method

技术领域 technical field

本发明涉及一种图像处理装置及其方法,且特别涉及一种图像边缘强化装置及其方法。The present invention relates to an image processing device and its method, and in particular to an image edge enhancement device and its method.

背景技术 Background technique

图像边缘强化技术是在显示画面的对象边缘,特别调整对比或明亮度以使图像的轮廓分明,而使得对象较为明显,在人眼的感官下,使画面较为清晰分明。请参照图1,其绘示是像素与其周遭像素的示意图。在图像边缘强化时,是判断像素p,i,j之是否为对象的边缘并做明亮度的调整,若像素pi,j为对象边缘则使其相较于周遭像素pi-1,j+1、pi,j+1、pi+1,j+1、pi-1,j、pi+1,j、pi-1,j-1、pi,j-1及pi+1,j-1的对比度较高。Image edge enhancement technology is to adjust the contrast or brightness of the edge of the object in the display screen to make the outline of the image clear, so that the object is more obvious, and the image is clearer and clearer under the sense of the human eye. Please refer to FIG. 1 , which is a schematic diagram of a pixel and its surrounding pixels. In image edge enhancement, it is judged whether the pixel p , i, j is the edge of the object and the brightness is adjusted. If the pixel p i, j is the object edge, it is compared with the surrounding pixels p i-1, j +1 , p i, j+1 , p i+1, j+1 , p i-1, j , p i+1, j , p i-1 , j-1 , p i, j-1 and p The contrast of i+1, j-1 is higher.

请参照图2,其绘示是现有的边缘强化电路的结构图。边缘强化电路200包括寄存单元210(1)-(6)、高通滤波器(high pass filter)220、高通滤波器230、低通滤波器(low pass filter)240及查询单元250。Please refer to FIG. 2 , which is a structural diagram of an existing edge strengthening circuit. The edge enhancement circuit 200 includes register units 210 ( 1 )-( 6 ), a high pass filter 220 , a high pass filter 230 , a low pass filter 240 and a query unit 250 .

寄存单元210(1)用以寄存像素值xi,j+1,寄存单元210(2)用以寄存像素值xi+1,j+1,寄存单元210(3)用以寄存像素值xi,j,寄存单元210(4)用以寄存像素值xi+1,j,寄存单元210(5)用以寄存像素值xi,j-1,寄存单元210(6)用以寄存像素值xi+1,j-1。像素值xi,j+1、xi+1,j+1、xi,j、xi+1,j、xi,j-1及xi+1,j-1各自为像素pi,j+1、pi+1,j+1、pi,j、pi+1,j、pi,j-1及pi+1,j-1在特定色域的值。The register unit 210(1) is used to register the pixel value x i, j+1 , the register unit 210(2) is used to register the pixel value x i+1, j+1 , and the register unit 210(3) is used to register the pixel value x i, j , the register unit 210(4) is used to register the pixel value x i+1, j , the register unit 210(5) is used to register the pixel value x i, j-1 , and the register unit 210(6) is used to register the pixel value Value x i+1,j-1 . Pixel values x i,j+1 , x i+1,j+1 , x i,j , x i+1,j , x i,j-1 and x i+1,j-1 are each pixel p i , values of j+1 , p i+1, j+1 , p i,j , p i+1,j , p i,j-1 and p i+1,j-1 in a specific color gamut.

高通滤波器220是接收像素值xi-1,j,xi,j及xi+1,j,以输出水平方向值H1。高通滤波器230是接收像素值xi,j-1,xi,j及xi,j+1,以输出垂直边缘值V1。低通滤波器240接收垂直边缘值H1及水平边缘值V1,经低通滤波后输出处理值S1。查询单元250接收处理值S1后,对照其查询表(look-up table)以输出像素值xi,j的强化后像素值xi,j’。The high-pass filter 220 receives pixel values x i-1,j , x i,j and x i+1,j to output a horizontal direction value H1. The high-pass filter 230 receives pixel values xi ,j-1 , xi ,j and xi,j+1 to output a vertical edge value V1. The low-pass filter 240 receives the vertical edge value H1 and the horizontal edge value V1, and outputs a processed value S1 after low-pass filtering. After receiving the processed value S1, the query unit 250 checks its look-up table to output the enhanced pixel value xi,j ' of the pixel value xi ,j .

然而,在上述结构下,若像素pi,j刚好为对象的垂直方向边缘及水平方向边缘,则像素pi,j会被高通滤波器220及高通滤波器130重复视为边缘上的点,而过度提高像素pi,j与周遭像素的明亮对比。当像素pi,j为噪声时,在上述结构可能判断错误,使画面中不是对象边缘之处却提高对比而产生更明显的杂点,使画面看起来变得粗糙。However, under the above structure, if the pixel p i, j happens to be the vertical edge and the horizontal edge of the object, then the pixel p i, j will be repeatedly regarded as a point on the edge by the high-pass filter 220 and the high-pass filter 130, Instead, the brightness contrast between the pixel p i, j and the surrounding pixels is excessively increased. When the pixel p i, j is noise, the judgment may be wrong in the above structure, so that the part of the picture that is not the edge of the object will increase the contrast and produce more obvious noise points, making the picture look rough.

发明内容 Contents of the invention

有鉴于此,本发明的目的就是在提供一种图像边缘强化装置及其方法,可避免对于对象的边缘判断错误及过度强化对象边缘。In view of this, the purpose of the present invention is to provide an image edge enhancement device and method thereof, which can avoid misjudging the edge of an object and over-emphasizing the edge of the object.

根据本发明的目的,提出一种图像边缘强化装置,用以调整一像素的亮度值。图像边缘强化装置包括第一边缘判断电路、第二边缘判断电路及处理电路。第一边缘判断电路在一第一方向对像素边缘提取后输出一第一边缘值。第二边缘判断电路在一第二方向对像素边缘提取后输出一第二边缘值。一处理电路根据像素的多个周遭像素的亮度值决定该像素的边缘类型,并以第一边缘值的正负、第二边缘值的正负及该像素的边缘类型决定一运算模式,再根据运算模式以输出像素的调整后亮度值。According to the object of the present invention, an image edge enhancement device is provided for adjusting the brightness value of a pixel. The image edge enhancement device includes a first edge judging circuit, a second edge judging circuit and a processing circuit. The first edge judging circuit outputs a first edge value after extracting the pixel edge in a first direction. The second edge judging circuit outputs a second edge value after extracting the pixel edge in a second direction. A processing circuit determines the edge type of the pixel according to the brightness values of a plurality of surrounding pixels of the pixel, and determines an operation mode based on the sign of the first edge value, the sign of the second edge value and the edge type of the pixel, and then according to Mathematical mode to output the adjusted luminance value of the pixel.

根据本发明的另一目的,提出一种图像边缘强化方法。首先,在第一方向对像素边缘提取后输出一第一边缘值。接着,在第二方向对像素边缘提取后输出一第二边缘值。之后,根据像素的多个周遭像素的亮度值、第一边缘值及第二边缘值决定一运算模式。最后,依运算模式以输出像素的调整后亮度值。其中,在决定该像素的运算模式的步骤中包括:根据所述周遭像素的亮度值决定该像素的边缘类型;及根据该第一边缘值的正负、该第二边缘值的正负,及该像素的边缘类型以决定该运算模式。According to another object of the present invention, an image edge enhancement method is proposed. Firstly, a first edge value is output after pixel edge is extracted in a first direction. Next, output a second edge value after extracting the edge of the pixel in the second direction. Afterwards, an operation mode is determined according to the luminance values, the first edge value and the second edge value of a plurality of surrounding pixels of the pixel. Finally, output the adjusted luminance value of the pixel according to the operation mode. Wherein, the step of determining the operation mode of the pixel includes: determining the edge type of the pixel according to the brightness values of the surrounding pixels; and according to the sign of the first edge value, the sign of the second edge value, and The edge type of the pixel determines the operation mode.

为让本发明的上述目的、特征、和优点能更明显易懂,下文特举一较佳实施例,并配合附图,作详细说明如下。In order to make the above-mentioned purpose, features, and advantages of the present invention more comprehensible, a preferred embodiment will be described in detail below together with the accompanying drawings.

附图说明 Description of drawings

图1绘示是像素与其周遭像素的示意图。FIG. 1 is a schematic diagram of a pixel and its surrounding pixels.

图2绘示是现有的边缘强化电路的结构图。FIG. 2 is a structural diagram of a conventional edge strengthening circuit.

图3绘示是依本发明一较佳实施例的图像边缘强化装置的结构图。FIG. 3 is a structural diagram of an image edge enhancement device according to a preferred embodiment of the present invention.

图4A绘示是像素E为噪声型时可能图像分布的示意图。FIG. 4A is a schematic diagram of a possible image distribution when the pixel E is noisy.

图4B绘示是像素E为边缘转折型时可能图像分布的示意图。FIG. 4B is a schematic diagram of a possible image distribution when the pixel E is an edge-bending type.

图5绘示是依本发明一较佳实施例的图像边缘强化方法的流程图。FIG. 5 is a flowchart of an image edge enhancement method according to a preferred embodiment of the present invention.

图6绘示是在步骤53中的方法流程图。FIG. 6 is a flowchart of the method in step 53 .

图7绘示是在步骤54中的方法流程图。FIG. 7 is a flowchart of the method in step 54 .

附图符号说明Description of reference symbols

Pi-1,j+1、Pi,j+1、Pi+1,j+1、Pi-1,j、Pi,j、Pi+1,j、Pi-1,j-1、Pi,j-1、Pi+1,j-1:像素P i-1,j+1 , P i,j+1 , P i+1,j+1 , P i -1,j , P i,j , P i+1,j , P i-1,j -1 , P i, j-1 , P i+1, j-1 : Pixels

200:边缘强化电路200: Edge strengthening circuit

210(1)-(6)、310(1)-(6):寄存单元210(1)-(6), 310(1)-(6): storage unit

220、230:高通滤波器220, 230: high pass filter

240:低通滤波器240: Low pass filter

250:查询单元250: query unit

300:图像边缘强化装置300: image edge enhancement device

321、322:边缘判断电路321, 322: edge judgment circuit

330:处理电路330: Processing circuit

331:计算单元331: Computing unit

332:查询单元332: query unit

具体实施方式 Detailed ways

请参照图3,其绘示是依本发明一较佳实施例的图像边缘强化装置的结构图。图像边缘强化装置300用以调整一像素的亮度值,在本实施例中以像素pi,j说明。图像边缘强化装置300包括寄存单元310(1)-(6),边缘判断电路321、边缘判断电路322及处理电路330。Please refer to FIG. 3 , which is a structural diagram of an image edge enhancement device according to a preferred embodiment of the present invention. The image edge enhancement device 300 is used to adjust the brightness value of a pixel, which is illustrated as a pixel p i,j in this embodiment. The image edge enhancement device 300 includes register units 310 ( 1 )-( 6 ), an edge judging circuit 321 , an edge judging circuit 322 and a processing circuit 330 .

请参照图1,像素pi,j为欲进行图像边缘强化处理的标的,围绕像素pi,j的则是8个周遭像素pi-1,j+1、pi,j+1、pi+1,j+1、pi-1,j、pi+1,j、pi-1,j-1、pi,j-1、pi+1,j-1,周遭像素与像素pi,j距离最近的是边界像素pi,j+1、pi-1,j、pi,j-1、pi+1,j,而其余的周遭像素则为临界像素,如:pi-1,j+1、pi+1,j+1、pi-1,j-1、pi+1,j-1Please refer to Figure 1, pixel p i, j is the target to be processed for image edge enhancement, surrounding pixel p i, j are 8 surrounding pixels p i-1, j+1 , p i, j+1 , p i+1, j+1 , p i-1, j , p i+1, j , p i-1, j-1 , p i, j-1 , p i+1, j-1 , the surrounding pixels and The nearest pixel p i, j is the boundary pixel p i, j+1 , p i-1, j , p i, j-1 , p i+1, j , and the rest of the surrounding pixels are critical pixels, such as : p i-1, j+1 , p i+1, j+1 , p i-1, j-1 , p i+1, j-1 .

寄存单元310(1)-(6)用以寄存像素pi,j及数个周遭像素的亮度值,例如为像素pi,j及5个周遭像素的亮度值。请同时参照图1及图3。寄存单元310(1)用以寄存像素值yi,j+1,寄存单元310(2)用以寄存像素值yi+i,j+1,寄存单元310(3)用以寄存像素值yi,j,寄存单元310(4)用以寄存像素值yi+1,j,寄存单元310(5)用以寄存像素值yi,j-1寄存单元310(6)用以寄存像素值yi+1,j-1。像素值yi-1,j+1、yi,j+1、yi+1,j+1、yi-1,j、yi,j、yi+1,j、yi-1,j-1、yi,j-1及yi+1,j-1各自为像素pi-1,j+1、pi,j+1、pi+1,j+1、pi-1,j、pi,j、pi+1,j、pi-1,j-1、pi,j-1及pi+1,j-1在特定色域的值,此特定色域在本实施例为Y色域。The register units 310(1)-(6) are used to register the brightness values of the pixel p i,j and several surrounding pixels, for example, the brightness values of the pixel p i,j and five surrounding pixels. Please refer to Figure 1 and Figure 3 at the same time. The register unit 310(1) is used to register the pixel value y i, j+1 , the register unit 310(2) is used to register the pixel value y i+i, j+1 , and the register unit 310(3) is used to register the pixel value y i, j , the register unit 310(4) is used to register the pixel value y i+1, j , the register unit 310(5) is used to register the pixel value y i, j-1 register unit 310(6) is used to register the pixel value y i+1, j-1 . Pixel value y i-1, j+1 , y i, j+1 , y i+1, j+1 , y i-1, j , y i, j , y i+1, j , y i-1 , j-1 , y i, j-1 and y i+1, j-1 are pixels p i-1, j+1 , p i, j+1 , p i+1, j+1 , p i -1, j , p i, j , p i+1, j , p i-1, j-1 , p i, j-1 and p i+1, j-1 in a specific color gamut, this specific The color gamut in this embodiment is the Y color gamut.

边缘判断电路321是接收像素值yi-1,j、yi,j、yi+1,j,在第一方向对像素pi,j边缘提取后输出第一边缘值H2,第一方向例如为水平方向。边缘判断电路322是接收像素值yi,j-1、yi,j、yi,j+1,在第二方向对像素pi,j边缘提取后输出第二边缘值V2,第二方向例如为垂直方向。边缘判断电路321及边缘判断电路322例如为有限脉冲响应高通滤波器(high-pass finite impulse responsefilter,HP FIR filter)。The edge judging circuit 321 receives pixel values y i-1,j , y i,j , y i+1,j , extracts the edge of pixel p i,j in the first direction and outputs the first edge value H2, the first direction For example, the horizontal direction. The edge judging circuit 322 receives pixel values y i, j-1 , y i, j , y i, j+1 , and outputs a second edge value V2 after extracting the edge of pixel p i, j in the second direction. For example, the vertical direction. The edge judging circuit 321 and the edge judging circuit 322 are, for example, finite impulse response high-pass filters (high-pass finite impulse response filter, HP FIR filter).

处理电路330根据像素pi,j的周遭像素的亮度值,即yi-1,j+1、yi,j+1、yi+1,j+1、yi-1,j、yi+1,j、yi-1,j-1、yi,j-1及yi+1,j-1,第一边缘值H2及第二边缘值V2决定像素pi,j的运算模式,以输出像素pi,j的调整后亮度值yi,j’。处理电路330包括计算单元331及查询单元332。计算单元331是根据像素pi,j的周遭像素的亮度值决定像素pi,j的边缘类型,再根据第一边缘值H2的正负、第二边缘值V2的正负及像素pi,j的边缘类型得一运算模式。计算单元331再依像素pi,j的运算模式产生像素计算值S2。查询单元332根据像素计算值S2对应一查询表以产生像素pi,j的调整后亮度值yi,j’。The processing circuit 330 according to the luminance values of the surrounding pixels of the pixel p i, j , namely y i-1, j+1 , y i, j+1 , y i+1, j+1 , y i-1, j , y i+1, j , y i-1, j-1 , y i, j-1 and y i+1, j-1 , the first edge value H2 and the second edge value V2 determine the operation of pixel p i, j mode to output the adjusted luminance value y i,j ' of pixel p i ,j . The processing circuit 330 includes a calculation unit 331 and a query unit 332 . The calculation unit 331 determines the edge type of the pixel p i, j according to the luminance values of surrounding pixels of the pixel p i, j , and then according to the sign of the first edge value H2, the sign of the second edge value V2 and the pixel p i, The edge type of j has an operation mode. The calculation unit 331 then generates the pixel calculation value S2 according to the calculation mode of the pixel p i,j . The query unit 332 corresponds to a look-up table according to the calculated pixel value S2 to generate the adjusted luminance value y i,j ′ of the pixel p i,j .

计算单元331决定像素pi,j的运算模式的过程如下:计算单元331先设定四个计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’,以决定像素pi,j与周遭四个边界像素的明暗关系。The calculation unit 331 determines the operation mode of the pixel p i, j as follows: the calculation unit 331 first sets four calculation values y i, j+1 ', y i-1, j ', y i, j-1 ' and y i+1, j ', to determine the light and shade relationship between pixel p i, j and the four surrounding boundary pixels.

因此像素pi,j的边界像素计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’如下:Therefore, the boundary pixel calculation values y i ,j+1 ', y i-1,j ', y i,j-1 ' and y i+1,j' of pixel p i,j are as follows:

yi,j+1’=yi,j+1-(yi-1,j+1+yi+1,j+1)/2;y i,j+1 '=y i,j+1 -(y i-1,j+1 +y i+1,j+1 )/2;

yi-1,j’=yi-1,j-(yi-1,j+1+yi-1,j-1)/2;y i-1, j '= y i-1, j - (y i-1, j+1 + y i-1, j-1 )/2;

yi,j-1’=yi,j-1-(yi-1,j-1+yi+1,j-1)/2;y i, j-1 ' = y i, j-1 - (y i-1, j-1 + y i+1, j-1 )/2;

yi+1,j’=yi+1,j-(yi+1,j-1+yi+1,j+1)/2;y i+1, j '=y i+1, j - (y i+1, j-1 + y i+1, j+1 )/2;

而后,再视计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’与一临界值Th的关系以决定对应的判断值C1、C2、C3及C4为0或1。Th为此影边缘强化装置的使用者所决定,Th值的大小会影响对噪声的抑制程度。若yi,j+1’<Th,则C1为1;若yi,j+1’>Th,则C1为0。判断值C2、C3及C4的值亦以此类推。Then, depending on the relationship between the calculated values y i,j+1 ', y i-1,j ', y i,j-1 ' and y i+1,j ' and a critical value Th to determine the corresponding judgment value C1, C2, C3 and C4 are 0 or 1. Th is determined by the user of the shadow edge enhancement device, and the value of Th will affect the degree of noise suppression. If y i,j+1 '<Th, then C1 is 1; if y i,j+1 '>Th, then C1 is 0. The values of the judgment values C2, C3 and C4 can also be deduced by analogy.

决定判断值C1、C2、C3及C4的值后,则依判断值C1、C2、C3及C4决定像素pi,j的类型。在本实施例,是将像素pi,j分为噪声型、边缘转折型及单一方向对象边缘。请同时参照图1及图4A。图4A绘示是像素pi,j为噪声型时,可能图像分布的示意图。因避免图式混乱,在图4A及图4B中,则不加入图1中的像素代号,以各像素的对应位置叙述。图4A中,判断值C1、C2、C3及C4其中任三个为0,其判断式为:After determining the judgment values C1 , C2 , C3 and C4 , the type of the pixel p i, j is determined according to the judgment values C1 , C2 , C3 and C4 . In this embodiment, the pixels p i, j are classified into noise type, edge turning type and single-directional object edge. Please refer to FIG. 1 and FIG. 4A at the same time. FIG. 4A is a schematic diagram of a possible image distribution when the pixel p i,j is noise. To avoid drawing confusion, in FIG. 4A and FIG. 4B , the pixel codes in FIG. 1 are not added, and the corresponding positions of each pixel are described. In Fig. 4A, any three of the judgment values C1, C2, C3 and C4 are 0, and the judgment formula is:

((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0;((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0;

若在此判断式所得结果为0,像素pi,j为噪声。在此情况下,像素pi,j为对象边缘的机率较低,较可能为高频噪声或杂点,在该情况下,不会将其判断为对象边缘,则不做任何强化动作。If the result of this judgment formula is 0, the pixel p i, j is noise. In this case, the pixel p i, j is less likely to be an object edge, and is more likely to be high-frequency noise or noise. In this case, it will not be judged as an object edge, and no enhancement action will be taken.

请同时参照图1及图4B。图4B绘示是像素pi,j为边缘转折型时,可能图像分布的示意图。则在图4B中的情况,判断值C1、C2、C3及C4的判断式为:Please refer to FIG. 1 and FIG. 4B at the same time. FIG. 4B is a schematic diagram of a possible image distribution when the pixel p i,j is an edge turning type. Then in the situation in Fig. 4B, the judgment formulas of judgment values C1, C2, C3 and C4 are:

((C1|C2)&(C3|C4))=0;((C1|C2)&(C3|C4))=0;

此时,像素pi,j属于画面中对象边缘的可能性较高,而且可能是画面对象的边缘转折处。若在现有的图像边缘强化电路的处理下,则会同时被水平及垂直的高通滤波器检测为边缘,而做两次的强化动作,造成过度强化的结果。At this time, the pixel p i, j is more likely to belong to the edge of the object in the picture, and may be the turning point of the edge of the picture object. Under the processing of the existing image edge enhancement circuit, it will be detected as an edge by the horizontal and vertical high-pass filters at the same time, and two enhancement actions will be performed, resulting in an over-enhancement result.

若像素pi,j非噪声型及边缘转折型,则判断为单一方向的对象边缘。像素pi,j为对象边缘的可能性高,但仅为水平或垂直方向的边缘,则视为一般对象的边缘处理即可。If the pixel p i, j is not noise type or edge turning type, it is determined as an object edge in a single direction. Pixels p i, j are highly likely to be object edges, but they are only horizontal or vertical edges, so they can be treated as general object edges.

得知像素pi,j的边缘类型后,再进一步根据第一边缘值H2的正负号、第二边缘值V2的正负号及像素pi,j的边缘类型决定像素pi,j的运算模式。After knowing the edge type of pixel p i, j , further determine the pixel p i, j according to the sign of the first edge value H2, the sign of the second edge value V2 and the edge type of pixel p i , j operation mode.

若像素pi,j为噪声型,则不对像素pi,j的亮度做调整。若像素pi,j为边缘转折型,为避免像素pi,j同时被水平方向及垂直方向加强。则依据第一边缘值H2及第二边缘值V2是否同号决定像素Pi,j为边缘转折型时的运算模式。当第一边缘值H2及第二边缘值V2为同号,则:If the pixel p i, j is noise type, the brightness of the pixel p i, j is not adjusted. If the pixel p i, j is of edge turning type, in order to prevent the pixel p i, j from being emphasized in the horizontal direction and the vertical direction at the same time. Then, according to whether the first edge value H2 and the second edge value V2 have the same sign, the operation mode when the pixel P i,j is an edge turning type is determined. When the first edge value H2 and the second edge value V2 have the same sign, then:

S2=(V2+H2)/4;S2=(V2+H2)/4;

当第一边缘值H2及第二边缘值V2为不同号,则:When the first edge value H2 and the second edge value V2 are different signs, then:

S2=(V2+H2)/2;S2=(V2+H2)/2;

若像素pi,j为单一方向的边缘,只有水平或垂直的边缘会被检测到,所以第一边缘值H2及第二边缘值V2其中之一会接近0。仍依据第一边缘值H2及第二边缘值V2的极性调整修正的方式,只是较不会有过度强化的问题,则将除数分别改为2及1。当第一边缘值H2及第二边缘值V2为同号,则:If the pixel p i, j is an edge in a single direction, only horizontal or vertical edges will be detected, so one of the first edge value H2 and the second edge value V2 will be close to 0. Still according to the polarity adjustment and correction method of the first edge value H2 and the second edge value V2, but the problem of over-enhancement is less likely, the divisors are changed to 2 and 1 respectively. When the first edge value H2 and the second edge value V2 have the same sign, then:

S2=(V2+H2)/2;S2=(V2+H2)/2;

当第一边缘值H2及第二边缘值V2为不同号,则:When the first edge value H2 and the second edge value V2 are different signs, then:

S2=(V2+H2)。S2=(V2+H2).

请参照图5,其绘示是依本发明一较佳实施例的图像边缘强化方法的流程图。首先,在第一方向对像素pi,j边缘提取后输出一第一边缘值H2,第一方向例如为水平方向,如步骤51所示。接着,在第二方向对像素pi,j边缘提取后输出一第二边缘值V2,例如为垂直方向,如步骤52所示。而后,根据像素pi,j的周遭像素的亮度值、第一边缘值H2及第二边缘值V2决定像素pi,j的运算模式,如步骤53所示。最后,依像素pi,j的运算模式以输出像素pi,j的调整后亮度值,如步骤54所示。Please refer to FIG. 5 , which shows a flowchart of an image edge enhancement method according to a preferred embodiment of the present invention. Firstly, a first edge value H2 is output after extracting the edge of pixel p i, j in a first direction, the first direction is, for example, the horizontal direction, as shown in step 51 . Next, a second edge value V2 is output after extracting the edge of the pixel p i, j in a second direction, such as a vertical direction, as shown in step 52 . Then, the calculation mode of the pixel p i, j is determined according to the luminance values of the surrounding pixels of the pixel p i , j, the first edge value H2 and the second edge value V2, as shown in step 53 . Finally, the adjusted luminance value of the pixel p i,j is output according to the operation mode of the pixel p i,j , as shown in step 54 .

请参照图6,其绘示是在步骤53中的方法流程图。首先,根据周遭像素的亮度值决定像素pi,j的边缘类型,步骤61所示。接着,根据第一边缘值H2的正负、第二边缘值V2的正负,及像素pi,j的边缘类型以决定像素pi,j的运算模式,如步骤62所示。。Please refer to FIG. 6 , which is a flow chart of the method in step 53 . First, the edge type of pixel p i, j is determined according to the brightness values of surrounding pixels, as shown in step 61 . Next, the operation mode of the pixel p i , j is determined according to the sign of the first edge value H2, the sign of the second edge value V2, and the edge type of the pixel p i , j , as shown in step 62 . .

请参照图7,其绘示是在步骤54中的方法流程图。首先,依据像素pi,j的运算模式以计算出一像素计算值,如步骤71所示。之后,根据像素计算值对应一查询表(look-up table,LUT)以产生像素pi,j的调整后亮度值,如步骤72所示。Please refer to FIG. 7 , which shows a flow chart of the method in step 54 . First, a pixel calculation value is calculated according to the operation mode of the pixel p i,j , as shown in step 71 . Afterwards, a look-up table (look-up table, LUT) is generated according to the calculated value of the pixel to generate the adjusted luminance value of the pixel p i,j , as shown in step 72 .

本发明上述实施例所揭露的图像边缘强化装置及其方法,对对象边缘有精确的判断程序,而使适当的强化对象边缘。可避免无法精确的过滤出画面中的对象边缘而造成误判的情形,例如边缘过度强化或强化杂点的情况。The image edge enhancement device and method disclosed in the above-mentioned embodiments of the present invention have an accurate judgment procedure for the object edge, so as to appropriately enhance the object edge. It can avoid misjudgment caused by the inability to accurately filter out the edge of the object in the picture, such as the situation where the edge is over-enhanced or the noise is enhanced.

综上所述,虽然本发明已以一较佳实施例揭露如上,然其并非用以限定本发明,任何熟习此技艺者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰,因此本发明的保护范围当视后附的申请专利范围所界定者为准。In summary, although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Anyone skilled in this art can make various modifications without departing from the spirit and scope of the present invention. Changes and modifications, so the scope of protection of the present invention should be defined by the scope of the appended patent application.

Claims (27)

1.一种图像边缘强化装置,用以调整一像素pi,j的亮度值,该图像边缘强化装置包括:1. An image edge strengthening device, in order to adjust a pixel p i, the brightness value of j , this image edge strengthening device comprises: 一第一边缘判断电路,在一第一方向对该像素边缘提取后输出一第一边缘值H2;A first edge judging circuit, which extracts the edge of the pixel in a first direction and outputs a first edge value H2; 一第二边缘判断电路,在一第二方向对该像素边缘提取后输出一第二边缘值V2;以及A second edge judging circuit, which extracts the edge of the pixel in a second direction and outputs a second edge value V2; and 一处理电路,根据该像素的多个周遭像素的亮度值决定该像素的边缘类型,并以该第一边缘值H2的正负、该第二边缘值V2的正负及该像素的边缘类型决定一运算模式,再根据该运算模式以输出该像素的调整后亮度值。A processing circuit, which determines the edge type of the pixel according to the brightness values of a plurality of surrounding pixels of the pixel, and determines the positive or negative of the first edge value H2, the positive or negative of the second edge value V2, and the edge type of the pixel An operation mode, and output the adjusted luminance value of the pixel according to the operation mode. 2.如权利要求1所述的图像边缘强化装置,其中,该处理电路还包括:2. The image edge enhancement device according to claim 1, wherein the processing circuit further comprises: 一计算单元,决定该运算模式后计算出一像素计算值S2;及a calculation unit, which calculates a pixel calculation value S2 after determining the calculation mode; and 一查询单元,根据该像素计算值S2对应一查询表以产生该像素的调整后亮度值。A lookup unit, corresponding to a lookup table according to the calculated value S2 of the pixel to generate the adjusted brightness value of the pixel. 3.如权利要求1所述的图像边缘强化装置,其中,该图像边缘强化装置还包括多个寄存电路以寄存该像素pi,j及多个周遭像素的亮度值,其中,该多个周遭像素是包含在所述周遭像素内。3. The image edge enhancement device according to claim 1, wherein the image edge enhancement device further comprises a plurality of register circuits to register the brightness values of the pixel p i, j and a plurality of surrounding pixels, wherein the plurality of surrounding pixels Pixels are contained within the surrounding pixels. 4.如权利要求3所述的图像边缘强化装置,其中,该像素pi,j具有8个周遭像素pi-1,j+1、pi,j+1、pi+1,j+1、pi-1,j、pi+1,j、pi-1,j-1、pi,j-1及pi+1,j-1,该图像边缘强化装置还包括6个寄存电路以寄存该像素及5个周遭像素的亮度值。4. The image edge enhancement device according to claim 3, wherein the pixel p i,j has 8 surrounding pixels p i-1,j+1 , p i,j+1 , p i+1,j+ 1 , p i-1, j , p i+1, j , p i-1, j-1 , p i, j-1 and p i+1, j-1 , the image edge enhancement device also includes 6 The register circuit is used to register the luminance values of the pixel and 5 surrounding pixels. 5.如权利要求4所述的图像边缘强化装置,其中,所述周遭像素包括多个边界像素pi,j+1、pi-1,j、pi,j-1及pi+1,j,与多个临像素pi-1,j+1、pi+1,j+1、pi-1,j-1及pi+1,j-1,而所述边界像素pi,j+1、pi-1,j、pi,j-1及pi+1,j与该像素pi,j的距离最近,且该处理电路是依据所述周遭像素pi-1,j+1、pi,j+1、pi+1,j+1、pi-1,j、pi+1,j、pi-1,j-1、pi,j-1及pi+1,j-1的亮度值以决定该像素pi,j的边缘类型。5. The image edge enhancement device according to claim 4, wherein the surrounding pixels include a plurality of boundary pixels p i,j+1 , p i-1,j , p i,j-1 and p i+1 , j , and multiple adjacent pixels p i-1, j+1 , p i+1, j+1 , p i-1, j-1 and p i+1, j-1 , and the boundary pixel p i,j+1 , p i-1,j , p i,j-1 and p i+1,j have the closest distance to the pixel p i,j , and the processing circuit is based on the surrounding pixels p i- 1, j+1 , p i, j+1 , p i+1, j+1 , p i-1, j , p i+1, j , p i-1, j-1 , p i, j- 1 and the brightness value of p i+1, j-1 to determine the edge type of the pixel p i, j . 6.如权利要求5所述的图像边缘强化装置,其中,该处理电路是依据所述边界像素的亮度值yi,j+1、yi-1,j、yi,j-1及yi+1,j与所述临界像素的亮度值yi-1,j+1、yi+1,j+1、yi-1,j-1及yi+1,j-1以决定多个边界像素计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’,而所述边界像素计算值是依据下列方程式所决定:6. The image edge enhancement device according to claim 5, wherein the processing circuit is based on the brightness values y i,j+1 , y i-1,j , y i,j-1 and y of the boundary pixels i+1, j and the brightness value y i-1, j+1 of the critical pixel, y i+1 , j+1 , y i-1, j-1 and y i+1, j-1 are determined A plurality of boundary pixel calculation values y i, j+1 ', y i-1, j ', y i, j-1 ' and y i+1, j ', and the calculation values of the boundary pixels are calculated according to the following equation Decide: yi,j+1’=yi,j+1-(yi-1,j+1+yi+1,j+1)/2;y i,j+1 '=y i,j+1 -(y i-1,j+1 +y i+1,j+1 )/2; yi-1,j’=yi-1,j-(yi-1,j+1+yi-1,j-1)/2;y i-1, j '= y i-1, j - (y i-1, j+1 + y i-1, j-1 )/2; yi,j-1’=yi,j-1-(yi-1,j-1+yi+1,j-1)/2;以及y i,j-1 '=y i,j-1 -(y i-1,j-1 +y i+1,j-1 )/2; and yi+1,j’=yi+1,j-(yi+1,j-1+yi+1,j+1)/2。y i+1, j '=y i+1, j - (y i+1, j-1 + y i+1, j+1 )/2. 7.如权利要求6所述的图像边缘强化装置,其中,该处理电路是依据所述边界像素计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’与一临界值Th决定对应的多个判断值C1、C2、C3及C4,其中所述判断值是依据下列判断式所决定:7. The image edge enhancement device according to claim 6, wherein the processing circuit calculates values y i, j+1 ', y i-1, j ', y i, j-1 ' based on the boundary pixels And y i+1, j ' and a critical value Th determine a plurality of corresponding judgment values C1, C2, C3 and C4, wherein the judgment values are determined according to the following judgment formula: 当yi,j+1’<Th,C1=1;When y i,j+1 '<Th, C1=1; 当yi,j+1’>Th,C1=0;When y i,j+1 '>Th, C1=0; 当yi-1,j’<Th,C2=1;When y i-1, j '<Th, C2=1; 当yi-1,j’>Th,C2=0;When y i-1, j '>Th, C2=0; 当yi,j-1’<Th,C3=1;When y i,j-1 '<Th, C3=1; 当yi,j-1’>Th,C3=0;When y i,j-1 '>Th, C3=0; 当yi+1,j’<Th,C4=1;以及When y i+1, j '<Th, C4=1; and 当yi+1,j’>Th,C4=0。When y i+1, j '>Th, C4=0. 8.如权利要求7所述的图像边缘强化装置,其中,该处理电路是依据所述判断值C1、C2、C3及C4决定该像素pi,j的边缘类型,其中该像素pi,j的边缘类型是依据下列判断式所决定:8. The image edge enhancement device according to claim 7, wherein the processing circuit determines the edge type of the pixel p i, j according to the judgment values C1, C2, C3 and C4, wherein the pixel p i, j The edge type of is determined according to the following judgment formula: 当((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0,该像素pi,j的边缘类型为噪声型;When ((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0, the edge type of the pixel p i,j is noise type; 当((C1|C2)&(C3|C4))=0,该像素pi,j的边缘类型为边缘转折型;以及When ((C1|C2)&(C3|C4))=0, the edge type of the pixel p i,j is an edge turning type; and 当((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0及((C1|C2)&(C3|C4))=0不成立时,该像素pi,j的边缘类型为单一方向对象边缘。When ((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0 and ((C1|C2)&(C3|C4))=0 are not established, the edge type of the pixel p i, j is single Orientation object edges. 9.如权利要求8所述的图像边缘强化装置,其中,该像素pi,j的边缘类型为边缘转折型,且该第一边缘值H2与该第二边缘值V2为同号,则该像素计算值S2=(V2+H2)/4。9. The image edge enhancement device according to claim 8, wherein the edge type of the pixel p i,j is an edge turning type, and the first edge value H2 and the second edge value V2 have the same sign, then the Pixel calculation value S2=(V2+H2)/4. 10.如权利要求8所述的图像边缘强化装置,其中,该像素pi,j的边缘类型为边缘转折型,且该第一边缘值H2与该第二边缘值V2为不同号,则该像素计算值S2=(V2+H2)/2。10. The image edge enhancement device according to claim 8, wherein, the edge type of the pixel p i,j is an edge turning type, and the first edge value H2 and the second edge value V2 are different signs, then the Pixel calculation value S2=(V2+H2)/2. 11.如权利要求8所述的图像边缘强化装置,其中,该像素pi,j的边缘类型为单一方向对象边缘,且该第一边缘值H2与该第二边缘值V2为同号,则该像素计算值S2=(V2+H2)/2。11. The image edge enhancement device according to claim 8, wherein, the edge type of the pixel p i,j is a single direction object edge, and the first edge value H2 and the second edge value V2 have the same sign, then The pixel calculation value S2=(V2+H2)/2. 12.如权利要求8所述的图像边缘强化装置,其中,该像素pi,j的边缘类型为单一方向对象边缘,且该第一边缘值H2与该第二边缘值V2为不同号,则该像素计算值S2=(V2+H2)。12. The image edge enhancement device according to claim 8, wherein, the edge type of the pixel p i,j is a single direction object edge, and the first edge value H2 and the second edge value V2 are different signs, then The pixel calculation value S2=(V2+H2). 13.如权利要求1所述的图像边缘强化装置,是在Y色域做边缘强化的动作。13. The image edge enhancement device according to claim 1, which performs edge enhancement in the Y color gamut. 14.如权利要求1所述的图像边缘强化装置,其中,该第一边缘判断电路与该第二边缘判断电路为有限脉冲响应高通滤波器。14. The image edge enhancement device as claimed in claim 1, wherein the first edge judgment circuit and the second edge judgment circuit are finite impulse response high-pass filters. 15.如权利要求1所述的图像边缘强化装置,其中,该第一方向是水平方向,且该第二方向是垂直方向。15. The image edge enhancement device as claimed in claim 1, wherein the first direction is a horizontal direction, and the second direction is a vertical direction. 16.一种图像边缘强化方法,包括:16. A method for image edge enhancement, comprising: 在第一方向对一像素pi,j边缘提取后输出一第一边缘值H2;Outputting a first edge value H2 after extracting the edge of a pixel p i, j in the first direction; 在第二方向对该像素pi,j边缘提取后输出一第二边缘值V2;Outputting a second edge value V2 after extracting the edge of the pixel p i, j in the second direction; 根据该像素pi,j的多个周遭像素的亮度值、该第一边缘值H2及该第二边缘值V2决定一运算模式;以及determining an operation mode according to the brightness values of a plurality of surrounding pixels of the pixel p i,j , the first edge value H2 and the second edge value V2; and 依该运算模式以输出该像素的调整后亮度值,Outputting the adjusted luminance value of the pixel according to the operation mode, 其中,在决定该像素pi,j的运算模式的步骤中包括:Wherein, the step of determining the operation mode of the pixel p i, j includes: 根据所述周遭像素的亮度值决定该像素pi,j的边缘类型;及determining the edge type of the pixel p i,j according to the brightness values of the surrounding pixels; and 根据该第一边缘值H2的正负、该第二边缘值V2的正负,及该像素pi,j的边缘类型以决定该运算模式。The operation mode is determined according to the sign of the first edge value H2, the sign of the second edge value V2, and the edge type of the pixel p i,j . 17.如权利要求16所述的图像边缘强化方法,其中,在依该运算模式以输出该像素pi,j的调整后亮度值的步骤中包括:17. The image edge enhancement method according to claim 16, wherein the step of outputting the adjusted brightness value of the pixel p i, j according to the operation mode comprises: 依据该运算模式以计算出一像素计算值S2;及Calculate a pixel calculation value S2 according to the operation mode; and 根据该像素计算值S2对应一查询表以产生该像素pi,j的调整后亮度值。The calculated value S2 of the pixel corresponds to a look-up table to generate the adjusted luminance value of the pixel p i,j . 18.如权利要求17所述的图像边缘强化方法,其中,该像素pi,j具有多个周遭像素pi-1,j+1、pi,j+1、pi+1,j+1、pi-1,j、pi+1,j、pi-1,j-1、pi,j-1及pi+1,j-1,而所述周遭像素包括多个边界像素pi,j+1、pi-1,j、pi,j-1及pi+1,j,与多个临界像素pi-1,j+1、pi+1,j+1、pi-1,j-1及pi+1,j-1,且所述边界像素pi,j+1、pi-1,j、pi,j-1及pi+1,j与该像素pi,j的距离最近。18. The image edge enhancement method according to claim 17, wherein the pixel p i,j has a plurality of surrounding pixels p i-1,j+1 , p i,j+1 , p i+1,j+ 1 , p i-1,j , p i+1,j , p i-1,j-1 , p i,j-1 and p i+1,j-1 , and the surrounding pixels include a plurality of boundaries Pixel p i,j+1 , p i-1,j , p i,j-1 and p i+1,j , and multiple critical pixels p i-1,j+1 , p i+1,j+ 1 , p i-1, j-1 and p i+1, j-1 , and the boundary pixels p i, j+1 , p i-1, j , p i, j-1 and p i+1 , j is the closest to the pixel p i, j . 19.如权利要求18所述的图像边缘强化方法,其中,在决定该像素pi,j的运算模式的步骤中还包括:19. The image edge enhancement method as claimed in claim 18, wherein, in the step of determining the operation mode of the pixel p i,j, it also includes: 根据所述边界像素的亮度值yi,j+1、yi-1,j、yi,j-1及yi+1,j与所述临界像素的亮度值yi-1,j+1、yi+1,j+1、yi-1,j-1及yi+1,j-1以决定多个边界像素计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’,而所述边界像素计算值是依据下列方程式所决定:According to the luminance values y i,j+1 , y i-1,j , y i,j-1 and y i+1,j of the boundary pixels and the luminance values y i-1,j+ of the critical pixels 1 , y i+1, j+1 , y i-1, j-1 and y i+1, j-1 to determine a plurality of boundary pixel calculation values y i, j+1 ', y i-1, j ', y i, j-1 ' and y i+1, j ', and the calculated value of the boundary pixel is determined according to the following equation: yi,j+1’=yi,j+1-(yi-1,j+1+yi+1,j+1)/2;y i,j+1 '=y i,j+1 -(y i-1,j+1 +y i+1,j+1 )/2; yi-1,j’=yi-1,j-(yi-1,j+1+yi-1,j-1)/2;y i-1, j '= y i-1, j - (y i-1, j+1 + y i-1, j-1 )/2; yi,j-1’=yi,j-1-(yi-1,j-1+yi+1,j-1)/2;以及y i,j-1 '=y i,j-1 -(y i-1,j-1 +y i+1,j-1 )/2; and yi+1,j’=yi+1,j-(yi+1,j-1+yi+1,j+1)/2。y i+1, j '=y i+1, j - (y i+1, j-1 + y i+1, j+1 )/2. 20.如权利要求19所述的图像边缘强化方法,其中,在决定该像素pi,j的运算模式的步骤中更包括:20. The image edge enhancement method as claimed in claim 19, wherein, in the step of determining the operation mode of the pixel p i,j, further comprising: 根据所述边界像素计算值yi,j+1’、yi-1,j’、yi,j-1’及yi+1,j’与一临界值Th决定对应的多个判断值C1、C2、C3及C4,其中,所述判断值是依据下列判断式所决定:Determining a plurality of corresponding judgment values according to the boundary pixel calculation values y i,j+1 ', y i-1,j ', y i,j-1 ' and y i+1,j ' and a critical value Th C1, C2, C3 and C4, wherein the judgment value is determined according to the following judgment formula: 当yi,j+1’<Th,C1=1;When y i,j+1 '<Th, C1=1; 当yi,j+1’>Th,C1=0;When y i,j+1 '>Th, C1=0; 当yi-1,j’<Th,C2=1;When y i-1, j '<Th, C2=1; 当yi-1,j’>Th,C2=0;When y i-1, j '>Th, C2=0; 当yi,j-1’<Th,C3=1;When y i,j-1 '<Th, C3=1; 当yi,j-1’>Th,C3=0;When y i,j-1 '>Th, C3=0; 当yi+1,j’<Th,C4=1;以及When y i+1, j '<Th, C4=1; and 当yi+1,j’>Th,C4=0。When y i+1, j '>Th, C4=0. 21.如权利要求20所述的图像边缘强化方法,其中,在决定该像素pi,j的运算模式的步骤中,该像素pi,j的边缘类型是依据下列判断式所决定:21. The image edge enhancement method according to claim 20, wherein, in the step of determining the operation mode of the pixel p i, j , the edge type of the pixel p i, j is determined according to the following judgment formula: 当((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0,该像素pi,j的边缘类型为噪声型;When ((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0, the edge type of the pixel p i,j is noise type; 当((C1|C2)&(C3|C4))=0,该像素pi,j的边缘类型为边缘转折型;以及When ((C1|C2)&(C3|C4))=0, the edge type of the pixel p i,j is an edge turning type; and 当((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0及((C1|C2)&(C3|C4))=0不成立时,该像素pi,j的边缘类型为单一方向对象边缘。When ((C1&C2&C3)|(C1&C2&C4)|(C1&C3&C4)|(C2&C3&C4))=0 and ((C1|C2)&(C3|C4))=0 are not established, the edge type of the pixel p i, j is single Orientation object edges. 22.如权利要求21所述的图像边缘强化方法,其中,当该像素pi,j的边缘类型为边缘转折型,且该第一边缘值H2与该第二边缘值V2为同号,则该像素计算值S2=(V2+H2)/4。22. The image edge enhancement method according to claim 21, wherein, when the edge type of the pixel p i,j is an edge turning type, and the first edge value H2 and the second edge value V2 have the same sign, then The pixel calculation value S2=(V2+H2)/4. 23.如权利要求21所述的图像边缘强化方法,其中,当该像素pi,j的边缘类型为边缘转折型,且该第一边缘值H2与该第二边缘值V2为不同号,则该像素计算值S2=(V2+H2)/2。23. The image edge enhancement method according to claim 21, wherein, when the edge type of the pixel p i, j is an edge turning type, and the first edge value H2 and the second edge value V2 are different signs, then The pixel calculation value S2=(V2+H2)/2. 24.如权利要求21所述的图像边缘强化方法,其中,当该像素pi,j的边缘类型为单一方向对象边缘,且该第一边缘值H2与该第二边缘值V2为同号,则该像素计算值S2=(V2+H2)/2。24. The image edge enhancement method according to claim 21, wherein when the edge type of the pixel p i, j is a single-directional object edge, and the first edge value H2 and the second edge value V2 have the same sign, Then the pixel calculation value S2=(V2+H2)/2. 25.如权利要求21所述的图像边缘强化方法,其中,当该像素pi,j的边缘类型为单一方向对象边缘,且该第一边缘值H2与该第二边缘值V2为不同号,则该像素计算值S2=(V2+H2)。25. The image edge enhancement method according to claim 21, wherein when the edge type of the pixel p i, j is a single-directional object edge, and the first edge value H2 and the second edge value V2 are different signs, Then the pixel calculation value S2=(V2+H2). 26.如权利要求16所述的图像边缘强化方法,是在Y色域做边缘强化的动作。26. The image edge enhancement method according to claim 16, which is to perform edge enhancement in Y color gamut. 27.如权利要求16所述的图像边缘强化方法,其中,该第一方向是水平方向,且该第二方向是垂直方向。27. The image edge enhancement method as claimed in claim 16, wherein the first direction is a horizontal direction, and the second direction is a vertical direction.
CN200510113883A 2005-10-21 2005-10-21 Image edge enhancement device and method Expired - Fee Related CN100594719C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510113883A CN100594719C (en) 2005-10-21 2005-10-21 Image edge enhancement device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510113883A CN100594719C (en) 2005-10-21 2005-10-21 Image edge enhancement device and method

Publications (2)

Publication Number Publication Date
CN1953525A CN1953525A (en) 2007-04-25
CN100594719C true CN100594719C (en) 2010-03-17

Family

ID=38059606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510113883A Expired - Fee Related CN100594719C (en) 2005-10-21 2005-10-21 Image edge enhancement device and method

Country Status (1)

Country Link
CN (1) CN100594719C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101849246B (en) * 2007-09-19 2014-06-11 汤姆森特许公司 System and method for scaling images

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001169116A (en) * 1999-12-10 2001-06-22 Victor Co Of Japan Ltd Method and device for image enhancement
CN1382342A (en) * 1999-10-30 2002-11-27 富士通将军股份有限公司 Method and circuit for emphasizing contour
EP1303982A2 (en) * 2000-07-07 2003-04-23 Koninklijke Philips Electronics N.V. Window detection
CN1422069A (en) * 2001-11-28 2003-06-04 凌阳科技股份有限公司 Sharpening enhancement method and device for digital image amplification circuit
CN1545328A (en) * 2003-11-10 2004-11-10 A system and method for improving the edge definition of a video image
CN1567371A (en) * 2003-06-13 2005-01-19 金宝电子工业股份有限公司 The Method of Reducing Image Noise and Strengthening Edge in Digital Camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1382342A (en) * 1999-10-30 2002-11-27 富士通将军股份有限公司 Method and circuit for emphasizing contour
JP2001169116A (en) * 1999-12-10 2001-06-22 Victor Co Of Japan Ltd Method and device for image enhancement
EP1303982A2 (en) * 2000-07-07 2003-04-23 Koninklijke Philips Electronics N.V. Window detection
CN1422069A (en) * 2001-11-28 2003-06-04 凌阳科技股份有限公司 Sharpening enhancement method and device for digital image amplification circuit
CN1567371A (en) * 2003-06-13 2005-01-19 金宝电子工业股份有限公司 The Method of Reducing Image Noise and Strengthening Edge in Digital Camera
CN1545328A (en) * 2003-11-10 2004-11-10 A system and method for improving the edge definition of a video image

Also Published As

Publication number Publication date
CN1953525A (en) 2007-04-25

Similar Documents

Publication Publication Date Title
US8363971B2 (en) Image processing apparatus and image processing method
TWI558207B (en) Wide dynamic range image method
KR100879993B1 (en) Image edge enhancement device and method
WO2015183542A1 (en) Systems and methods for localized contrast enhancement
TW202046698A (en) Image adjustment method and associated image processing circuit
US7995857B2 (en) Method and apparatus utilizing step-wise gain control for image processing
CN101295467A (en) Comparison control device and control method thereof
CN105991900B (en) Noise detection method and denoising method
CN100594719C (en) Image edge enhancement device and method
CN102855614B (en) Adapting to image drawing process and device in a kind of REAL TIME INFRARED THERMAL IMAGE imaging system
JP2002281346A (en) Gradation correcting device
US20100091195A1 (en) De-ringing Device and Method
JP2006279656A (en) Image processing apparatus
CN105979121A (en) Image processing method and device
CN101399911A (en) Apparatus and method for image processing using step gain control
JP4102985B2 (en) Image processing system, projector, program, information storage medium, and image processing method
JP2001169116A (en) Method and device for image enhancement
TWI389571B (en) Image processing method and image processing apparatus
CN102045488B (en) Image processing method and image processing device
CN108122522A (en) Image compensation method applied to display and related control circuit
CN108881670B (en) Image processing method and image processing device
CN112118367B (en) Image adjusting method and related image processing circuit
CN100367768C (en) A Method of Enhancing the Visual Effect of Image Edge
KR100776389B1 (en) Color interpolator with adjustable threshold
TWI645706B (en) Image processing method and image processing apparatus

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

Granted publication date: 20100317

Termination date: 20211021