Techniques for incorporating a text-containing image into a digital image
First Claim
1. A computer-implemented method, comprising:
- analyzing a digital image to determine one or more text-allowed regions included in the digital image for a text-containing image, wherein the text-containing image has a first aspect ratio and a first shape, and the one or more text-allowed regions include a first text-allowed region having an aspect ratio equal to the first aspect ratio and a shape that is not equal to the first shape;
for each of the one or more text-allowed regions, computing a numeric value based on a color contrast between pixels of the text-containing image and pixels of the text-allowed region;
selecting the first text-allowed region based at least in part on the numeric value computed for each text-allowed region; and
incorporating the text-containing image into the first text-allowed region included in the digital image.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention sets forth a technique for incorporating a text-containing image into a digital. The technique includes analyzing a digital image to determine one or more text-allowed regions included in the digital image, and, for each of the one or more text-allowed regions, computing a numeric value based on a color contrast between pixels of a text-containing image and pixels of the text-allowed region, wherein the text-containing image is to be incorporated into one of the text-allowed regions included in the digital image. The technique further includes selecting a first text-allowed region based at least in part on the numeric value computed for each text-allowed region, and incorporating the text-containing image into the first text-allowed region included in the digital image.
-
Citations
24 Claims
-
1. A computer-implemented method, comprising:
-
analyzing a digital image to determine one or more text-allowed regions included in the digital image for a text-containing image, wherein the text-containing image has a first aspect ratio and a first shape, and the one or more text-allowed regions include a first text-allowed region having an aspect ratio equal to the first aspect ratio and a shape that is not equal to the first shape; for each of the one or more text-allowed regions, computing a numeric value based on a color contrast between pixels of the text-containing image and pixels of the text-allowed region; selecting the first text-allowed region based at least in part on the numeric value computed for each text-allowed region; and incorporating the text-containing image into the first text-allowed region included in the digital image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable storage medium including instructions that, when executed by a processor, cause the processor to perform the steps of:
-
receiving a request to translate an element of source text from an origin language; performing one or more edge detection operations on a digital image to detect one or more edge pixels included in the digital image; determining a negative space region included in the digital image that does not include any edge pixels; defining one or more text-allowed regions within the negative space region for a text-containing image, wherein the text-containing image has a first aspect ratio and a first shape, and the one or more text-allowed regions include a first text-allowed region having an aspect ratio equal to the first aspect ratio and a shape that is not equal to the first shape; for each of the one or more text-allowed regions, computing a numeric value based on a color contrast between pixels of the text-containing image and pixels of the text-allowed region; selecting the first text-allowed region based at least in part on the numeric value computed for each text-allowed region; and incorporating the text-containing image into the first text-allowed region included in the digital image. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A system, comprising:
-
a memory storing a text-locating application; and a processor that is coupled to the memory and, when executing the text-locating application, is configured to; analyze a digital image to determine one or more text-allowed regions included in the digital image for a text-containing image, wherein the text-containing image has a first aspect ratio and a first shape, and the one or more text-allowed regions include a first text-allowed region having an aspect ratio equal to the first aspect ratio and a shape that is not equal to the first shape; for each of the one or more text-allowed regions, computing a numeric value based on a color contrast between pixels of the text-containing image and pixels of the text-allowed region; select the first text-allowed region based at least in part on the numeric value computed for each text-allowed region; and incorporate the text-containing image into the first text-allowed region included in the digital image, wherein each of the one or more text-allowed regions comprises a region of the digital image that does not overlap a proscribed portion of the digital image. - View Dependent Claims (24)
-
Specification