发明名称 |
METHOD AND DEVICE FOR ENHANCING EDGE OF IMAGE AND DIGITAL CAMERA |
摘要 |
A method and a device for enhancing an edge of an image are provided. The method includes: obtaining a first gradient value of a pixel; determining whether the pixel is at a rough edge according to the first gradient value; if yes, obtaining a first edge enhancement value of the pixel and obtaining a first edge enhancement result of the pixel according to the first edge enhancement value; if no, obtaining a second gradient value of the pixel; determining whether the pixel is at a tiny edge according to the second gradient value; if yes, obtaining a second edge enhancement value of the pixel and obtaining a second edge enhancement result of the pixel according to the second edge enhancement value; if no, obtaining the pixel value of the pixel as the edge enhancement result of the pixel; and repeating above steps until each pixel of the image is processed. |
申请公布号 |
US2016117804(A1) |
申请公布日期 |
2016.04.28 |
申请号 |
US201414895351 |
申请日期 |
2014.05.16 |
申请人 |
BYD COMPANY LIMITED |
发明人 |
LIU HUAREN;MAO SHUIJIANG;FU JINGJUN;FENG WEI |
分类号 |
G06T5/00;H04N5/357;G06T7/00 |
主分类号 |
G06T5/00 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for enhancing an edge of an image, comprising:
obtaining a first gradient value of a pixel of the image; determining whether the pixel is at a rough edge according to the first gradient value of the pixel; if the pixel is at the rough edge, obtaining a first edge enhancement value of the pixel, and obtaining a first edge enhancement result of the pixel according to the first edge enhancement value of the pixel; if the pixel is not at the rough edge, obtaining a second gradient value of the pixel; determining whether the pixel is at a tiny edge according to the second gradient value of the pixel; if the pixel is at the tiny edge, obtaining a second edge enhancement value of the pixel, and obtaining a second edge enhancement result of the pixel according to the second edge enhancement value of the pixel; and if the pixel is not at the tiny edge, obtaining the pixel value of the pixel as the edge enhancement result of the pixel. |
地址 |
Shenzhen CN |