# US 2021/0287402 A1 · Systems and methods for calibrating image capturing modules

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

- Number: US 2021/0287402 A1
- Document ID: US20210287402A1
- Status: Published application
- Kind: A1
- Application number: 16/816,525
- Filed: 2020-03-12
- Published: 2021-09-16
- Earliest claimed: 2020-03-12
- Assignees: BNSF Railway Company
- Applicants: BNSF Railway Company
- Inventors: Darrell R. Krueger; Garrett Smitley
- Web page: https://patentgrep.com/patent/US20210287402A1

## CPC

- G06T 7/80: Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
- H04N 17/002: {for television cameras}
- G01C 25/00: Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass (testing, calibrating or compensating compasses G01C17/38)
- G06T 7/97: {Determining parameters from multiple pictures (depth or shape recovery from multiple images G06T7/55; stereo camera calibration G06T7/85)}
- G06T 2207/30252: Vehicle exterior; Vicinity of vehicle
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)

## Abstract

In one embodiment, a method includes capturing, by a camera of an image capturing module, a first image of a target. The image capturing module and a drum are attached to a fixture and the target is attached to the drum. The method also includes determining a number of lateral pixels in a lateral pitch distance of the image of the target, determining a lateral object pixel size based on the number of lateral pixels, and determining a drum encoder rate based on the lateral object pixel size. The drum encoder rate is programmed into a drum encoder. The method further includes capturing, by the camera, a second image of the target while the target is rotated about an axis of the drum, determining a number of longitudinal pixels in a longitudinal pitch distance of the second image, and comparing the number of lateral pixels to the number of longitudinal pixels.

## Claims

### Claim 1

A method, comprising:
capturing, by a camera of an image capturing module, a first image of a target, wherein:
the image capturing module and a drum are attached to a fixture; and
the target is attached to the drum;
determining a number of lateral pixels in a lateral pitch distance of the image of the target;
determining a lateral object pixel size based on the number of lateral pixels;
determining a drum encoder rate based on the lateral object pixel size, wherein the drum encoder rate is programmed into a drum encoder attached to the drum;
capturing, by the camera of the image capturing module, a second image of the target while the target is rotated about an axis of the drum;
determining a number of longitudinal pixels in a longitudinal pitch distance of the second image; and
comparing the number of lateral pixels to the number of longitudinal pixels.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, in response to comparing the number of lateral pixels to the number of longitudinal pixels, that the number of lateral pixels matches the number of longitudinal pixels; and
calculating a vehicle encoder rate based on the drum encoder rate.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
programming the vehicle encoder rate into a vehicle encoder attached to a wheel of a vehicle; and
capturing, by the camera of the image capturing module, images of a second target, wherein:
the image capturing module is attached to the vehicle; and
the second target is attached to a roadway.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, in response to comparing the number of lateral pixels to the number of longitudinal pixels, that the number of lateral pixels is different from the number of longitudinal pixels;
adjusting the drum encoder rate to an adjusted drum encoder rate;
programming the adjusted drum encoder rate into the drum encoder;
capturing, by the camera of the image capturing module, a third image of the target while the target is rotated about an axis of the drum;
determining a number of longitudinal pixels in a longitudinal pitch distance of the third image; and
comparing the number of lateral pixels to the number of longitudinal pixels in the longitudinal pitch distance of the third image.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
focusing the camera of the image capturing module on the target under constant lighting conditions; and
obtaining a maximum contrast between two pixels that identify a boundary of light and dark portions of the target.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the drum encoder rate is a number of electrical pulses generated by the drum encoder in one revolution of a shaft of the drum encoder; and
the drum encoder rate is calculated using a circumference of the drum and the lateral object pixel size.

### Claim 7 (depends on 1)

The method of claim 1, wherein:
the target is a checkerboard pattern comprising a plurality of black and white squares;
the lateral pitch distance represents a width of one square of the plurality of squares; and
the longitudinal pitch distance represents a length of the one square of the plurality of squares.

### Claim 8

A system, comprising:
a fixture;
a drum attached to the fixture;
a target attached to the drum;
a drum encoder attached to the drum;
an image capturing module attached to the fixture, wherein the image capturing module comprises a camera and the camera is operable to:
capture a first image of the target; and
capture a second image of the target while the target is rotated about an axis of the drum; and
one or more controllers communicatively coupled to the drum encoder and the camera, wherein the one or more controllers are operable to:
determine a number of lateral pixels in a lateral pitch distance of the image of the target;
determine a lateral object pixel size based on the number of lateral pixels;
determine a drum encoder rate based on the lateral object pixel size, wherein the drum encoder rate is programmed into a drum encoder attached to the drum;
determine a number of longitudinal pixels in a longitudinal pitch distance of the second image; and
compare the number of lateral pixels to the number of longitudinal pixels.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more controllers are further operable to:
determine, in response to comparing the number of lateral pixels to the number of longitudinal pixels, that the number of lateral pixels matches the number of longitudinal pixels; and
calculate a vehicle encoder rate based on the drum encoder rate.

### Claim 10 (depends on 9)

The system of claim 9, wherein:
the one or more controllers are further operable to program the vehicle encoder rate into a vehicle encoder attached to a wheel of a vehicle; and
the camera of the image capturing module is further operable to capture images of a second target, wherein:
the image capturing module is attached to the vehicle; and
the second target is attached to a roadway.

### Claim 11 (depends on 8)

The system of claim 8, wherein one or more controllers are further operable to:
determine, in response to comparing the number of lateral pixels to the number of longitudinal pixels, that the number of lateral pixels is different from the number of longitudinal pixels;
adjust the drum encoder rate to an adjusted drum encoder rate;
program the adjusted drum encoder rate into the drum encoder;
determine a number of longitudinal pixels in a longitudinal pitch distance of a third image captured by the camera of the image capturing module while the target is rotated about an axis of the drum; and
compare the number of lateral pixels to the number of longitudinal pixels in the longitudinal pitch distance of the third image.

### Claim 12 (depends on 8)

The system of claim 8, wherein the camera of the image capturing module is further operable to adjust its focus on the target under constant lighting conditions to obtain a maximum contrast between two pixels that identify a boundary of light and dark portions of the target.

### Claim 13 (depends on 8)

The system of claim 8, wherein:
the drum encoder rate is a number of electrical pulses generated by the drum encoder in one revolution of a shaft of the drum encoder; and
the drum encoder rate is calculated using a circumference of the drum and the lateral object pixel size.

### Claim 14 (depends on 8)

The system of claim 8, wherein:
the target is a checkerboard pattern comprising a plurality of black and white squares;
the lateral pitch distance represents a width of one square of the plurality of squares; and
the longitudinal pitch distance represents a length of the one square of the plurality of squares.

### Claim 15

One or more computer-readable storage media embodying instructions that, when executed by a processor, cause the processor to perform operations comprising:
capturing, by a camera of an image capturing module, a first image of a target, wherein:
the image capturing module and a drum are attached to a fixture; and
the target is attached to the drum;
determining a number of lateral pixels in a lateral pitch distance of the image of the target;
determining a lateral object pixel size based on the number of lateral pixels;
determining a drum encoder rate based on the lateral object pixel size, wherein the drum encoder rate is programmed into a drum encoder attached to the drum;
capturing, by the camera of the image capturing module, a second image of the target while the target is rotated about an axis of the drum;
determining a number of longitudinal pixels in a longitudinal pitch distance of the second image; and
comparing the number of lateral pixels to the number of longitudinal pixels.

### Claim 16 (depends on 15)

The one or more computer-readable storage media of claim 15, the operations further comprising:
determining, in response to comparing the number of lateral pixels to the number of longitudinal pixels, that the number of lateral pixels matches the number of longitudinal pixels; and
calculating a vehicle encoder rate based on the drum encoder rate.

### Claim 17 (depends on 15)

The one or more computer-readable storage media of claim 15, the operations further comprising:
programming the vehicle encoder rate into a vehicle encoder attached to a wheel of a vehicle; and
capturing, by the camera of the image capturing module, images of a second target, wherein:
the image capturing module is attached to the vehicle; and
the second target is attached to a roadway.

### Claim 18 (depends on 15)

The one or more computer-readable storage media of claim 15, the operations further comprising:
determining, in response to comparing the number of lateral pixels to the number of longitudinal pixels, that the number of lateral pixels is different from the number of longitudinal pixels;
adjusting the drum encoder rate to an adjusted drum encoder rate;
programming the adjusted drum encoder rate into the drum encoder;
capturing, by the camera of the image capturing module, a third image of the target while the target is rotated about an axis of the drum;
determining a number of longitudinal pixels in a longitudinal pitch distance of the third image; and
comparing the number of lateral pixels to the number of longitudinal pixels in the longitudinal pitch distance of the third image.

### Claim 19 (depends on 15)

The one or more computer-readable storage media of claim 15, the operations further comprising focusing the camera of the image capturing module on the target under constant lighting conditions to obtain a maximum contrast between two pixels that identify a boundary of light and dark portions of the target.

### Claim 20 (depends on 15)

The one or more computer-readable storage media of claim 15, wherein:
the drum encoder rate is a number of electrical pulses generated by the drum encoder in one revolution of a shaft of the drum encoder; and
the drum encoder rate is calculated using a circumference of the drum and the lateral object pixel size.
