# US 2010/0073402 A1 · Method of automatic cropping

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0073402 A1
- Document ID: US20100073402A1
- Status: Published application
- Kind: A1
- Application number: 12/235,282
- Filed: 2008-09-22
- Published: 2010-03-25
- Earliest claimed: 2008-09-22
- Assignees: International Business Machines Corporation
- Inventors: David J. Delia; Wayne M. Delia
- Web page: https://patentgrep.com/patent/US20100073402A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for rectangular cropping including the steps of: (i) providing a sequence of images on a graphical interface device; (ii) analyzing each pixel in the first image included in the sequence of images; (iii) locating a boundary between the background of the first image and the border of the first image; (iv) determining the degree off true horizontal of the first image; (v) rotating the first image based on the determining step; (vi) applying a cropping operation to the first image; and (vii) automatically applying the cropping operation to each other image in the sequence of images.

## Claims

### Claim 1

A method of processing digital images, the method comprising the steps of:
providing user input devices, an image processing program, a display and an initial raw digital image;
determining an outer boundary of the initial raw digital image;
displaying the initial raw digital image on the display;
manually cropping, by a human user, the initial raw digital image using the image processing program and the input devices to form an initial processed image;
defining a dynamic template based upon the outer boundary determined at the determining step and the cropping performed by the human user at the cropping step;
selecting at least one additional raw digital image; and
automatically cropping the at least one additional raw digital image(s) based upon the dynamic template to form at least one additional processed image(s).

### Claim 2 (depends on 1)

The method of claim 1 wherein:
the initial raw digital image is in the shape of a rectangle; and
the outer boundary determined by the determining step is in the shape of a rectangle.

### Claim 3 (depends on 2)

The method of claim 2 wherein the determining step comprises the sub-steps of:
analyzing each pixel in the initial raw digital image; and
locating the outer boundary between a background of the initial raw digital image and the outer edges of an object in the raw initial digital image.

### Claim 4 (depends on 1)

The method of claim 1 wherein the defining step comprises the sub-steps of:
calculating a border between the outer boundary determined by the determining step and crop lines selected by the human user at the manual cropping step; and
adjusting the dynamic template based on the border determined at the calculating sub-step.

### Claim 5 (depends on 4)

The method of claim 4 wherein the automatically cropping step includes the sub-steps of:
determining an outer boundary of the at least one additional raw digital image; and
cropping the at least one additional raw digital image(s) based upon the dynamic template, as adjusted at the adjusting sub-step, to form at least one additional processed image with a border similar to the border selected by the human user with respect to the initial raw digital image.

### Claim 6 (depends on 1)

The method of claim 1 further comprising the step of:
prior to the determining step, auto straightening the initial raw digital image.

### Claim 7 (depends on 1)

The method of claim 1 wherein:
at the manually cropping step, the human user manually crops the initial raw digital image to form an initial processed image in the shape of a rectangle; and
at the automatically cropping step, the dynamic template crops the at least one additional raw digital image(s) to form at least one additional processed image in the shape of a rectangle.

### Claim 8 (depends on 7)

The method of claim 7 further comprising the step of:
prior to the automatically cropping step, auto straightening the additional raw digital image.

### Claim 9 (depends on 1)

The method of claim 1 further comprising the steps of:
prior to the manually cropping step, selecting a batch of digital images including the initial raw image and a plurality of additional raw digital images; and
automatically repeating the automatically cropping step for each additional raw digital image to respectively form a corresponding additional processed image based upon the dynamic template.

### Claim 10

An image processing module comprising:
a graphical user interface sub-module programmed and/or structured to display image processing data on a visual display and to receive image editing data from human users through at least one user input device(s);
a pattern recognition sub-module programmed and/or structured to determine an outer boundary of an initial raw digital image;
a cropping sub-module programmed and/or structured to perform manual cropping on the initial raw digital image based on crop lines input by the human user through the graphical user interface sub-module; and
a dynamic template sub-module programmed and/or structured to define a dynamic template based upon the outer boundary determined by the pattern recognition sub-module and the cropping performed by the cropping sub-module;
wherein the cropping sub-module is further programmed and/or structured to automatically crop at least one additional raw digital image(s) based upon the dynamic template to form at least one additional processed image(s).

### Claim 11 (depends on 10)

The module of claim 10 wherein the pattern recognition sub-module is further programmed and/or structured to determine a rectangular outer boundary in the initial raw digital image, with a shape of the initial raw digital image also being rectangular.

### Claim 12 (depends on 11)

The module of claim 11 wherein the pattern recognition sub-module is further programmed and/or structured to analyze each pixel in the initial raw digital image and to locate the outer boundary between a background of the initial raw digital image and the outer edges of an object in the raw initial digital image.

### Claim 13 (depends on 10)

The module of claim 10 wherein the pattern recognition sub-module is further structured and/or programmed to calculate a border between the outer boundary and the crop lines input by the human user and to adjust the dynamic template based on the calculated border.

### Claim 14 (depends on 13)

The module of claim 13 wherein the cropping sub-module is further programmed and/or structured to determine an outer boundary of each of the at least one additional raw digital image(s) and to automatically crop each of the at least one additional raw digital image(s) based upon the dynamic template to form at least one additional processed image(s) with a border similar to the calculated border.

### Claim 15 (depends on 10)

The module of claim 10 further comprising an auto straightening sub-module programmed and/or structured to auto straighten the initial raw digital image and each of the at least one additional raw digital image(s).

### Claim 16 (depends on 10)

The module of claim 10 further comprising a batch processing sub-module programmed and/or structured to allow the human user to select a batch of digital images including the initial raw image and a plurality of additional raw digital images and to control the cropping sub-module to automatically crop each of the plurality of additional raw digital images based upon the dynamic template to form a plurality additional processed image(s).

### Claim 17

A computer readable medium having recorded thereon in computer readable form image processing software comprising:
a graphical user interface software portion programmed to display image processing data on a visual display and to receive image editing data from human users through at least one user input device(s);
a pattern recognition software portion programmed to determine an outer boundary of an initial raw digital image;
a cropping software portion programmed to perform manual cropping on the initial raw digital image based on crop lines input by the human user through the graphical user interface software portion; and
a dynamic template software portion programmed to define a dynamic template based upon the outer boundary determined by the pattern recognition software portion and the cropping performed by the cropping software portion;
wherein the cropping software portion is further programmed to automatically crop at least one additional raw digital image(s) based upon the dynamic template to form at least one additional processed image(s).

### Claim 18 (depends on 17)

The medium of claim 17 wherein the pattern recognition software portion is further programmed to determine a rectangular outer boundary in the initial raw digital image, with a shape of the initial raw digital image also being rectangular.

### Claim 19 (depends on 18)

The medium of claim 18 wherein the pattern recognition software portion is further programmed to analyze each pixel in the initial raw digital image and to locate the outer boundary between a background of the initial raw digital image and the outer edges of an object in the raw initial digital image.

### Claim 20

A method of processing digital images, the method comprising the steps of:
providing user input devices, an image processing program, a display and an initial raw digital image;
identifying a variable co-ordinate feature in the initial raw digital image;
manually cropping, by a human user, the initial raw digital image using the image processing program and the input devices to form an initial processed image;
defining a dynamic template based upon the spatial relationship between the variable co-ordinate feature and the cropping performed by the human user at the cropping step;
selecting at least one additional raw digital image(s); and
automatically cropping the at least one additional raw digital image based upon the dynamic template to form at least one additional processed image(s).
