Method and apparatus for extracting raster images from portable electronic document
AssigneeRicoh Company, Ltd.
InventorsCheng Du, Wenhui Xu, Fumihiro Hasegawa, Koichi Inoue
Life of this patent
Estimating the term…
Abstract
A disclosed method for extracting a raster image of a page from a portable electronic document that includes (a) acquiring commands and resources of the raster image of the page by analyzing a format of the portable electronic document, (b) extracting first and second candidate raster images by processing the commands and the resources of the raster image of the page, (c) integrating the first and second candidate raster images as an integrated candidate raster image provided that the first and second candidate raster images are linked together, and (d) removing a pseudo-raster image from the integrated candidate raster image.
Claims12
A method for extracting a raster image of a page from a portable electronic document, comprising:
- (a) acquiring commands and resources of the raster image of the page by analyzing a format of the portable electronic document;
- (b) extracting first and second candidate raster images by processing the commands and the resources of the raster image of the page;
- (c) integrating the first and second candidate raster images as an integrated candidate raster image provided that the first and second candidate raster images are linked together;
- and
- (d) removing a pseudo-raster image from the integrated candidate raster image,
- wherein the step (b) includes:
- (b1) specifying an image display command in the acquired commands of the raster image of the page in the step (a);
- (b2) extracting positional and size information on the first and second candidate raster images by processing the commands of the raster image of the page based on the specified image display command in the step (b1);
- (b3) decrypting the first and second candidate raster images based on a decryption system specified for the portable electronic document;
- and
- (b4) storing the decrypted first and second candidate raster images in a first candidate raster image list.
An apparatus for extracting a raster image of a page from a portable electronic document, comprising:
- a document analysis device configured to acquire commands and resources of the raster image of the page by analyzing a format of the portable electronic document;
- a candidate raster image extraction device configured to extract first and second candidate raster images by processing the commands and the resources of the raster image of the page;
- a raster image integration device configured to integrate the first and second candidate raster images as an integrated candidate raster image provided that the first and second candidate raster images are linked together;
- and
- a pseudo-raster image removal device configured to remove a pseudo-raster image from the integrated candidate raster image,
- wherein the candidate raster image extraction device specifies an image display command in the acquired commands of the raster image of the page, extracts position and size information on the first and second candidate raster images, decrypts the first and second candidate raster images based on an encryption system for the portable electronic document, and stores the first and second candidate raster images in a first candidate raster image list.
A method for extracting a raster image of a page from a portable electronic document, comprising:
- (a) acquiring commands and resources of the raster image of the page by analyzing a format of the portable electronic document;
- (b) extracting first and second candidate raster images by processing the commands and the resources of the raster image of the page;
- (c) integrating the first and second candidate raster images as an integrated candidate raster image provided that the first and second candidate raster images are linked together;
- and
- (d) removing a pseudo-raster image from the integrated candidate raster image,
- wherein the step (c) includes:
- (c1) adjacently arranging the first and second candidate raster images based on respective positions thereof in a first candidate raster image list;
- (c2) comparing the respective positions of the first and second candidate raster images adjacently arranged in the first candidate raster image list, determining that the first and second candidate raster images are linked candidate raster images provided that a distance between the first and second candidate raster images in a vertical direction is below a first predetermined threshold and provided that an overlapped area of the first and second candidate raster images in a horizontal direction exceeds a second predetermined threshold, and integrating the linked first and second candidate raster images as an integrated candidate raster image;
- (c3) repeating the step (c2) on the integrated candidate raster image and a third candidate raster image arranged adjacent to the integrated candidate raster image;
- and
- (c4) adding the first candidate raster image to a second candidate raster image list provided that the first candidate raster image is not linked with the second candidate raster image, or adding the integrated candidate raster image to the second candidate raster image list provided that the integrated candidate raster image is not linked with the third candidate raster image.
Dependencies are inferred from the claim text.