Adjusting margins in book page images
First Claim
Patent Images
1. A computer-implemented method comprising:
- accessing an electronic book that includes a sequence of book page images, wherein each book page image is a digital image of an actual book page and includes text;
accessing a template that is generated by processing at least one book page image of the sequence of book page images, the processing at least one book page image of the sequence of book page images including determining a median height or a median width of text in the at least one book page image to determine the dimensions of the representative text bounding box of the template, wherein the template indicates dimensions of a representative text bounding box for the sequence of book page images of the electronic book;
determining, for each of one or more book page images of the sequence of book page images, whether the book page image has text that substantially fills the representative text bounding box, the determining whether the book page image has text that substantially fills the representative text bounding box including determining whether dimensions of the text are within prescribed thresholds of the median height or the median width;
for each of one or more of the book page images of the sequence of book page images that has text that substantially fills the representative text bounding box, scaling the book page image based at least on (i) dimensions of a user interface through which the book page image is displayed, and (ii) the dimensions of the representative text bounding box;
for each of one or more of the book page images of the sequence of book page images that has text that does not substantially fill the representative text bounding box, scaling the book page image based at least on (i) a minimum text height, or (ii) a maximum text width; and
providing one or more of the scaled book page images for display through the user interface.
2 Assignments
0 Petitions
Accused Products
Abstract
A user interface (e.g., a browser window) includes a display area for displaying an image (e.g., a book page image). The image can be rescaled based on the dimensions of the display area and other factors. In some implementations, margins in book page images are adjusted to create additional or less display area.
-
Citations
9 Claims
-
1. A computer-implemented method comprising:
-
accessing an electronic book that includes a sequence of book page images, wherein each book page image is a digital image of an actual book page and includes text; accessing a template that is generated by processing at least one book page image of the sequence of book page images, the processing at least one book page image of the sequence of book page images including determining a median height or a median width of text in the at least one book page image to determine the dimensions of the representative text bounding box of the template, wherein the template indicates dimensions of a representative text bounding box for the sequence of book page images of the electronic book; determining, for each of one or more book page images of the sequence of book page images, whether the book page image has text that substantially fills the representative text bounding box, the determining whether the book page image has text that substantially fills the representative text bounding box including determining whether dimensions of the text are within prescribed thresholds of the median height or the median width; for each of one or more of the book page images of the sequence of book page images that has text that substantially fills the representative text bounding box, scaling the book page image based at least on (i) dimensions of a user interface through which the book page image is displayed, and (ii) the dimensions of the representative text bounding box; for each of one or more of the book page images of the sequence of book page images that has text that does not substantially fill the representative text bounding box, scaling the book page image based at least on (i) a minimum text height, or (ii) a maximum text width; and providing one or more of the scaled book page images for display through the user interface. - View Dependent Claims (2, 3)
-
-
4. A non-transitory computer-readable storage device having instructions stored thereon, which, when executed by at least one processor, causes the at least one processor to perform operations comprising:
-
accessing an electronic book that includes a sequence of book page images, the processing at least one book page image of the sequence of book page images including determining a median height or a median width of text in the at least one book page image to determine the dimensions of the representative text bounding box of the template, wherein each book page image is a digital image of an actual book page and includes text; accessing a template that is generated by processing at least one book page image of the sequence of book page images, wherein the template indicates dimensions of a representative text bounding box for the sequence of book page images of the electronic book; determining, by the at least one processor, for each of one or more book page images of the sequence of book page images, whether the book page image has text that substantially fills the representative text bounding box, the determining whether the book page image has text that substantially fills the representative text bounding box including determining whether dimensions of the text are within prescribed thresholds of the median height or the median width; for each of one or more of the book page images of the sequence of book page images that has text that substantially fills the representative text bounding box, scaling the book page image based at least on (i) dimensions of a user interface through which the book page image is displayed, and (ii) the dimensions of the representative text bounding box; for each of one or more of the book page images of the sequence of book page images that has text that does not substantially fill the representative text bounding box, scaling the book page image based at least on (i) a minimum text height, or (ii) a maximum text width; and providing one or more of the scaled book page images for display through the user interface. - View Dependent Claims (5, 6)
-
-
7. A system comprising:
-
at least one processor; and a computer-readable storage device operatively coupled to the at least one processor and including instructions, which, when executed by the at least one processor, causes the at least one processor to perform operations comprising; accessing an electronic book that includes a sequence of book page images, wherein each book page image is a digital image of an actual book page and includes text; accessing a template that is generated by processing at least one book page image of the sequence of book page images, the processing at least one book page image of the sequence of book page images including determining a median height or a median width of text in the at least one book page image to determine the dimensions of the representative text bounding box of the template, wherein the template indicates dimensions of a representative text bounding box for the sequence of book page images of the electronic book; determining, for each of one or more book page images of the sequence of book page images, whether the book page image has text that substantially fills the representative text bounding box, the determining whether the book page image has text that substantially fills the representative text bounding box including determining whether dimensions of the text are within prescribed thresholds of the median height or the median width; for each of one or more of the book page images of the sequence of book page images that has text that substantially fills the representative text bounding box, scaling the book page image based at least on (i) dimensions of a user interface through which the book page image is displayed, and (ii) the dimensions of the representative text bounding box; for each of one or more of the book page images of the sequence of book page images that has text that does not substantially fill the representative text bounding box, scaling the book page image based at least on (i) a minimum text height, or (ii) a maximum text width; and providing one or more of the scaled book page images for display through the user interface. - View Dependent Claims (8, 9)
-
Specification