# US 2003/0068086 A1 · Image processing method, system, computer program and data carrier

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

- Number: US 2003/0068086 A1
- Document ID: US20030068086A1
- Status: Published application
- Kind: A1
- Application number: 10/062,368
- Filed: 2002-01-31
- Published: 2003-04-10
- Earliest claimed: 2001-10-05
- Assignees: International Business Machines Corporation
- Inventors: Stephen James Todd
- Web page: https://patentgrep.com/patent/US20030068086A1

## CPC

- G06T 7/11: Region-based segmentation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processing system is arranged to process an array of pixels. The array is scanned in a sequential manner, pixel by pixel, each pixel being scanned only once. The resulting scan data is processed to identify pixels which contain image information of significance, and to assign these pixels to an image segment which may contain a number of such pixels. The system provides a data output of summary information pertaining to the segment or segments identified in the image. In this way a segmentation scan is performed which is very efficient and which produces summary information without a further processing step.

## Claims

### Claim 1

A method for processing an image consisting of an array of pixels, the method comprising the steps of:
performing a scan of said array of pixels in a sequential manner, each pixel of said array being scanned once in order to provide pixel data;
identifying, using said pixel data, those pixels of the array which contain image information of significance;
assigning each pixel containing image information of significance to one of at least one image segment, the at least one image segment including a number of contiguous pixels containing image information of significance; and,
providing an image data output including summary information pertaining to the at least one image segment.

### Claim 2 (depends on 1)

The method of claim 1 wherein said step of assigning each pixel further comprises a step of determining, for each pixel containing image information of significance, whether there is at least one contiguous pixel assigned to a segment, in order to determine to which of said at least one segment that pixel shall be assigned.

### Claim 3 (depends on 2)

The method of claim 2 further comprising the step of selectively merging at least two segments to form a single segment in dependence upon whether one pixel containing image information of significance is contiguous with at least two pixels each assigned to a different one of said at least two segments.

### Claim 4 (depends on 3)

The method of claim 3 wherein said step of determining is performed using a buffer register arranged to store segment information for previously scanned pixels of the array.

### Claim 5 (depends on 4)

The method of claim 4 wherein the at least one contiguous assigned pixel is above a pixel in the array.

### Claim 6 (depends on 5)

The method of claim 5 wherein the at least one contiguous assigned pixel is to the left of a pixel in the array.

### Claim 7 (depends on 6)

The method of claim 6 wherein a register is kept of the at least one image segment, the register being arranged to record summation information and location information regarding the at least one segment.

### Claim 8 (depends on 7)

The method of claim 7 wherein the image represents human computer input.

### Claim 9

An image processing system for processing an image consisting of an array of pixels, said system comprising:
scanning means for scanning said array of pixels in a sequential manner, said scanning means being arranged to scan each pixel of said array once in order to provide pixel data; and
processing means for processing said pixel data to identify those pixels of said array which contain image information of significance; said processing means being further arranged to assign each pixel containing image information of significance to one of at least one image segment, said at least one image segment including a number of contiguous pixels containing image information of significance;
wherein said processing means provides a data output of summary information pertaining to said at least one image segment.

### Claim 10 (depends on 9)

The system of claim 9 wherein the processing means determines whether each pixel containing image information of significance has at least one contiguous pixel assigned to a segment, in order to determine to which of the at least one segment the pixel shall be assigned.

### Claim 11 (depends on 10)

The system of claim 10 wherein at least two segments are selectively merged to form a single segment in dependence upon whether one pixel containing image information of significance is contiguous with at least two pixels each assigned to a different one of the at least two segments.

### Claim 12 (depends on 11)

The system of claim 11 wherein the segment information of the at least one contiguous assigned pixel is determined using a buffer register which stores segment information for the pixels of the previous line.

### Claim 13 (depends on 12)

The system of claim 12 wherein the at least one contiguous assigned pixel is above a pixel in the array.

### Claim 14 (depends on 13)

The system of claim 13 wherein the at least one contiguous assigned pixel is to the left of a pixel in the array.

### Claim 15 (depends on 14)

The system of claim 14 wherein a register is kept of the at least one image segment, the register including cumulative pixel value and segment location information regarding the at least one segment.

### Claim 16 (depends on 15)

The system of claim 15 wherein the register is further arranged to include x-axis and y-axis cumulative coordinate values of the at least one segment.

### Claim 17 (depends on 16)

The system of claim 16 wherein the x-axis and y-axis cumulative coordinate values include x-axis*x-axis, x-axis*y-axis, and y-axis*y-axis summation values.

### Claim 18 (depends on 17)

The system of claim 17 wherein the addition of a pixel to one of the at least one segment includes the assimilation of coordinate values for the pixel into the registers for the one of the at least one segment.

### Claim 19 (depends on 18)

The system of claim 18 wherein the at least one segment comprises at least two segments, and wherein the merging of two of the at least two segments includes the assimilation of corresponding coordinate values for the two of the at least two segments into the coordinate values of a single merged segment.

### Claim 20 (depends on 19)

The system of claim 19 wherein the summation information and location information regarding the at least one segment are used after a complete scan to compute the centre and size of the at least one segment.

### Claim 21 (depends on 20)

The system of claim 20 wherein additional coordinate values are used to compute shape and orientation approximations for the at least one segment.

### Claim 22 (depends on 21)

The system of claim 21 wherein the image represents human computer input.

### Claim 23

A computer program for processing an image consisting of an array of pixels, said program comprising:
scanning means for scanning said array of pixels in a sequential manner, said scanning means being arranged to scan each pixel of said array once in order to provide pixel data; and
processing means for processing said pixel data to identify those pixels of said array which contain image information of significance; said processing means being further arranged to assign each pixel containing image information of significance to one of at least one image segment, said at least one image segment including a number of contiguous pixels containing image information of significance;
wherein said processing means provides a data output of summary information pertaining to said at least one image segment.

### Claim 24 (depends on 23)

A carrier containing a computer program as claimed in claim 23.
