Image processing device and image processing method for generating electronic document with a table line determination portion
AssigneeCanon Kabushiki Kaisha
InventorMakoto Enomoto
Life of this patent
Estimating the term…
Abstract
There are provided an image processing device, an image processing method and a program that generate an electronic document in a format specification that is optimal for many purposes of electronic documents. A table region is discriminated from an input image, and a table structure in the table region is analyzed. A table line determination is made on the analyzed table structure as to whether or not each ruled line is representable in the format, and ruled line information and a vector line object are created according to the determination result. The created ruled line information and vector line object are used to generate the electronic document.
Claims10
An image processing device that generates, from an input image, an electronic document having a predetermined format, the image processing device comprising:
- a region-discrimination unit configured to analyze the input image and discriminate a table region;
- a table-structure-analysis unit configured to analyze a table structure and a ruled line in the discriminated table region and generate table-structure information including information on a cell of a table in the table region;
- a determination unit configured to determine whether or not a side of the cell included in the generated table-structure information can be represented as a ruled line of the table according to the predetermined format;
- a unit configured to generate information of a ruled line to be represented according to the predetermined format from the side which is determined to be representable as the ruled line;
- a unit configured to generate a vector-line object by performing vector-conversion processing on the side which is determined to be unrepresentable as the ruled line;
- and
- an electronic-document-generation unit configured to generate the electronic document from the generated table-structure-information, the generated ruled-line information and the generated vector-line object.
An image processing method of generating, from an input image, an electronic document having a predetermined format, the method comprising:
- a region-discrimination step of analyzing the input image and discriminating a table region;
- a table-structure-analysis step of analyzing a table structure and a ruled line in the discriminated table region and generating table-structure information including information on a cell of a table in the table region;
- a determination step of determining whether or not a side of the cell included in the generated table-structure information can be represented as a ruled line of the table according to the predetermined format;
- a step of generating information of a ruled line to be represented according to the predetermined format from the side which is determined to be representable as the ruled line;
- a step of generating a vector-line object by performing vector-conversion processing on the side which is determined to be unrepresentable as the ruled line;
- and
- an electronic-document-generation step of generating the electronic document from the generated table-structure information, the generated ruled-line information and the generated vector-line object.
A non-transitory computer-readable medium having computer-executable instructions for performing a method, the method generating, from an input image, an electronic document having a predetermined format, the method comprising:
- a region-discrimination step of analyzing the input image and discriminating a table region;
- a table-structure-analysis step of analyzing a table structure and a ruled line in the discriminated table region and generating table-structure information including information on a cell of a table in the table region;
- a determination step of determining whether or not a side of the cell included in the generated table-structure information can be represented as a ruled line of the table according to the predetermined format;
- a step of generating information of a ruled line to be represented according to the predetermined format from the side which is determined to be representable as the ruled line;
- a step of generating a vector-line object by performing vector-conversion processing on the side which is determined to be unrepresentable as the ruled line;
- and
- an electronic-document-generation step of generating the electronic document from the generated table-structure information, the generated ruled-line information and the generated vector-line object.
Dependencies are inferred from the claim text.