# US 2019/0244061 A1 · Local binary pattern networks methods and systems

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

- Number: US 2019/0244061 A1
- Document ID: US20190244061A1
- Status: Published application
- Kind: A1
- Application number: 16/268,440
- Filed: 2019-02-05
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: The Regents of the University of California
- Applicants: The Regents of the University of California
- Inventors: Rajesh Gupta; Jeng-Hau Lin; Yunfan Yang; Zeyu Chen; Zhuowen Tu
- Web page: https://patentgrep.com/patent/US20190244061A1

## CPC

- G06V 10/50: by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
- G06F 18/211: Selection of the most significant subset of features
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V 30/19173: {Classification techniques}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are devices, systems and methods for providing efficient implementations for pattern recognition. Embodiments of the disclosed technology use local binary comparisons and random projection in place of conventional convolution operations. Some embodiments of the disclosed technology provide an important means to improve memory and speed efficiency that is particularly suited for small footprint devices and hardware accelerators. Other embodiments compare a binary pattern to one or more portions of an input image to determine a plurality of binary results, and generate an estimate of the feature based on the plurality of binary results. Yet other embodiments generate an final image, comprising a final estimate of the feature, by randomly selecting one or more portions from each of a plurality of initial images, wherein each of the plurality of initial images comprises an initial estimate of the feature.

## Claims

### Claim 1

A method for extracting at least one feature of an input image, the method comprising:
determining, based on a comparison between pixels of the input image and a kernel, an intermediate output that includes an initial estimate of the at least one feature of the input image; and
determining, based on selecting one or more values from the intermediate output in a predetermined manner, a final output image that includes a refined estimate of the at least one feature of the input image,
wherein the comparison comprises:
comparing a value of a pixel of the input image that aligns with a center sample of the kernel to one or more values of one or more pixels of the input image that align with predetermined samples of the kernel that are adjacent to the center sample.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
zero-padding the input image such that dimensions of the final output image are equal to dimensions of the input image.

### Claim 3 (depends on 1)

The method of claim 1, wherein the predetermined samples are randomly selected from the samples adjacent to the center sample.

### Claim 4 (depends on 1)

The method of claim 1, wherein the intermediate output comprises a bit vector that includes one or more results of the comparison, and wherein a bit value for an element of the bit vector is set to 1 when the value of the pixel of the input image that aligns with the corresponding predetermined sample of the kernel is greater than the value of the corresponding pixel of the input image that aligns with the center sample.

### Claim 5 (depends on 1)

The method of claim 1, the input image comprises a plurality of channels (Nin), wherein the kernel is one of a plurality of kernels (Nk), and wherein the intermediate output is one of a plurality of intermediate outputs (Nin×Nk).

### Claim 6 (depends on 5)

The method of claim 5, wherein each of the plurality of intermediate outputs is determined for each of the plurality of channels of the input image using a corresponding one of the plurality of kernels.

### Claim 7 (depends on 6)

The method of claim 6, wherein each of the plurality of kernels comprises a distinct configuration for the predetermined samples.

### Claim 8 (depends on 5)

The method of claim 5, wherein the final output image comprises a plurality of output channels (Nout=Nk), and wherein a number of the plurality of intermediate channels (Nin×Nk) is reduced to a number of the plurality of output channels based on a random projection technique.

### Claim 9

A device for extracting at least one feature of an input image, comprising:
a processor; and
a memory that comprises instructions stored thereupon, wherein the instructions when executed by the processor configure the processor to:
determine, based on a comparison between pixels of the input image and a kernel, an intermediate output that includes an initial estimate of the at least one feature of the input image; and
determine, based on selecting one or more values from the intermediate output in a predetermined manner, a final output image that includes a refined estimate of the at least one feature of the input image,
wherein the instructions when executed by the processor further configure the processor, as part of the comparison, to:
compare a value of a pixel of the input image that aligns with a center sample of the kernel to one or more values of one or more pixels of the input image that align with predetermined samples of the kernel that are adjacent to the center sample.

### Claim 10 (depends on 9)

The device of claim 9, wherein the instructions when executed by the processor further configure the processor to:
zero-pad the input image such that dimensions of the final output image are equal to dimensions of the input image.

### Claim 11 (depends on 9)

The device of claim 9, wherein the predetermined samples are randomly selected from the samples adjacent to the center sample.

### Claim 12 (depends on 9)

The device of claim 9, wherein the intermediate output comprises a bit vector that includes one or more results of the comparison, and wherein a bit value for an element of the bit vector is set to 1 when the value of the pixel of the input image that aligns with the corresponding predetermined sample of the kernel is greater than the value of the corresponding pixel of the input image that aligns with the center sample.

### Claim 13 (depends on 9)

The device of claim 9, the input image comprises a plurality of channels, wherein the intermediate output is one of a plurality of intermediate outputs, and wherein the kernel is one of a plurality of kernels.

### Claim 14 (depends on 13)

The device of claim 13, wherein each of the plurality of intermediate outputs is determined for each of the plurality of channels of the input image using a corresponding one of the plurality of kernels.

### Claim 15

A non-transitory computer readable program storage medium having code stored thereon, the code, when executed by a processor, causing the processor to implement a method for extracting at least one feature of an input image, the method comprising:
determining, based on a comparison between pixels of the input image and a kernel, an intermediate output that includes an initial estimate of the at least one feature of the input image; and
determining, based on selecting one or more values from the intermediate output in a predetermined manner, a final output image that includes a refined estimate of the at least one feature of the input image,
wherein the comparison comprises:
comparing a value of a pixel of the input image that aligns with a center sample of the kernel to one or more values of one or more pixels of the input image that align with predetermined samples of the kernel that are adjacent to the center sample.

### Claim 16 (depends on 15)

The non-transitory computer readable program storage medium of claim 15, wherein the method further comprises:
zero-padding the input image such that dimensions of the final output image are equal to dimensions of the input image.

### Claim 17 (depends on 15)

The non-transitory computer readable program storage medium of claim 15, wherein the predetermined samples are randomly selected from the samples adjacent to the center sample.

### Claim 18 (depends on 15)

The non-transitory computer readable program storage medium of claim 15, wherein the intermediate output comprises a bit vector that includes one or more results of the comparison, and wherein a bit value for an element of the bit vector is set to 1 when the value of the pixel of the input image that aligns with the corresponding predetermined sample of the kernel is greater than the value of the corresponding pixel of the input image that aligns with the center sample.

### Claim 19 (depends on 15)

The non-transitory computer readable program storage medium of claim 15, wherein the input image comprises a plurality of channels, and wherein the intermediate output is one of a plurality of intermediate outputs, and wherein the kernel is one of a plurality of kernels.

### Claim 20 (depends on 19)

The non-transitory computer readable program storage medium of claim 19, wherein each of the plurality of intermediate outputs is determined for each of the plurality of channels of the input image using a corresponding one of the plurality of kernels.
