System and method, and computer program product for detecting an edge in scan data
AssigneeKofax, Inc.
InventorJoel S. Fechter
Life of this patent
Estimating the term…
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.
Claims25
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.
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.
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.
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.
Dependencies are inferred from the claim text.