SEAM CARVING FOR IMAGE RESIZING
First Claim
1. A method for modifying an input digital image having input dimensions defined by a number of input rows and input columns to form an output digital image where the number of rows or columns is reduced by one, comprising using a processor to perform the steps of:
- a) selecting either a horizontal seam direction to remove a row or a vertical seam direction to remove a column;
b) determining an image energy map for the input image;
c) defining a gradient threshold;
d) determining a seam path responsive to the image energy map, where the seam path is constrained such 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; and
e) determining an output digital image by removing pixels along the seam path.
10 Assignments
0 Petitions
Accused Products
Abstract
A method for modifying an input digital image having input dimensions defined by a number of input rows and input columns to form an output digital image where the number of rows or columns is reduced by one, comprising an image energy map determined from the input image; determining a seam path responsive to the image energy map; imposing constraints on the seam path; and removing pixels along the seam path to modify the input digital image.
-
Citations
10 Claims
-
1. A method for modifying an input digital image having input dimensions defined by a number of input rows and input columns to form an output digital image where the number of rows or columns is reduced by one, comprising using a processor to perform the steps of:
-
a) selecting either a horizontal seam direction to remove a row or a vertical seam direction to remove a column; b) determining an image energy map for the input image; c) defining a gradient threshold; d) determining a seam path responsive to the image energy map, where the seam path is constrained such 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; and e) determining an output digital image by removing pixels along the seam path. - View Dependent Claims (4, 5, 6, 7, 8, 9)
-
- 2. The method of claim I where step e) includes modifying the output digital image pixels in a neighborhood near the seam path using the values of the removed pixels.
-
10. A system comprising:
-
a data processing system; and a memory system communicatively connected to the data processing system and storing instructions configured to cause the data processing system to implement a method for modifying an input digital image having input dimensions defined by a number of input rows and input columns to form an output digital image where the number of rows or columns is reduced by one, wherein the instructions comprise; a) selecting either a horizontal seam direction to remove a row or a vertical seam direction to remove a column; b) determining an image energy map for the input image; c) defining a gradient threshold; d) determining a seam path responsive to the image energy map, where the seam path is constrained such 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; and e) determining an output digital image by removing pixels along the seam path.
-
Specification