Identifying and extracting a sub-image in a document image file

US10909686B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10909686-B2
Application numberUS-201816203103-A
CountryUS
Kind codeB2
Filing dateNov 28, 2018
Priority dateNov 28, 2018
Publication dateFeb 2, 2021
Grant dateFeb 2, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Provided are techniques for identifying and extracting a sub-image in a document image file. Colors in a document image file are modified to form a modified document image file, wherein the document image file contains a first color, a second color, and a third color, wherein a threshold is used to determine whether each of different levels of the third color is to be one of the first color and the second color. Solid horizontal lines and solid vertical lines having one of a pre-defined width and a pre-defined height are removed from the modified document image file. A sub-image in the modified document image file is identified based on remaining solid horizontal lines and remaining solid vertical lines. A segment that includes the sub-image is extracted. Post-processing is performed on the segment.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method, comprising: modifying colors in a document image file to form a modified document image file, wherein the document image file contains a first color, a second color, and a third color, wherein a threshold is used to determine whether each of different levels of the third color is to be one of the first color and the second color; creating a first image file with solid horizontal lines and a second image file with solid vertical lines from the modified document image file; removing the solid horizontal lines from the first image file having a pre-defined width and the solid vertical lines from the second image file having a pre-defined height; adding remaining solid horizontal lines in the first image file and remaining solid vertical lines in the second image file in a new image file; identifying a sub-image in the new image file based on the remaining solid horizontal lines and the remaining solid vertical lines; extracting a segment that includes the sub-image; and performing post-processing on the segment. 2. The computer-implemented method of claim 1 , wherein the first color is white, wherein the second color is black, and wherein the third color is grey. 3. The computer-implemented method of claim 1 , wherein edge detection is used to extract the segment. 4. The computer-implemented method of claim 1 , wherein the post-processing includes any of storing the segment in a database, re-using the segment, modifying the segment, and re-using the modified segment. 5. The computer-implemented method of claim 1 , wherein a Software as a Service (SaaS) is configured to perform method operations. 6. A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform operations comprising: modifying colors in a document image file to form a modified document image file, wherein the document image file contains a first color, a second color, and a third color, wherein a threshold is used to determine whether each of different levels of the third color is to be one of the first color and the second color; creating a first image file with solid horizontal lines and a second image file with solid vertical lines from the modified document image file; removing the solid horizontal lines from the first image file having a pre-defined width and the solid vertical lines from the second image file having a pre-defined height; adding remaining solid horizontal lines in the first image file and remaining solid vertical lines in the second image file in a new image file; identifying a sub-image in the new image file based on the remaining solid horizontal lines and the remaining solid vertical lines; extracting a segment that includes the sub-image; and performing post-processing on the segment. 7. The computer program product of claim 6 , wherein the first color is white, wherein the second color is black, and wherein the third color is grey. 8. The computer program product of claim 6 , wherein edge detection is used to extract the segment. 9. The computer program product of claim 6 , wherein the post-processing includes any of storing the segment in a database, re-using the segment, modifying the segment, and re-using the modified segment. 10. The computer program product of claim 6 , wherein a Software as a Service (SaaS) is configured to perform computer program product operations. 11. A computer system, comprising: one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, to perform operations comprising: modifying colors in a document image file to form a modified document image file, wherein the document image file contains a first color, a second color, and a third color, wherein a threshold is used to determine whether each of different levels of the third color is to be one of the first color and the second color; creating a first image file with solid horizontal lines and a second image file with solid vertical lines from the modified document image file; removing the solid horizontal lines from the first image file having a pre-defined width and the solid vertical lines from the second image file having a pre-defined height; adding remaining solid horizontal lines in the first image file and remaining solid vertical lines in the second image file in a new image file; identifying a sub-image in the new image file based on the remaining solid horizontal lines and the remaining solid vertical lines; extracting a segment that includes the sub-image; and performing post-processing on the segment. 12. The computer system of claim 11 , wherein the first color is white, wherein the second color is black, and wherein the third color is grey. 13. The computer system of claim 11 , wherein edge detection is used to extract the segment. 14. The computer system of claim 11 , wherein the post-processing includes any of storing the segment in a database, re-using the segment, modifying the segment, and re-using the modified segment. 15. The computer system of claim 11 , wherein a Software as a Service (SaaS) is configured to perform computer system operations.

Assignees

Inventors

Classifications

  • Classification of content, e.g. text, photographs or tables · CPC title

  • Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components · CPC title

  • G06T7/12Primary

    Edge-based segmentation · CPC title

  • G06T7/13Primary

    Edge detection · CPC title

  • Document matching, e.g. of document images · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10909686B2 cover?
Provided are techniques for identifying and extracting a sub-image in a document image file. Colors in a document image file are modified to form a modified document image file, wherein the document image file contains a first color, a second color, and a third color, wherein a threshold is used to determine whether each of different levels of the third color is to be one of the first color and…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06T7/12. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 02 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).