Image processing device and image enhancing method
AssigneeHanwha Techwin Co., Ltd.
InventorsJun Ho Gal, Eun Cheol Choi
Life of this patent
Estimating the term…
Abstract
Provided are an image processing device and an image enhancing method. The image enhancement method for the image processing device includes: calculating a first minimum value, a first maximum value, and a first average value of a luminance of a region based on a pixel in an image; calculating a first gain with respect to a pixel having a pixel value between the first minimum value and the first average value, and a second gain with respect to a pixel having a pixel value between the first average value and the first maximum value; and calculating a first correction value by correcting the pixel value of the pixel by using the first gain or the second gain according to a result of comparing the pixel value of the pixel with the first average value.
Claims20
An image enhancement method for an image processing device, the image enhancement method comprising:
- calculating a first minimum value, a first maximum value, and a first average value of a luminance of a region based on a pixel in an image;
- calculating a first gain with respect to a pixel having a pixel value between the first minimum value and the first average value, and a second gain with respect to a pixel having a pixel value between the first average value and the first maximum value;
- calculating a first correction value by correcting the pixel value of the pixel by using the first gain or the second gain according to a result of comparing the pixel value of the pixel with the first average value;
- and
- calculating a first edge value of an entire image and a second edge value of the region based on the pixel, and
- wherein the first gain and the second gain are calculated based on the first edge value and the second edge value.
An image processing device comprising at least one processor to implement:
- a luminance calculator configured to calculate a first minimum value, a first maximum value, and a first average value of a luminance of a region based on a pixel in an image;
- a gain calculator configured to calculate a first gain with respect to a pixel having a pixel value between the first minimum value and the first average value, and a second gain with respect to a pixel having a pixel value between the first average value and the first maximum value;
- and
- a corrector configured to calculate a first correction value by correcting the pixel value of the pixel by using the first gain or the second gain according to a result of comparing the pixel value of the pixel with the first average value,
- wherein the image processing device further comprises an edge detector configured to calculate a first edge value of an entire image and a second edge value of the region based on the pixel, and
- wherein the first gain and the second gain are calculated based on the first edge value and the second edge value.
A non-transitory computer-readable recording medium having recorded thereon a program, which when executed by a computer, causes the computer to:
- calculate a first minimum value, a first maximum value, and a first average value of a luminance of a region based on a pixel in an image;
- calculate a first gain with respect to a pixel having a pixel value between the first minimum value and the first average value, and a second gain with respect to a pixel having a pixel value between the first average value and the first maximum value;
- calculate a first correction value by correcting the pixel value of the pixel by using the first gain or the second gain according to a result of comparing the pixel value of the pixel with the first average value;
- and
- calculate a first edge value of an entire image and a second edge value of the region based on the pixel,
- wherein the first gain and the second gain are calculated based on the first edge value and the second edge value.
Dependencies are inferred from the claim text.