# US 2013/0279598 A1 · Method and Apparatus For Video Compression of Stationary Scenes

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

- Number: US 2013/0279598 A1
- Document ID: US20130279598A1
- Status: Published application
- Kind: A1
- Application number: 13/651,458
- Filed: 2012-10-14
- Published: 2013-10-24
- Earliest claimed: 2011-10-14
- Inventors: Ryan G. Gomes
- Web page: https://patentgrep.com/patent/US20130279598A1

## CPC

- H04N 19/23: with coding of regions that are present throughout a whole video segment, e.g. sprites, background or mosaic
- H04N 19/61: in combination with predictive coding
- H04N 19/87: involving scene cut or scene change detection in combination with video compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present system provides a method and apparatus for video compression of stationary scenes. These scenes may be taken by a fixed or temporarily fixed camera, such as, for example, a security camera. In theory, a stationary scene has a static background upon which objects move. However, due to environmental conditions, such as sun position, lighting changes, wind and weather, clouds, fog, and the like, the background is not consistently static. The system provides a dynamic and adaptive Scene Model to allow the subtraction of the static portions of a scene under a plurality of conditions, providing the bandwidth and storage capacity to record moving objects with higher fidelity at lower storage cost than prior art systems. In an alternate embodiment, the system uses Perceptual Filtering as a preliminary step to coding, significantly reducing the amount of data to be compressed at high fidelity.

## Claims

### Claim 1

A method for compressing an image comprising:
Receiving an image region from an input image;
Determining if the image region is classified as a Background Region;
For an image region characterized as a Background Region;
Calculating a reconstruction error for the image region;
Comparing the error to a threshold;
Continuing to classify the image region as a Background Region when the error is below the threshold;
Changing the classification of the image region when the error is above the threshold.

### Claim 2 (depends on 1)

The method of claim 1 further including:
For an image region not classified as a Background Block;
Calculating a reconstruction error for the image region;
Comparing the error to a threshold;
Maintaining the classification as not a Background Region when the error is above the threshold;
Changing the classification of the image region when the error is below the threshold.

### Claim 3 (depends on 2)

The method of claim 2 wherein an image region that is not a Background Region is an Anomaly Region.

### Claim 4 (depends on 1)

The method of claim 1 further including the use of a Scene Model to class if Background Regions.

### Claim 5 (depends on 4)

The method of claim 4 wherein the Scene Model represents a variability associated with the background of an image.

### Claim 6 (depends on 5)

The method of claim 5 wherein the image represents a frame of video.

### Claim 7 (depends on 6)

The method of claim 6 wherein the image is of a stationary scene.

### Claim 8 (depends on 1)

The method of claim 1 wherein Background Regions are ignored in a compression process.

### Claim 9 (depends on 1)

The method of claim 1 wherein the image region is a pixel.

### Claim 10 (depends on 1)

The method of claim 1 wherein the image region is a macroblock.

### Claim 11

A method of compressing an image comprising:
Receiving an image region from an input image;
Comparing the image region to a reference image to identify a difference value;
Setting a change mask to a first value when the difference value is below a threshold value;
Setting the change mask to a second value when the difference value is above a threshold value.

### Claim 12 (depends on 11)

The method of claim 11 further including:
For an image region having a change mask of the second value;
Comparing the image region to a prior corresponding macroblock to generate a second difference value;
Updating a count when the second difference value is above a threshold value;
Updating a replace mask value when the count is above a threshold count value.

### Claim 13 (depends on 12)

The method of claim 12 wherein the first change mask value represents a Background Region.

### Claim 14 (depends on 13)

The method of claim 13 wherein the second change mask value represents an Anomaly Region.

### Claim 15 (depends on 14)

The method of claim 14 wherein the updated replace mask value represents an image region that is now a Background Region.

### Claim 16 (depends on 15)

The method of claim 15 wherein the system uses a Perceptual Filter to classify the image region.

### Claim 17 (depends on 11)

The method of claim 11 wherein the image region is a pixel.

### Claim 18 (depends on 11)

The method of claim 11 wherein the image region is a macroblock.
