# US 2020/0007766 A1 · Image processing apparatus, image processing method, and storage medium

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

- Number: US 2020/0007766 A1
- Document ID: US20200007766A1
- Status: Published application
- Kind: A1
- Application number: 16/453,707
- Filed: 2019-06-26
- Published: 2020-01-02
- Earliest claimed: 2018-06-27
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Kohta Haruna
- Web page: https://patentgrep.com/patent/US20200007766A1

## CPC

- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/815: {for controlling the resolution by using a single image}
- H04N 25/42: by switching between different modes of operation using different resolutions or aspect ratios, e.g. switching between interlaced and non-interlaced mode
- H04N 23/55: Optical parts specially adapted for electronic image sensors; Mounting thereof
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image processing apparatus comprises a processor capable of setting a first mode of outputting image data corresponding to a first region of an image sensor including a plurality of pixels, and a second mode of outputting image data corresponding to a second region that is smaller than the first region, and selecting one of a plurality of sizes at least including first, second and third sizes as an output size for image data. The second size is based on the first size, and if the first mode is set, the first, second and third sizes are included as choices of size from which the processor selects, and if the second mode is set, the first and third sizes, excluding the second size, are included as the choices of size.

## Claims

### Claim 1

An image processing apparatus comprising:
a processor capable of setting a first mode of outputting image data corresponding to a first region of an image sensor including a plurality of pixels, and a second mode of outputting image data corresponding to a second region that is smaller than the first region, and selecting one of a plurality of sizes at least including a first size, a second size, and a third size, as an output size for image data,
wherein
if the first mode is set, the first size, the second size, and the third size are included as choices of size from which the processor selects, and if the second mode is set, the first size and the third size, excluding the second size, are included as the choices of size,
if the first mode is set, image data output in a case where the second size is selected is image data that is obtained by reducing a number of pixels, by a first ratio, of image data output in a case where the first size is selected, and image data output in a case where the third size is selected is image data obtained by reducing a number of pixels of image data output in a case where the second size is selected,
if the second mode is set, image data output in a case where the third size is selected is image data obtained by reducing a number of pixels of image data output in a case where the first size is selected,
a number of pixels of image data in a case where the second mode is set and the third size is selected is equal to a number of pixels of image data in a case where the first mode is set and the third size is selected,
the number of pixels of image data in a case where the second mode is set and the first size is selected is smaller than the number of pixels of image data in a case where the first mode is set and the first size is selected,
a number of pixels obtained by reducing, by the first ratio, the number of pixels of image data in a case where the second mode is set and the first size is selected is smaller than a predetermined number of pixels that is based on the number of pixels of image data in a case where the third size is selected, and
the number of pixels of image data in a case where the second mode is set and the first size is selected is greater than or equal to the predetermined number of pixels.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1,
wherein the predetermined number of pixels is one of a value equal to the number of pixels of image data when the third size is selected, a value obtained by multiplying the number of pixels of image data in a case where the third size is selected by a value of 1 or more, and a value obtained by adding a value of 1 or more to the number of pixels of image data when the third size is selected.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1,
wherein the plurality of sizes further include a fourth size, and
if the first mode is set, image data output in a case where the fourth size is selected is reduced image data such that a number of pixels thereof is smaller than that of image data output in a case where the second size is selected, and is greater than that of image data output in a case where the third size is selected.

### Claim 4 (depends on 3)

The image processing apparatus according to claim 3,
wherein, in a case where the first mode is changed to the second mode,
if the second size is selected in the first mode, the processor selects the first size in the second mode, and if the fourth size is selected in the first mode, the processor selects the third size in the second mode.

### Claim 5 (depends on 1)

The image processing apparatus according to claim 1,
wherein the processor selects one of the first mode and the second mode in accordance with a lens used to capture an image.

### Claim 6 (depends on 5)

The image processing apparatus according to claim 5,
wherein the processor sets the second mode if some of effective pixels in the image sensor are not included in an area of an image circle of the lens used to capture an image.

### Claim 7 (depends on 6)

The image processing apparatus according to claim 6,
wherein the processor sets the first mode if all of the effective pixels in the image sensor are included in the area of the image circle of the lens used to capture an image.

### Claim 8 (depends on 5)

The image processing apparatus according to claim 5, further comprising:
the image sensor; and
a lens mount to and from which an interchangeable lens is attached and detached.

### Claim 9 (depends on 8)

The image processing apparatus according to claim 8,
wherein the processor sets the first mode if an image is captured with an interchangeable lens for a full-size sensor attached, and sets the second mode if an image is captured with an interchangeable lens for an APC-S sensor attached.

### Claim 10 (depends on 8)

The image processing apparatus according to claim 8, further comprising:
a readout circuit that reads out image data from each of the plurality of pixels in the image sensor,
wherein the processor converts a size of the read image data based on a set mode that is one of the first mode and the second mode, and on a size selected from the plurality of sizes.

### Claim 11 (depends on 8)

The image processing apparatus according to claim 8,
wherein the processor has a readout circuit that reads out image data from each pixel in an area corresponding to a set mode that is one of the first mode and the second mode, of the plurality of pixels in the image sensor, and
the processor converts a size of the read image data based on a size selected from the plurality of sizes.

### Claim 12

An image processing method comprising:
selecting one of a plurality of sizes at least including a first size, a second size, and a third size, as an output size for image data, while it is possible to set a first mode of reading out image data corresponding to a first region of an image sensor including a plurality of pixels, and a second mode of reading out image data corresponding to a second region that is smaller than the first region,
wherein
if the first mode is set, the first size, the second size, and the third size are included as choices of size from which a size is selected, and if the second mode is set, the first size and the third size, excluding the second size, are included as the choices of size,
if the first mode is set, image data output in a case where the second size is selected is image data that is obtained by reducing a number of pixels, by a first ratio, of image data output in a case where the first size is selected, and image data output in a case where the third size is selected is image data obtained by reducing a number of pixels of image data output in a case where the second size is selected,
if the second mode is set, image data output in a case where the third size is selected is image data obtained by reducing a number of pixels of image data output in a case where the first size is selected,
a number of pixels of image data in a case where the second mode is set and the third size is selected is equal to a number of pixels of image data in a case where the first mode is set and the third size is selected,
the number of pixels of image data in a case where the second mode is set and the first size is selected is smaller than the number of pixels of image data in a case where the first mode is set and the first size is selected,
a number of pixels obtained by reducing, by the first ratio, the number of pixels of image data in a case where the second mode is set and the first size is selected is smaller than a predetermined number of pixels that is based on the number of pixels of image data in a case where the third size is selected, and
the number of pixels of image data in a case where the second mode is set and the first size is selected is greater than or equal to the predetermined number of pixels.

### Claim 13

A non-transitory storage medium readable by a computer, the storage medium storing a program that is executable by the computer, wherein the program includes program code for causing the computer to function as an image processing apparatus comprising:
selecting one of a plurality of sizes at least including a first size, a second size, and a third size, as an output size for image data, while it is possible to set a first mode of reading out image data corresponding to a first region of an image sensor including a plurality of pixels, and a second mode of reading out image data corresponding to a second region that is smaller than the first region,
wherein
if the first mode is set, the first size, the second size, and the third size are included as choices of size from which a size is selected, and if the second mode is set, the first size and the third size, excluding the second size, are included as the choices of size,
if the first mode is set, image data output in a case where the second size is selected is image data that is obtained by reducing a number of pixels, by a first ratio, of image data output in a case where the first size is selected, and image data output in a case where the third size is selected is image data obtained by reducing a number of pixels of image data output in a case where the second size is selected,
if the second mode is set, image data output in a case where the third size is selected is image data obtained by reducing a number of pixels of image data output in a case where the first size is selected,
a number of pixels of image data in a case where the second mode is set and the third size is selected is equal to a number of pixels of image data in a case where the first mode is set and the third size is selected,
the number of pixels of image data in a case where the second mode is set and the first size is selected is smaller than the number of pixels of image data in a case where the first mode is set and the first size is selected,
a number of pixels obtained by reducing, by the first ratio, the number of pixels of image data in a case where the second mode is set and the first size is selected is smaller than a predetermined number of pixels that is based on the number of pixels of image data in a case where the third size is selected, and
the number of pixels of image data in a case where the second mode is set and the first size is selected is greater than or equal to the predetermined number of pixels.
