Method of separated color foreground and background pixel improvement
First Claim
1. A method for separating foreground and background image pixels, the method comprising:
- determining if a current pixel is an edge pixel by comparing a gradient between the current pixel and at least one neighbor pixel to a threshold;
if the pixel is an edge pixel, selecting a window of pixels surrounding the current pixel;
analyzing the window to produce a classification from a classification set of a gradient field within the window, wherein the classification set comprises monotonic, similar vertex, one vertex, shifted vertex, and inverted vertex;
defining foreground and background image pixel positions depending upon the classification; and
interpolating a value of the current pixel from the foreground and background image pixel positions, wherein the value of the current pixel is corrected for color misregistration.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for separating foreground and background image pixels from other pixels. The method determines if a current pixel is an edge pixel, and then selects a window of pixels surrounding the current pixel if it is on an edge. This window is then analyzed to produce a classification of a gradient field within the window, and defines foreground and background image pixel values depending upon the classification. Once foreground and background pixel positions are defined, the process interpolates the value for the current pixel. The accurate designation of foreground and background pixels eliminates or mitigates any color misregistration error in the pixel value.
-
Citations
8 Claims
-
1. A method for separating foreground and background image pixels, the method comprising:
-
determining if a current pixel is an edge pixel by comparing a gradient between the current pixel and at least one neighbor pixel to a threshold;
if the pixel is an edge pixel, selecting a window of pixels surrounding the current pixel;
analyzing the window to produce a classification from a classification set of a gradient field within the window, wherein the classification set comprises monotonic, similar vertex, one vertex, shifted vertex, and inverted vertex;
defining foreground and background image pixel positions depending upon the classification; and
interpolating a value of the current pixel from the foreground and background image pixel positions, wherein the value of the current pixel is corrected for color misregistration. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-readable medium containing a program operable to separate foreground and background image pixels, the program comprising:
-
code operable to detect edges in the image pixels, wherein the code compares a gradient between a current pixel and at least one neighbor pixel to a threshold;
code operable to perform gradient analysis on a selected window of pixels surrounding a current pixel, if the current pixel is an edge pixel;
code operable to classify from a classification set the gradient for the selected window of pixels, wherein the classification set comprises monotonic, similar vertex, shifted vertex, and inverted vertex;
code operable to define foreground and background pixel positions relative to the current pixel depending upon the classification of the gradient; and
code operable to interpolate a value of the current pixel from the foreground and background pixel position such that the value of the current pixel is corrected for color misregistration. - View Dependent Claims (7, 8)
-
Specification