RENDERING PERSONALIZED TEXT ON CURVED IMAGE SURFACES
First Claim
1. A computer-implemented method for placing personalized text onto a curved surface in an image, comprising:
- receiving user input pertaining to a location of an existing text string in the image;
defining bounding polygon according to user input;
segmenting the existing text string;
performing connected component analysis on the text string to identify connected components in the existing text string;
detecting at least one of upper and lower extreme edge pixels of text characters represented by the connected components;
identifying an edge at each side of the curved surface;
calculating 3D curved surface geometry and camera geometry using the upper and lower extreme edge pixels of the text characters and left and right edges;
erasing the existing text string by replacing text pixels with background-colored pixels; and
inserting a personalized text string into the location of the erased text according to the calculated 3D curved surface geometry and camera geometry.
3 Assignments
0 Petitions
Accused Products
Abstract
As set forth herein, a computer-implemented method facilitates replacing text on cylindrical or curved surfaces in images. For instance, the user is first asked to perform a multi-click selection of a polygon to bound the text. A triangulation scheme is carried out to identify the pixels. Segmentation and erasing algorithms are then applied. The ellipses are estimated accurately through constrained least squares fitting. A 3D framework for rendering the text, including the central projection pinhole camera model and specification of the cylindrical object, is generated. These parameters are jointly estimated from the fitted ellipses as well as the two vertical edges of the cylinder. The personalized text is wrapped around the cylinder and subsequently rendered.
-
Citations
21 Claims
-
1. A computer-implemented method for placing personalized text onto a curved surface in an image, comprising:
-
receiving user input pertaining to a location of an existing text string in the image; defining bounding polygon according to user input; segmenting the existing text string; performing connected component analysis on the text string to identify connected components in the existing text string; detecting at least one of upper and lower extreme edge pixels of text characters represented by the connected components; identifying an edge at each side of the curved surface; calculating 3D curved surface geometry and camera geometry using the upper and lower extreme edge pixels of the text characters and left and right edges; erasing the existing text string by replacing text pixels with background-colored pixels; and inserting a personalized text string into the location of the erased text according to the calculated 3D curved surface geometry and camera geometry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system that facilitates replacing an existing text string on a curved surface in an image with a personalized text string, comprising:
-
a computer-readable medium that stores computer-executable instructions; a processor that executes the computer-executable instructions, the instructions comprising; receiving user input pertaining to a location of an existing text string in the image; defining bounding polygon according to user input; segmenting the existing text string; performing connected component analysis on the text string to identify connected components in the existing text string; detecting upper and lower extreme edge pixels of text characters represented by the connected components; identifying an edge at each side of the curved surface; calculating 3D curved surface geometry and camera geometry using the upper and lower extreme edge pixels of the text characters and identified edges; erasing the existing text string by replacing text pixels with background-colored pixels; and inserting a personalized text string into the location of the erased text according to the calculated 3D curved surface geometry and camera geometry. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer-implemented method for placing personalized text onto a curved surface in an image, comprising:
-
bounding a region on a curved surface in the image; segmenting an existing text string in the bounded region; detecting upper and lower extreme edge pixels of text characters represented by connected components in the bounded region; identifying an edge at each side of the curved surface; calculating 3D curved surface geometry and camera geometry; replacing existing text pixels in the bounded region with background-colored pixels; and inserting a personalized text string into the bounded region according to the calculated 3D curved surface geometry and camera geometry. - View Dependent Claims (21)
-
Specification