Apparatus and method for cropping an image
First Claim
1. A method of cropping an image, said image being represented as a first digital array of pixel values, said method comprising the steps of:
- a) processing said first digital array to produce a second digital array of pixel values, said processing including applying an edge enhancement transformation to said first digital array;
b) partitioning said second digital array into predetermined segments;
c) summing pixel values for each of said segments to obtain a brightness sum for each of said segments;
d) dividing said segments into first and second groups in accordance with predetermined criteria relating to said brightness sums;
e) identifying a group of said first digital array corresponding to said first group of said second digital array;
f) outputting at least a part of said group of said first digital array to generate a cropped image.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for cropping an image in digital form. The image to be cropped is represented as a first digital array which is operated on by an edge enhancement transformation to generate a second, binary digital array wherein edges of the image are emphasized. The second digital array is then partitioned into predetermined segments which are typically rows and columns of the array and the pixel values of each row and column are summed to generate brightness sums. The second digital array is then partitioned into a first, brighter, central group of rows and a second, less bright group consisting of upper and lower borders of rows; and a third, brighter, central group of column and left and right borders of columns in accordance with predetermined criteria relating to the brightness sums. The boundaries between the borders and the central groups are then applied to the first digital array and only those pixel values corresponding to pixel values common to the first and third groups are output to generate a cropped image.
-
Citations
16 Claims
-
1. A method of cropping an image, said image being represented as a first digital array of pixel values, said method comprising the steps of:
-
a) processing said first digital array to produce a second digital array of pixel values, said processing including applying an edge enhancement transformation to said first digital array; b) partitioning said second digital array into predetermined segments; c) summing pixel values for each of said segments to obtain a brightness sum for each of said segments; d) dividing said segments into first and second groups in accordance with predetermined criteria relating to said brightness sums; e) identifying a group of said first digital array corresponding to said first group of said second digital array; f) outputting at least a part of said group of said first digital array to generate a cropped image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 15)
-
-
10. A method of cropping an image, said image being represented as a first digital array of pixel values, said method comprising the steps of:
-
a) processing said first digital array to produce a second digital array of pixel values, said processing including applying an edge enhancement transformation to said first digital array; b) partitioning said second digital array into predetermined horizontal rows of pixel values; c) summing pixel values for each of said horizontal rows to obtain brightness sums for each of said rows; d) dividing said rows into first and second groups in accordance with predetermined criteria relating to said horizontal row brightness sums; e) partitioning said second digital array into predetermined vertical columns; f) summing pixel values for each of said vertical columns to obtain brightness sums for each of said columns; g) dividing said columns into third and fourth groups in accordance with predetermined criteria relating to said column brightness sums; h) identifying a part of said first digital array corresponding to pixels common to said first and third groups of said second digital array; i) outputting said part of said first digital array to generate a cropped image. - View Dependent Claims (11, 12, 13, 14)
-
-
16. An apparatus for cropping an image, said image being represented as a first digital array of pixel values, said apparatus comprising:
-
a) means for processing said first digital array to produce a second digital array of pixel values, said processing including applying an edge enhancement transformation to said first digital array; b) means for cropping said second digital array to form first and second groups of predetermined segments of said second digital array in accordance with predetermined criteria relating to brightness of said segments; c) means for identifying a group of said first digital array corresponding to said first group of said second digital array; d) means for outputting at least a part of said group of said first digital array to generate a cropped image.
-
Specification