×

COMBINING SEAM CARVING AN IMAGE RESIZING

  • US 20110091132A1
  • Filed: 10/20/2009
  • Published: 04/21/2011
  • Est. Priority Date: 10/20/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method for resizing an input digital image with an input aspect ratio to form an output digital image with an output aspect ratio, comprising using a processor to perform the steps of:

  • a) determining a number of rows or columns that need to be reduced from the input digital image to form an output digital image with the output aspect ratio;

    b) selecting either a horizontal seam direction when the number of rows needs to be reduced or a vertical seam direction when the number of columns needs to be reduced;

    c) determining an image energy map for the input digital image;

    d) defining a gradient threshold;

    e) repeatedly determining a seam path responsive to the image energy map and removing pixels along the determined seam path to determine the output digital image, wherein the determined seam path satisfies a constraint that a directional image gradient computed in a direction perpendicular to either the seam path or the seam direction is less than the gradient threshold for each pixel in the seam path, until either the determined number of rows or columns has been reduced or no valid seam path can be found which satisfies the constraint; and

    f) cropping or scaling the output digital image to the output aspect ratio if the determined number of rows or columns was not reduced in step e).

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