Variable seam replication in images with energy-weighted priority
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;
accessing data representing an 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; and
performing an expansion operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises replicating the identified seam a number of times, wherein the number of times that the identified seam is replicated is dependent on a respective one of a plurality of replication factors, wherein each of the plurality of replication factors indicates the number of times that one or more seams are to be replicated in response to being identified for an expansion operation.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for expansion and reduction of images uses variable seam replication to expand an image. Seam carving techniques may be used to identify one or more low-cost seams of an input image, and these low-cost seams may be replicated to produce a resized version of the image. A different replication factor may be applied to different ones of the low-cost seams, dependent on the average or total energy value of each seam. For example, the lowest cost seam may be replicated twice as many times as the next lowest cost seam. The replication factor applied to each seam may be dependent on the number of low-cost seams identified for replication, which may be configurable by users. A configurable look-up table may map seam costs to replication factors, and may be accessed to determine a respective replication factor to be applied to each of the identified low-cost seams.
64 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; accessing data representing an 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; and performing an expansion operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises replicating the identified seam a number of times, wherein the number of times that the identified seam is replicated is dependent on a respective one of a plurality of replication factors, wherein each of the plurality of replication factors indicates the number of times that one or more seams are to be replicated in response to being identified for an expansion operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable storage medium, comprising program instructions computer-executable to implement:
-
accessing data representing an 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; and performing an expansion operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises replicating the identified seam a number of times, wherein the number of times that the identified seam is replicated is dependent on a respective one of a plurality of replication factors, wherein each of the plurality of replication factors indicates the number of times that one or more seams are to be replicated in response to being identified for an expansion operation. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A computer-implemented method, comprising:
-
accessing data representing an 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; and performing an expansion operation on the image along the identified seam to produce a resized version of the image, wherein said performing comprises replicating the identified seam a number of times, wherein the number of times that the identified seam is replicated is dependent on a respective one of a plurality of replication factors, wherein each of the plurality of replication factors indicates the number of times that one or more seams are to be replicated in response to being identified for an expansion operation. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
Specification