IP Library Granted Patent US 9,177,218
Granted Patent B2
US 9,177,218 · App. 12/206,594 · Granted Nov 3, 2015

System and method, and computer program product for detecting an edge in scan data

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 9,177,218
App. No.
12/206,594
Granted
Nov 3, 2015
Kind
B2
Abstract

A system, method, and computer program product are provided for detecting an edge in scan data. In use, RGB scan data is analyzed for determining an approximate location of a background in the scan data representing a background adjacent a document having a similar color as the background. Additionally, a threshold is set for at least one of R, G and B, where the threshold is based in part on RGB values of the background and a predefined color threshold. Further, an intensity threshold is set. Further still, the scan data is analyzed using the thresholds for generating distribution points. Also, a first edge of the document is detected based on a location of a contour in the distribution points. In addition, the scan data and information about the detected edge are output.

Claims (52)

1. A method for detecting an edge in scan data, comprising:

analyzing RGB scan data for determining an approximate location of a background in the scan data representing a background adjacent a document having a similar color as the background;

setting a threshold for at least one of R, G, and B, the threshold being based in part on RGB values of the background and a predefined color threshold;

setting an intensity threshold;

analyzing the scan data using the thresholds for generating distribution points;

detecting a first edge of the document based on a location of a contour in the distribution points; and

outputting the scan data and information about the detected edge.

2. The method of claim 1 , wherein analyzing the RGB scan data for determining the approximate location of the background includes comparing RGB values to a background threshold value for a number of consecutive pixels, wherein if the RGB data of each of the consecutive pixels is below the background threshold value, the consecutive pixels are determined to be in the background.

3. The method of claim 1 , wherein the intensity threshold is based in part on a background intensity and a predefined intensity threshold.

4. The method of claim 3 , wherein the predefined intensity threshold is set below the predefined color threshold.

5. The method of claim 1 , further comprising filtering out noise by analyzing sets of adjacent pixels of the scan data using the thresholds.

6. The method of claim 5 , wherein the filtering uses a sliding window lookahead filter.

7. The method of claim 5 , wherein the filtering includes analyzing the distribution points, wherein anomalies outside the contour are determined to be noise.

8. The method of claim 1 , further comprising inverting a color of the document.

9. The method of claim 1 , further comprising detecting a second edge of the document.

10. The method of claim 9 , wherein the second edge of the document is found by analyzing the RGB scan data of the document.

11. The method of claim 9 , wherein the second edge of the document is found by detecting the background adjacent the second edge of the document.

12. A method for detecting an edge in scan data, comprising:

analyzing RGB scan data for determining an approximate location of a background in the scan data representing a background adjacent a document having a similar color as the background;

setting a threshold for at least one of R, G, and B;

setting an intensity threshold, wherein the intensity threshold is set below a predefined color threshold;

analyzing the scan data using the thresholds for generating distribution points;

detecting a first edge of the document based on a location of a contour in the distribution points;

filtering out noise by analyzing sets of adjacent pixels of the scan data using the thresholds; and

outputting the scan data and information about the detected edge.

13. The method of claim 12 , wherein analyzing the RGB scan data for determining the approximate location of the background includes comparing RGB values to background threshold value for a number of consecutive pixels, wherein if the RGB data of each of the consecutive pixels is below the background threshold value, the consecutive pixels are determined to be in the background.

14. The method of claim 12 , wherein the filtering uses a sliding window lookahead filter.

15. The method of claim 12 , wherein the filtering includes analyzing the distribution points, wherein anomalies outside the contour are determined to be noise.

16. The method of claim 12 , further comprising inverting a color of the document.

17. The method of claim 12 , further comprising detecting a second edge of the document.

18. The method of claim 17 , wherein the second edge of the document is found by analyzing the RGB scan data of the document.

19. The method of claim 17 , wherein the second edge of the document is found by detecting the background adjacent the second edge of the document.

20. The method of claim 12 , wherein the threshold for the at least one of R, G and B is based in part on RGB values of the background and a predefined color threshold.

21. The method of claim 12 , wherein the threshold for the at least one of R, G and B is based in part on RGB values of the background and a predefined color threshold.

22. A computer program product for detecting an edge in scan data, comprising:

a non-transitory computer readable medium having computer code stored thereon, the computer code including computer code which when executed by a processor causes the processor to perform the method of claim 12 .

23. A system for detecting an edge in scan data, comprising:

hardware for performing the method of claim 12 .

24. A computer program product for detecting an edge in scan data, comprising:

a non-transitory computer readable medium having computer code stored thereon, the computer code including:

computer code for analyzing RGB scan data for determining an approximate location of a background in the scan data representing a background adjacent a document having a similar color as the background;

computer code for setting a threshold for at least one of R, G, and B, the threshold being based in part on RGB values of the background and a predefined color threshold;

computer code for setting an intensity threshold; computer code for analyzing the scan data using the thresholds for generating distribution points;

computer code for detecting a first edge of the document based on a location of a contour in the distribution points; and

computer code for outputting the scan data and information about the detected edge.

25. A system for detecting an edge in scan data, comprising:

hardware for analyzing RGB scan data for determining an approximate location of a background in the scan data representing a background adjacent a document having a similar color as the background;

hardware for setting a threshold for at least one of R, G, and B, the threshold being based in part on RGB values of the background and a predefined color threshold;

hardware for setting an intensity threshold;

hardware for analyzing the scan data using the thresholds for generating distribution points;

hardware for detecting a first edge of the document based on a location of a contour in the distribution points; and

hardware for outputting the scan data and information about the detected edge.

Assignments (8)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 15, 2024
From: KOFAX, INC.
To: TUNGSTEN AUTOMATION CORPORATION
Reel/Frame 067428/0392 →
RELEASE OF SECURITY INTEREST Recorded Jul 21, 2022
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: KAPOW TECHNOLOGIES, INC.; KOFAX, INC.
Reel/Frame 060805/0161 →
FIRST LIEN INTELLECTUAL PROPERTY SECURITY AGREEMENT Recorded Jul 20, 2022
From: KOFAX, INC.; PSIGEN SOFTWARE, INC.
To: JPMORGAN CHASE BANK, N.A. AS COLLATERAL AGENT
Reel/Frame 060757/0565 →
SECURITY INTEREST Recorded Jul 20, 2022
From: KOFAX, INC.; PSIGEN SOFTWARE, INC.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 060768/0159 →
SECURITY INTEREST Recorded Jul 7, 2017
From: KOFAX, INC.
To: CREDIT SUISSE
Reel/Frame 043108/0207 →
RELEASE OF SECURITY INTEREST Recorded May 26, 2015
From: BANK OF AMERICA, N.A.
To: KOFAX, INC.; ATALASOFT, INC.; KAPOW TECHNOLOGIES, INC.
Reel/Frame 035773/0930 →
SECURITY AGREEMENT Recorded Aug 29, 2011
From: KOFAX, INC.
To: BANK OF AMERICA, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 026821/0833 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2008
From: FECHTER, JOEL S.
To: KOFAX, INC.
Reel/Frame 021537/0322 →