# US 2009/0263041 A1 · Block Based 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/0263041 A1
- Document ID: US20090263041A1
- Status: Published application
- Kind: A1
- Application number: 12/104,427
- Filed: 2008-04-16
- Published: 2009-10-22
- Earliest claimed: 2008-04-16
- Assignees: Microsoft Corporation
- Inventors: Aaron R. Lahman; Anish Mohan; Mariyan D. Fransazov
- Web page: https://patentgrep.com/patent/US20090263041A1

## CPC

- G06T 5/20: using local operators
- G06V 10/7515: {Shifting the patterns to accommodate for positional errors}
- G06V 30/242: Division of the character sequences into groups prior to recognition; Selection of dictionaries
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Block based image processing techniques are described in which one or more processing filters are applied to an image block by block. One or more filters are identified to process an image. Attributes are obtained that describe the one or more filters. Image data is loaded into multiple input blocks based upon the obtained attributes. The one or more filters are applied to the image block by block. The results of the processing may be stored as multiple processed blocks corresponding to the multiple input blocks. Then, the processed blocks are stitched together to form a processed image.

## Claims

### Claim 1

A method comprising:
identifying one or more filters to process an image;
obtaining attributes describing the one or more filters;
loading image data into a plurality of blocks according to the attributes;
applying the one or more filters block by block to form processed blocks from the plurality of blocks; and
stitching the processed blocks together according to the attributes to form a processed image.

### Claim 2 (depends on 1)

A method as recited in claim 1, further comprising determining a block size for the plurality of blocks based upon a tunable memory parameter input by a user.

### Claim 3 (depends on 1)

A method as recited in claim 1, wherein the loading includes overlapping image data in the plurality of blocks based upon the attributes.

### Claim 4 (depends on 1)

A method as recited in claim 1, wherein the stitching includes discarding invalid image data in the processed blocks based upon the attributes.

### Claim 5 (depends on 1)

A method as recited in claim 1, wherein the image is generated by a device driver for output to a corresponding peripheral device.

### Claim 6 (depends on 1)

A method as recited in claim 1, wherein the image is generated by a printer driver for output to a corresponding printing device.

### Claim 7 (depends on 1)

A method as recited in claim 1, wherein:
the plurality of blocks are loaded to input surfaces defined in memory of a computing device; and
the processed blocks are stored to output surfaces defined in the memory.

### Claim 8 (depends on 1)

A method as recited in claim 1, wherein loading the image data into a plurality of blocks includes:
loading the image as successive scan lines; and
loading image data from each of the successive scan lines into the plurality of blocks.

### Claim 9 (depends on 8)

A method as recited in claim 8, wherein a size of the plurality of blocks is selected as between approximately 10 to 100 times smaller than a length of the scan lines.

### Claim 10 (depends on 1)

A method as recited in claim 1, further comprising:
performing the loading and applying on successive scan lines of the image;
determining that available memory is insufficient to load the scan lines as a whole; and
dividing the scan lines into two or more portions to enable the loading and the applying.

### Claim 11 (depends on 1)

A method as recited in claim 1, wherein the attributes describe at least one of:
an amount of buffer space used by the one or more filters;
arrangement of valid and invalid data in blocks output from the one or more filters;
an overlap parameter to describe overlapping of data in the plurality of blocks for processing by the one or more filter.

### Claim 12 (depends on 1)

A method as recited in claim 1, wherein the one or more filters are maintained in a filter database that relates the one or more filters to the attributes.

### Claim 13

One or more computer-readable media comprising instructions that are stored thereon and are executable on a computing device to:
determine a block size for processing an image;
receive a selection of filters to apply to process the image;
obtain attributes describing the filters; and
process the image with the filters as a plurality of blocks of the determined size based upon the attributes.

### Claim 14 (depends on 13)

One or more computer-readable media as recited in claim 13, wherein the block size is defined by a tunable memory parameter input by a user.

### Claim 15 (depends on 13)

One or more computer-readable media as recited in claim 13, further comprising instructions to:
load the image into the plurality of blocks according to the attributes;
apply the one or more filters to each of the plurality of blocks to form a plurality of processed blocks;
stitch of the plurality of processed blocks together according to the attributes to form the processed image.

### Claim 16 (depends on 13)

One or more computer-readable media as recited in claim 13, further comprising instructions to:
compare each of the plurality of blocks of the image to a corresponding block of a reference image;
generate data indicative of differences between the image and the reference image based upon the comparison.

### Claim 17 (depends on 16)

One or more computer-readable media as recited in claim 16, wherein the image is generated by a device driver for output to a corresponding peripheral device, and the comparison to the reference image is performed to verify image processing that is performed by the device driver.

### Claim 18

A computing device comprising:
a processor;
a memory; and
one or more modules stored in the memory and executable via the processor to:
identify one or more filters to compare an image to a reference image;
obtain attributes describing the one or more filters;
process the image and the reference image block by block with the one or more filters based upon the obtained attributes;
compare each block of the image to a corresponding block of the reference image;
identify differences between the image and the reference image based upon the comparison; and
generate data indicative of the identified differences.

### Claim 19 (depends on 18)

A computing device as recited in claim 18, wherein the image is a print job produced by a printer driver for output to a corresponding printer and the reference image is a print job created by a prior version of the printer driver.

### Claim 20 (depends on 18)

A computing device as recited in claim 18, wherein the data indicative of the identified differences comprises a number to indicate on a relative scale how closely the image matches the reference image.
