System and method for color normalization of board images
First Claim
1. A method for color normalization of images of a surface, the surface having a background with foreground markings placed thereon, the method comprising steps of:
- inputting a surface image comprised of pixels;
generating image arrays for each RGB color channel representing the image;
determining for each image array which of the pixels of the image are background pixels representing the background of the surface and which of the pixels of the image are foreground pixels representing the foreground markings based on pixel intensity and proximity to the white axis in RGB color space;
generating a background image array representing the background pixels for each RGB color channel based on the determining;
modifying each background image array by replacing values corresponding to each of the background pixels by a weighted average of its own value and a value of its predecessor and replacing values corresponding to each pixel located in a position formerly occupied by a foreground pixel are replaced by a value of a predecessor pixel; and
, dividing the image arrays by a corresponding modified background image array.
7 Assignments
0 Petitions
Accused Products
Abstract
A system and method are provided to normalize colors in an image of a board surface so as to eliminate effects of variable illumination, and in the case of mosaic images, to eliminate visible seams between tiles. Each pixel is classified as foreground or background, where foreground pixels contain ink marks. An efficient smoothing process estimates the ideal background color of all pixels, including the foreground pixels. The estimated background color is used to normalize each pixel'"'"'s color such that in the final image, artifacts arising from camera gain and uneven lighting of the board surface are eliminated.
-
Citations
14 Claims
-
1. A method for color normalization of images of a surface, the surface having a background with foreground markings placed thereon, the method comprising steps of:
-
inputting a surface image comprised of pixels;
generating image arrays for each RGB color channel representing the image;
determining for each image array which of the pixels of the image are background pixels representing the background of the surface and which of the pixels of the image are foreground pixels representing the foreground markings based on pixel intensity and proximity to the white axis in RGB color space;
generating a background image array representing the background pixels for each RGB color channel based on the determining;
modifying each background image array by replacing values corresponding to each of the background pixels by a weighted average of its own value and a value of its predecessor and replacing values corresponding to each pixel located in a position formerly occupied by a foreground pixel are replaced by a value of a predecessor pixel; and
,dividing the image arrays by a corresponding modified background image array. - View Dependent Claims (2, 3, 4, 5, 6)
where V represents pixel values, the index x is a pixel location, α
is a constant, the index x−
1 indicates the previous pixel position along the direction of the filter'"'"'s pass and the prime notation indicates a pixel modified in the pass.
-
-
7. A system adapted to normalize color images of a surface, the surface having a background with foreground markings placed thereon, the system comprising:
-
means for inputting a surface image comprised of pixels;
means for generating image arrays for each RGB color channel representing the image;
means determining for each image array which of the pixels of the image are background pixels representing the background of the surface and which of the pixels of the image are foreground pixels representing the foreground markings;
means for generating a background array representing the background pixels for each RGB color channel based on the determining;
means for filtering each background array in a plurality of directions wherein values corresponding to each of the background pixels are replaced by a weighted average of its own value and a value of its predecessor and values corresponding to each pixel located in a position formerly occupied by a foreground pixel are replaced by a value of a predecessor pixel; and
,means for dividing the image arrays by a corresponding filtered background array. - View Dependent Claims (8)
-
-
9. A method for color normalization of images of a surface, the surface having a background with foreground markings placed thereon, the method comprising steps of:
-
inputting a surface image comprised of image tiles formed of pixels;
generating image arrays for each RGB color channel of each image tile representing the image;
determining for each image array which of the pixels of the image are background pixels representing the background of the surface and which of the pixels of the image are foreground pixels representing the foreground markings based on pixel intensity and proximity to the white axis in RGB color space;
generating a background array representing the background pixels for each RGB color channel of each image tile based on the determining;
filtering each background array in a plurality of directions wherein values corresponding to each of the background pixels are replaced by a weighted average of its own value and a value of its predecessor and values corresponding to each pixel located in a position formerly occupied by a foreground pixel are replaced by a value of a predecessor pixel;
dividing the image arrays by a corresponding filtered background array to obtain output image tiles; and
,generating an output image based on the output image tiles. - View Dependent Claims (10, 11, 12, 13, 14)
where V represents pixel values, the index x represents a pixel location, α
is a constant, the index x−
1 indicates the previous pixel position along the direction of the filter'"'"'s pass and the prime notation indicates a pixel modification in the pass.
-
Specification