# US 2023/0410478 A1 · Label-dependent loss function for discrete ordered regression model

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

- Number: US 2023/0410478 A1
- Document ID: US20230410478A1
- Status: Published application
- Kind: A1
- Application number: 18/035,635
- Filed: 2021-11-08
- Published: 2023-12-21
- Earliest claimed: 2020-11-09
- Assignees: Canon U.S.A., Inc.
- Applicants: Canon U.S.A., Inc.
- Inventors: Xiwu Cao
- Web page: https://patentgrep.com/patent/US20230410478A1

## CPC

- G06T 7/00: Image analysis
- G06V 10/766: using regression, e.g. by projecting features on hyperplanes
- G06V 10/70: using pattern recognition or machine learning (optical pattern recognition or electronic computations therefor G06V10/88)
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/776: Validation; Performance evaluation
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/30168: Image quality inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A processing apparatus is provided that is configured to perform operations including obtaining a plurality of images having been evaluated by different sources such that each source has classified each of the plurality of image as being a member of one of a predefined class, generating a distribution array identifying a number of times each image of the plurality of images has been classified into each of the predefined classes, generating, for each predefined class, a loss function based on the ratio of a number of images in other classes of the predefined classes to a number of images to this predefined classes, providing the generated loss function for each predefined class as evaluation parameters to a model, and using the generated loss function to determine that the model classifies raw image data as being a member of one of the predefined classes according to a predetermined accuracy threshold.

## Claims

### Claim 1

A method comprising
obtaining a plurality of images having been evaluated by different sources such that each source has classified each of the plurality of image as being a member of one of a predefined class;
generating a distribution array identifying a number of times each image of the plurality of images has been classified into each of the predefined classes;
generating, for each predefined class, a loss function based on the ratio of a number of images in other classes of the predefined classes to a number of images to this predefined classes;
providing the generated loss function for each predefined class as evaluation parameters to a model;
using the generated loss function to determine that the model classifies raw image data as being a member of one of the predefined classes according to a predetermined accuracy threshold.

### Claim 2 (depends on 1)

The method according to claim 1, wherein obtaining a plurality of images includes
obtaining a plurality of labeled image sets wherein,
each image set of the plurality of image sets includes common images,
each of the plurality of images in each image set is labeled as being in a particular class selected from a predefined set of classes; and
each image set has been labeled by an evaluator; and
each image could be labeled differently by a different evaluator

### Claim 3 (depends on 1)

The method according to claim 1, further comprising
generating likelihood sets of images corresponding to each of the predefined classes wherein each likelihood set includes all images in the particular class as being classified from the different sources.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the predefined classes represent a degree characterizing an image feature.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the predefined classes hold some uncertainty due to human perception.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the predefined class is sharpness

### Claim 7 (depends on 1)

The method according to claim 1, wherein each of the predefined classes represent a different degree of image sharpness by human perception.

### Claim 8 (depends on 1)

The method according to claim 1, wherein each of the predefined classes represents a metric of human perception and the generated loss function makes the classified raw image data to match the human perception.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising
modifying at least one parameter of the model other than the generated loss function; and
using the updated model with the generated loss function to determine whether the updated model classifies raw image data according to the predetermined accuracy threshold.

### Claim 10

A processing apparatus comprising:
one or more memories storing instructions;
one or more processors that, upon executing the stored instructions; are configured to perform operations including
obtaining a plurality of images having been evaluated by different sources such that each source has classified each of the plurality of image as being a member of one of a predefined class;
generating a distribution array identifying a number of times each image of the plurality of images has been classified into each of the predefined classes;
generating, for each predefined class, a loss function based on the ratio of a number of images in other classes of the predefined classes to a number of images to this predefined classes;
providing the generated loss function for each predefined class as evaluation parameters to a model;
using the generated loss function to determine that the model classifies raw image data as being a member of one of the predefined classes according to a predetermined accuracy threshold.

### Claim 11 (depends on 1)

The processing apparatus according claim 1, wherein the obtained plurality of images include a plurality of labeled image sets wherein,
each image set of the plurality of image sets includes common images,
each of the plurality of images in each image set is labeled as being in a particular class selected from a predefined set of classes; and
each image set has been labeled by an evaluator; and
each image could be labeled differently by a different evaluator.

### Claim 12 (depends on 10)

The processing apparatus according to claim 10, wherein execution of the stored instructions further configures the one or more processors to perform operations including
generating likelihood sets of images corresponding to each of the predefined classes wherein each likelihood set includes all images in the particular class as being classified from the different sources.

### Claim 13 (depends on 10)

The processing apparatus according to claim 10, wherein the predefined classes represent a degree characterizing an image feature.

### Claim 14 (depends on 10)

The processing apparatus according to claim 10, wherein the predefined classes hold some uncertainty due to human perception.

### Claim 15 (depends on 10)

The processing apparatus according to claim 10, wherein the predefined class is sharpness

### Claim 16 (depends on 10)

The processing apparatus according to claim 10, wherein each of the predefined classes represent a different degree of image sharpness by human perception.

### Claim 17 (depends on 10)

The processing apparatus according to claim 10, wherein each of the predefined classes represents a metric of human perception and the generated loss function makes the classified raw image data to match the human perception.

### Claim 18 (depends on 1)

The processing apparatus according to claim 1, wherein execution of the stored instructions further configures the one or more processors to perform operations including
modifying at least one parameter of the model other than the generated loss function; and
using the updated model with the generated loss function to determine whether the updated model classifies raw image data according to the predetermined accuracy threshold.
