Method and system for processing images
First Claim
Patent Images
1. An image processing method comprising:
- dividing an image into a matrix of pixels for holding color values;
forming a first set of pixels that are positioned adjacent to a selected pixel;
calculating a first variation value;
forming a second set of pixels that are positioned adjacent to the selected pixel;
calculating a second variation value;
comparing the first and second variation values and selecting the set of pixels having a lowest variation value; and
calculating a first color value of the selected pixel by calculating the first color value from first color values of the selected set of pixels, wherein said calculating a first variation value and said calculating a second variation value respectively comprise calculating a ratio between first color values and second color values of abutting pixels of the respective set of pixels, calculating a mean value of the calculated ratios, and calculating a variation value of the respective set of pixels as a sum of an absolute value of a difference between each of the ratios and the mean value.
6 Assignments
0 Petitions
Accused Products
Abstract
A method and a system for processing images using interpolating. A variation value for different sets of pixels is determined, and the set of pixels with the highest correlation (lowest numeric value) is selected. A missing color at a given pixel is expressed in terms of the information contained in the selected set of pixels. If the variation value is below a certain threshold, due to noise or other factors, an alternative set of pixels using a different variation method may be selected. The missing color is estimated as a weighted sum of, e.g., the green samples divided by the weighted sum of, e.g., the red samples multiplied by the sampled value from the pixel to be estimated.
-
Citations
7 Claims
-
1. An image processing method comprising:
-
dividing an image into a matrix of pixels for holding color values;
forming a first set of pixels that are positioned adjacent to a selected pixel;
calculating a first variation value;
forming a second set of pixels that are positioned adjacent to the selected pixel;
calculating a second variation value;
comparing the first and second variation values and selecting the set of pixels having a lowest variation value; and
calculating a first color value of the selected pixel by calculating the first color value from first color values of the selected set of pixels, wherein said calculating a first variation value and said calculating a second variation value respectively comprise calculating a ratio between first color values and second color values of abutting pixels of the respective set of pixels, calculating a mean value of the calculated ratios, and calculating a variation value of the respective set of pixels as a sum of an absolute value of a difference between each of the ratios and the mean value. - View Dependent Claims (3, 4)
-
-
2. An image processing method comprising:
-
dividing an image into a matrix of pixels for holding color values;
forming a first set of pixels that are positioned adjacent to a selected pixel;
calculating a first variation value using ratios between color values of the pixels of the first set;
forming a second set of pixels that are positioned adjacent to the selected pixel;
calculating a second variation value using ratios between color values of the pixels of the second set;
comparing the first and second variation values and selecting the set of pixels having a lowest variation value;
calculating a weighted sum of second color values of the selected set of pixels;
calculating a weighted sum of first color values of the selected set of pixels; and
calculating the first color value of the selected pixel by multiplying a second color value of the selected pixel with a ratio between the weighted sums of the first color values and the second color values. - View Dependent Claims (5, 6, 7)
-
Specification