×

Rendering personalized text on curved image surfaces

  • US 8,619,074 B2
  • Filed: 12/10/2010
  • Issued: 12/31/2013
  • Est. Priority Date: 12/10/2010
  • Status: Expired due to Fees
First Claim
Patent Images

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 a 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;

    via a processor, 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, wherein calculating the 3D curved surface geometry and camera geometry comprises generating a 3D central projection pinhole camera model defined as;


    [E,lL,lR]=M(f,{right arrow over (n)},{right arrow over (s)})where E is a projected ellipse, lL is a left edge of the cylinder, lR is a right edge of the cylinder, M is the model that maps a 3D object to its 2D projection on an image plane, f is a focal length from a point of origin to an image plane, {right arrow over (n)} is a normal vector, and {right arrow over (s)} is a shift vector;

    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 to personalize the image, and outputting the personalized image.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×