Edge detecting method
First Claim
1. An edge detecting method comprising the steps of:
- a) setting a first kernel based on a center pixel in pixel data arranged in a mosaic structure;
b) setting a second kernel based on the center pixel within the first kernel;
c) detecting whether a pixel having a green value in the second kernel is a defective pixel, and, if defective, correcting the pixel;
d) converting all pixels of the second kernel into pixels having green value values;
e) calculating a slope value by using a mask for detecting an edge in the second kernel; and
f) detecting an edge by adding the slope value to a luminance value obtained by a color space conversion.
1 Assignment
0 Petitions
Accused Products
Abstract
There is provided an edge detecting method, which is capable of preventing a noise influence caused by imaging device and a color interpolation. The edge detecting method includes the steps of: setting a first kernel based on a center pixel in pixel data arranged in a mosaic structure; setting a second kernel based on the center pixel within the first kernel; detecting whether a pixel having a green value in the second kernel is a defective pixel, and correcting the pixel; converting all pixels of the second kernel into pixels having green value; calculating a slope value by using a mask for detecting an edge in the second kernel; and detecting an edge by adding the slope value to a luminance value obtained by a color space conversion.
23 Citations
20 Claims
-
1. An edge detecting method comprising the steps of:
-
a) setting a first kernel based on a center pixel in pixel data arranged in a mosaic structure; b) setting a second kernel based on the center pixel within the first kernel; c) detecting whether a pixel having a green value in the second kernel is a defective pixel, and, if defective, correcting the pixel; d) converting all pixels of the second kernel into pixels having green value values; e) calculating a slope value by using a mask for detecting an edge in the second kernel; and f) detecting an edge by adding the slope value to a luminance value obtained by a color space conversion. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for operating an image sensor comprising:
-
setting a first kernel about a target pixel of an image; setting a second kernel within the first kernel, wherein the second kernel is configured about the target pixel; determining whether the target pixel is a green pixel; correcting the target pixel if it is green and defective; interpolating an effective green value for all non-green pixels of the second kernel using green values of green pixels adjacent each respective non-green pixel; and using the green values and the effective green values of the second kernel to detect an edge of the image. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A method comprising:
-
setting a first kernel and a second kernel, wherein a green pixel is located in the first and second kernels, and wherein the second kernel is configured within the first kernel; setting first and second threshold values based on a luminance value of the green pixel; determining whether the luminance value of the green pixel exceeds the second threshold value; adjusting the first threshold value if the luminance value of the green pixel does not exceed the second threshold value; determining a first luminance difference value between the green pixel and one or more green pixels of the second kernel; increasing a first count value if the first luminance difference is greater than the first threshold value; increasing a second count value; and using the first count value and the second count value to determine whether the green pixel needs correction. - View Dependent Claims (18, 19, 20)
-
Specification