Hybrid seam carving and scaling of images with configurable carving tolerance
First Claim
1. A system, comprising:
- one or more processors; and
a memory coupled to the one or more processors and storing program instructions executable by the one or more processors to implement;
in response to initiation of a single hybrid resizing operation to be performed on an image;
accessing data representing the image;
determining a respective energy value for each pixel of the image dependent on a value associated with each pixel;
identifying a seam of the image having a lowest cost, wherein the cost of the seam is dependent on the respective energy values of pixels of the seam;
performing a resizing operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises applying a seam carving technique;
repeating said identifying and said performing for a next lowest cost seam until a specified portion of the single hybrid resizing operation for the image is achieved by the resized version of the image; and
applying a scaling technique to at least a portion of the resized version of the image to produce a further resized version of the image.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for expansion and reduction of images uses a hybrid resizing technique combining seam carving and image scaling techniques to reduce or expand an input image. Seam carving techniques may be used to remove or add seams of the image to perform a portion of an overall resizing operation, according to a configurable seam carving tolerance. For example, the technique may only remove and/or replicate a predetermined number or percentage of the lowest-cost seams of the image, or may only remove or replicate the number of low-cost seams needed to achieve a specified percentage of the target resizing operation. The hybrid technique may apply scaling techniques to further resize the image to achieve a target size and/or ratio for the resized image. The hybrid technique may be implemented by program instructions of an image editing application, and the seam carving tolerance may be configurable by a user.
-
Citations
35 Claims
-
1. A system, comprising:
-
one or more processors; and a memory coupled to the one or more processors and storing program instructions executable by the one or more processors to implement; in response to initiation of a single hybrid resizing operation to be performed on an image; accessing data representing the image; determining a respective energy value for each pixel of the image dependent on a value associated with each pixel; identifying a seam of the image having a lowest cost, wherein the cost of the seam is dependent on the respective energy values of pixels of the seam; performing a resizing operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises applying a seam carving technique; repeating said identifying and said performing for a next lowest cost seam until a specified portion of the single hybrid resizing operation for the image is achieved by the resized version of the image; and applying a scaling technique to at least a portion of the resized version of the image to produce a further resized version of the image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable storage medium, storing program instructions computer-executable to implement:
in response to initiation of a single hybrid resizing operation to be performed on an image; accessing data representing the image; determining a respective energy value for each pixel of the image dependent on a value associated with each pixel; identifying a seam of the image having a lowest cost, wherein the cost of the seam is dependent on the respective energy values of pixels of the seam; performing a resizing operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises applying a seam carving technique; repeating said identifying and said performing for a next lowest cost seam until a specified portion of the single hybrid resizing operation for the image is achieved by the resized version of the image; and applying a scaling technique to at least a portion of the resized version of the image to produce a further resized version of the image. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
25. A computer-implemented method, comprising:
in response to initiation of a single hybrid resizing operation to be performed on an image; accessing data representing the image; determining a respective energy value for each pixel of the image dependent on a value associated with each pixel; identifying a seam of the image having a lowest cost, wherein the cost of the seam is dependent on the respective energy values of pixels of the seam; performing a resizing operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises applying a seam carving technique; repeating said identifying and said performing for a next lowest cost seam until a specified portion of the single hybrid resizing operation for the image is achieved by the resized version of the image; and applying a scaling technique to at least a portion of the resized version of the image to produce a further resized version of the image. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
Specification