IP Library Granted Patent US 7,245,780
Granted Patent B2
US 7,245,780 · App. 11/410,565 · Granted Jul 17, 2007

Group average filter algorithm for digital image processing

Assignee: Scanbuy, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,245,780
App. No.
11/410,565
Granted
Jul 17, 2007
Kind
B2
Abstract

This present invention discloses a system and method for enhancing images of barcodes and other similar objects taken by the digital camera connected to or embedded in a mobile device. This filter works by converting the image into its equivalent gray scale. The algorithm then computes the mean pixel intensity value of a row of pixels in the image. The row is divided into sections and the mean pixel intensity of each section is also calculated. The pixels in each section are processed according to the relation of the relative mean intensities of the row and the section. Once each pixel has been processed, the image is reassembled from its divided sections.

Claims (56)

1. A method for processing digital images, comprising:

converting an image to a two-dimensional array, wherein the two-dimensional array comprises one or more rows of pixels, and wherein each row of pixels comprises one or more row sections;

computing a mean intensity of a row of pixels;

computing a mean intensity of a row section of the row of pixels;

if the mean intensity of the row section is greater than the mean intensity of the row of pixels, processing the pixels in the row section according to a first method;

if the mean intensity of the row section is less than the mean intensity of the row of pixels, processing the pixels in the row section according to a second method; and

wherein each of the first method and the second method comprises comparing the mean intensity of the row of pixels to a value computed as a function of a non-zero percentage threshold and an intensity of a pixel in the row section.

2. The method of claim 1 , wherein for the first method the computed value is the sum of the intensity of the pixel in the row section and the product of the non-zero percentage threshold and the intensity of the pixel in the row section.

3. The method of claim 2 , wherein the first method further comprises:

assigning the pixel in the row section an intensity corresponding to white if the computed value is greater than the mean intensity of the row; and

assigning the pixel in the row section an intensity corresponding to black if the computed value is less than the mean intensity of the row.

4. The method of claim 1 , wherein for the second method the computed value is the product of the non-zero percentage threshold and the intensity of the pixel in the row section subtracted from the intensity of the pixel in the row section.

5. The method of claim 4 , wherein the second method further comprises:

assigning the pixel in the row section an intensity corresponding to white if the computed value is greater than the mean intensity of the row; and

assigning the pixel in the row section an intensity corresponding to black if the computed value is less than the mean intensity of the row.

6. The method of claim 1 , further comprising:

if the mean intensity of the row section is equal to the mean intensity of the row, disregarding the pixels in the row section.

7. The method of claim 1 , further comprising:

mapping each pixel of the two-dimensional array to a corresponding grayscale equivalent.

8. The method of claim 1 , further comprising:

prior to processing the pixels in the two-dimensional array, mapping each pixel of the two-dimensional array to a corresponding grayscale equivalent.

9. The method of claim 1 , further comprising:

processing the pixels in each row section of the row of pixels; and

reassembling the row of pixels after the one or more row sections have been processed.

10. The method of claim 1 , further comprising:

processing the pixels in each row of pixels of the two-dimensional array; and

reassembling the rows of pixels after the one or more rows have been processed.

11. The method of claim 1 , wherein the number of row sections is in the range of three row sections to ten row sections.

12. The method of claim 1 , wherein the number of row sections is a number received from a user.

13. The method of claim 1 , wherein the number of row sections is a predetermined number of row sections.

14. The method of claim 1 , wherein the number of row sections is the same for each row of pixels.

15. The method of claim 1 , wherein the non-zero percentage threshold is less than or equal to twenty.

16. The method of claim 1 , wherein the image is a barcode image.

17. The method of claim 16 , further comprising:

processing the pixels in each row of pixels of the two-dimensional array;

reassembling the rows of pixels after the one or more rows have been processed; and

decoding the barcode image.

18. The method of claim 16 , further comprising:

capturing the barcode image using a camera-enabled mobile device.

19. A computer readable medium storing computer executable instructions for processing digital images, the executable instructions comprising:

converting an image to a two-dimensional array, wherein the two-dimensional array comprises one or more rows of pixels, and wherein each row of pixels comprises one or more row sections;

computing a mean intensity of a row of pixels;

computing a mean intensity of a row section of the row of pixels;

if the mean intensity of the row section is greater than the mean intensity of the row of pixels, processing the pixels in the row section according to a first method;

if the mean intensity of the row section is less than the mean intensity of the row of pixels, processing the pixels in the row section according to a second method; and

wherein each of the first method and the second method comprises comparing the mean intensity of the row of pixels to a value computed as a function of a non-zero percentage threshold and an intensity of a pixel in the row section.

20. A device for processing digital images, comprising:

a processor executing an application that is configured to:

convert an image to a two-dimensional array, wherein the two-dimensional array comprises one or more rows of pixels, and wherein each row of pixels comprises one or more row sections;

compute a mean intensity of a row of pixels;

compute a mean intensity of a row section of the row of pixels;

if the mean intensity of the row section is greater than the mean intensity of the row of pixels, process the pixels in the row section according to a first method;

if the mean intensity of the row section is less than the mean intensity of the row of pixels, process the pixels in the row section according to a second method; and

wherein each of the first method and the second method comprises comparing the mean intensity of the row of pixels to a value computed as a function of a non-zero percentage threshold and an intensity of a pixel in the row section.

21. The device of claim 20 , wherein the image is a barcode image, the device further comprising:

a digital camera that is configured to capture the barcode image.

Assignments (2)
TERMINATION OF SECURITY INTEREST IN INTELLECTUAL PROPERTY AT REEL 23456 AND FRAME 0203 Recorded Jan 21, 2010
From: MASTHEAD VENTURE PARTNERS CAPITAL, L.P.
To: SCANBUY, INC.
Reel/Frame 023821/0169 →
SECURITY AGREEMENT Recorded Nov 2, 2009
From: SCANBUY, INC.
To: MASTHEAD VENTURE PARTNERS CAPITAL, L.P.
Reel/Frame 023456/0203 →
Continuity (3)
Continuation 1083231900 · Apr 27, 2004
Provisional Application 6049379200 · Aug 11, 2003
Related Publication 20060193530A1 · Aug 31, 2006