# US 2013/0155290 A1 · Method and System for Image Centering during Zooming

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

- Number: US 2013/0155290 A1
- Document ID: US20130155290A1
- Status: Published application
- Kind: A1
- Application number: 13/330,511
- Filed: 2011-12-19
- Published: 2013-06-20
- Earliest claimed: 2011-12-19
- Assignees: Pelco
- Inventors: Chien-Min Huang
- Web page: https://patentgrep.com/patent/US20130155290A1

## CPC

- H04N 23/69: Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
- G06T 7/74: {involving reference images or patches}
- G06T 2207/10016: Video; Image sequence
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The methods and systems described herein are directed to image processing. More specifically, the image processing described herein may include centering an object in the field of view during zooming. The image processing methods and systems may further include setting a magnification factor, positioning the camera in a first field of view capturing a first image, setting a second magnification factor, and capturing a second image. Additionally, the described techniques may include altering the first image to determine an offset and adjusting the camera based on the offset.

## Claims

### Claim 1

A method of centering an object in the field of view of a camera during zooming comprising the steps of setting a camera zoom to a first magnification factor so that the camera has a first field of view; positioning the camera so that an object is in a first position in the first field of view; capturing a first image with the camera at the first magnification factor; setting the camera zoom to a second magnification factor so that the camera has a second field of view with the second magnification factor being greater than the first magnification factor; capturing a second image with the camera at the second magnification factor; digitally altering a portion of the first image to create a third image that has a magnification factor equivalent to the second magnification factor; comparing the third image with the second image to determine the offset of the object from the first position of the object to the position of the object in the third image; and adjusting the camera based on the offset determined in the comparing step when the camera is zoomed.

### Claim 2 (depends on 1)

A method as recited in claim 1 wherein the step of positioning the camera so that an object is in a first position in the first field of view comprises positioning the camera so that the object is centered in the first field of view.

### Claim 3 (depends on 1)

A method as recited in claim 1 further comprising capturing a fourth image with the camera at a third magnification factor; digitally altering a portion of the first image to create a fifth image that has a magnification factor equivalent to the third magnification factor, comparing the fifth image with the fourth image to determine the offset of object from the first position of the object to the position of the object in the fourth image; and adjusting the camera based on the offsets determined in the comparing steps.

### Claim 4 (depends on 3)

A method as recited in claim 3 wherein the adjusting step comprises interpolating the offset based on the magnification factor and the offsets determined in the comparing steps.

### Claim 5 (depends on 1)

A method as recited in claim 1 wherein the comparing step comprises choosing a block from the third image containing at least a portion of the object and comparing it to blocks from the second image to determine a block that has a minimal block distance.

### Claim 6 (depends on 1)

A method as recited in claim 1 wherein the adjusting step comprises adjusting the position of the camera.

### Claim 7 (depends on 1)

A method as recited in claim 1 wherein the adjusting step comprises adjusting the position of the image sensor of the camera.

### Claim 8

A system for centering an object in the field of view of a camera comprising:
a camera having a lens with a variable zoom; a lens controller connected to the lens to vary the zoom of the lens; an image sensor, the lens being positioned to provide light rays to the image sensor; an input for receiving an instruction to change the zoom of the lens; and a position controller for moving the camera; and
a processor in communication with the camera to provide signals to the camera and to receive images captured by the camera, the processor being adapted to provide a signal to the lens controller to set the lens zoom to a first magnification factor so that the lens has a first field of view; to provide a signal to the position controller to position the camera so that an object is in a first position in the first field of view; to provide a signal to the camera to capture a first image with the camera at the first magnification factor; to provide a signal to set the camera zoom to a second magnification factor so that the camera has a second field of view with the second magnification factor being greater than the first magnification factor; to provide a signal to the camera to capture a second image with the camera at the second magnification factor; to receive the first image from the camera and to digitally alter a portion of the first image to create a third image that has a magnification factor equivalent to the second magnification factor; to receive the second image and to compare the third image with the second image to determine the offset of the object from the first position of the object to the position of the object in the third image; and to provide a signal to the position controller to adjust the camera based on the offset when the camera is zoomed.

### Claim 9 (depends on 8)

A system as recited in claim 8 wherein the processor is adapted to generate a signal to the position controller to position the camera so that the object is centered in the first field of view.

### Claim 10 (depends on 8)

A system as recited in claim 8 wherein the processor is adapted to generate a signal to the camera to capture a fourth image at a third magnification factor; to digitally alter a portion of the first image to create a fifth image that has a magnification factor equivalent to the third magnification factor, to receive the fourth image and to compare the fifth image with the fourth image to determine the offset of the object from the first position of the object to the position of the object in the fourth image; and to provide a signal to the position controller to adjust the camera based on the offsets determined.

### Claim 11 (depends on 10)

A system as recited in claim 10 wherein the processor is adapted to provide a signal to the position control to adjust the camera position based on interpolating the offset based on the magnification factor and the offsets determined.

### Claim 12

A non-transitory computer readable medium comprising instructions configured to cause a processor to: set a camera zoom to a first magnification factor so that the camera has a first field of view; position the camera so that an object is in a first position in the first field of view; capture a first image with the camera at the first magnification factor; set the camera zoom to a second magnification factor so that the camera has a second field of view with the second magnification factor being greater than the first magnification factor; capture a second image with the camera at the second magnification factor; digitally alter a portion of the first image to create a third image that has a magnification factor equivalent to the second magnification factor; compare the third image with the second image to determine the offset of the object from the first position of the object to the position of the object in the third image; and adjust the camera based on the offset determined when the camera is zoomed.

### Claim 13 (depends on 12)

A non-transitory computer readable medium as recited in claim 12 wherein the instruction to position the camera so that an object is in a first position in the first field of view comprises instructions configured to cause the processor to position the camera so that the object is centered in the first field of view.

### Claim 14 (depends on 12)

A non-transitory computer readable medium as recited in claim 12 further comprising instructions configured to cause the processor to capture a fourth image with the camera at a third magnification factor; digitally alter a portion of the first image to create a fifth image that has a magnification factor equivalent to the third magnification factor, compare the fifth image with the fourth image to determine the offset of object from the first position of the object to the position of the object in the fourth image; and adjust the camera based on the determined offsets.

### Claim 15 (depends on 12)

A non-transitory computer readable medium as recited in claim 12 wherein the instructions to adjust comprise instructions configured to cause the processor to interpolate the offset based on the magnification factor and the offsets determined in the comparison.

### Claim 16 (depends on 12)

A non-transitory computer readable medium as recited in claim 12 wherein the instruction to compare comprise instructions configured to cause the processor to choose a block from the third image containing at least a portion of the object and compare it to blocks from the second image to determine a block that has a minimal block distance.

### Claim 17 (depends on 12)

A non-transitory computer readable medium as recited in claim 12 wherein the instructions to adjust comprise instructions configured to cause the processor to adjust the position of the camera.
