# US 2009/0268988 A1 · Method and apparatus for two dimensional image processing

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

- Number: US 2009/0268988 A1
- Document ID: US20090268988A1
- Status: Published application
- Kind: A1
- Application number: 12/500,554
- Filed: 2009-07-09
- Published: 2009-10-29
- Earliest claimed: 2002-02-14
- Assignees: Cogent Systems, Inc.
- Inventors: Ming Hsieh; Huansheng Xue; Jing Wang; Chunyu Lu
- Web page: https://patentgrep.com/patent/US20090268988A1

## CPC

- G06T 1/60: Memory management
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, the present invention is a system for organizing data flow for two dimensional digital image processing. The system includes a memory access module for accessing an external memory containing image data to be processed, and a data flow organizer module for preparing a data stream from the input image data accessed by the memory access module. The data flow organizer module predicts future data needed for processing, and the memory access module pre-fetches the predicted data from the memory. A data processing module processes the pre-fetched data from the data flow organizer module. Address generation for accessing the memory is performed independent and in parallel with processing the pre-fetched data.

## Claims

### Claim 1

A system for organizing data flow for two-dimensional image processing comprising:
an address engine for generating addresses for reading image data from and writing image data to an external memory, the address engine comprising:
a DMA unit for interfacing with the external memory, and
a data flow organizer module for re-ordering the image data read from the external memory and generating data flows for the image data to be processed; and
a data processing module for processing the image data read from the external memory, wherein
the DMA unit comprises:
a plurality of first read address generation units for generating read addresses for reading the image data from the external memory, and
at least one first write address generation units for generating write addresses for writing the image data to the external memory, and wherein the data flow organizer module comprises:
a cache memory divided into a plurality of virtual memories,
a lookup table for storing function data,
a plurality of second read address generation units for generating read addresses for reading data from the cache memory, each of the second read address generation units corresponding to a respective one of the plurality of virtual memories,
a plurality of second write address generation units for generating write addresses for writing data to the cache memory, each of the second write address generation units corresponding to a respective one of the plurality of virtual memories,
a control and synchronization circuit for ensuring that the data is in the cache memory and push the data to the data processing module, when need, and
a plurality of pointer registers for ensuring that reading each memory cell in the cache memory is performed later than writing to said memory cell.

### Claim 2 (depends on 1)

The system of claim 1, further comprising a plurality of FIFOs to regulate data transfers.

### Claim 3 (depends on 1)

The system of claim 1, wherein the data processing module is a RISC machine.

### Claim 4 (depends on 1)

The system of claim 1, wherein the data processing module includes mode register for controlling the type of data processing to be performed on the image data.

### Claim 5 (depends on 1)

The system of claim 1, wherein the plurality of first read address generation units and first write address generation units perform block scanning.

### Claim 6 (depends on 1)

The system of claim 1, wherein addresses for function data stored in the lookup table is an angle of one or more image attributes and values stored in the addresses are SIN or Tan of respective addresses.

### Claim 7 (depends on 1)

The system of claim 1, wherein each of the plurality of virtual memories corresponds to a respective area and each area includes a first programmable parameter to determine an offset of each area, and a second and a third programmable parameter to determine a size of each area.

### Claim 8 (depends on 7)

The system of claim 7, wherein each of the respective areas stores a different type of data, which has a logical relationship in every corresponding pixel of the image.

### Claim 9 (depends on 8)

The system of claim 8, wherein a first area stores red components of a color image, a second area stores green components of a color image, and a third area stores blue components of a color image.

### Claim 10

The system of claim I, wherein the cache memory is a dual-port RAM.

### Claim 11 (depends on 1)

The system of claim 1, wherein the cache memory is a single-port RAM.

### Claim 12 (depends on 1)

The system of claim 1, further comprising a plurality of control registers for controlling a scan mode of the image.

### Claim 13 (depends on 1)

The system of claim 1, wherein the data processing module comprises:
a plurality of registers for controlling input data flow and output data flow;
a computation unit coupled to some of the a plurality of registers for performing arithmetic and logic calculations
an instruction/data memory coupled to the computation unit for storing instructions and data;
an execution controller for controlling instruction flow and accessing the instruction/data memory; and
a pipeline output interface for controlling flow of the output data.

### Claim 14 (depends on 1)

The system of claim 1, wherein the image data comprises one of the group consisting of fingerprint image data, facial image data, eye iris image data, and retina image data.

### Claim 15

A system for organizing data flow for two-dimensional image processing comprising:
a data flow organizing module configured to predict needed image data in advance, to generate addresses for the needed image data by utilizing spatial locality information about an image stored in an external memory, to retrieve the needed image data from the external memory, to store the image data, and to remove the stored image data after the data is used and is no longer needed; and
a data processing module for processing the stored image data, wherein address generation for accessing the external memory is performed independent and in parallel with processing the pre-fetched data.

### Claim 16 (depends on 15)

The system of claim 15, wherein the data flow organizer module comprises: a cache memory for storing data; a memory table coupled to the cache memory for storing a plurality of image attributes; at least two read address generator units for generating data read address; at least two write address generator units for generating data write address; a multiplexor coupled to the at least two read address generator units and the at least two write address generator units for multiplexing the data read address and data write address; and synchronization logic for synchronizing the at least two read address generator units and the at least two write address generator units responsive to the stored plurality of image attributes.

### Claim 17 (depends on 15)

The system of claim 15, wherein the data processing module comprises:
a plurality of registers for controlling input data flow and output data flow;
a computation unit coupled to some of the a plurality of registers for performing arithmetic and logic calculations
an instruction/data memory coupled to the computation unit for storing instructions and data;
an execution controller for controlling instruction flow and accessing the instruction/data memory; and
a pipeline output interface for controlling flow of the output data.

### Claim 18 (depends on 15)

The system of claim 15, wherein the image data comprises one of the group consisting of fingerprint image data, facial image data, eye iris image data, and retina image data.
