# US 2022/0044368 A1 · Methods and devices for gamma correction

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

- Number: US 2022/0044368 A1
- Document ID: US20220044368A1
- Status: Published application
- Kind: A1
- Application number: 17/393,007
- Filed: 2021-08-03
- Published: 2022-02-10
- Earliest claimed: 2020-08-04
- Assignees: Boston Scientific Scimed, Inc.
- Applicants: Boston Scientific Scimed, Inc.
- Inventors: Nathan S. FETTINGER; Matthew PROTAS; Phillip C, DINGMAN; Thomas M. ZAPPIA, JR.; Longquan CHEN
- Web page: https://patentgrep.com/patent/US20220044368A1

## CPC

- A61B 1/05: characterised by the image sensor, e.g. camera, being in the distal end portion
- A61B 1/000095: {for image enhancement}
- A61B 1/00045: {Display arrangement}
- A61B 1/018: for receiving instruments
- A61B 1/045: Control thereof
- A61B 1/0684: {using light emitting diodes [LED]}
- G06T 5/92: based on global image properties
- G06T 7/90: Determination of colour characteristics
- A61B 1/0676: {at distal tip of an endoscope}
- G06T 2207/10024: Color image
- G06T 2207/10068: Endoscopic image
- G06T 2207/30004: Biomedical image processing
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A medical system includes a shaft having a proximal end and a distal end, an imaging device at the distal end of the shaft, and a controller, the controller receives image data comprising pixel data from the imaging device, the pixel data including a plurality of individual pixel values, converts the pixel data from a RGB format to a YCbCr format, and forms adjusted pixel data by applying a gain to the pixel data, wherein the gain is based on a Y value, a Cb value, and a Cr value of the individual pixel values of the converted pixel data.

## Claims

### Claim 1

A medical system, comprising:
a shaft having a proximal end and a distal end;
an imaging device at the distal end of the shaft; and
a controller, wherein the controller is configured to:
receive image data comprising pixel data from the imaging device, the pixel data including a plurality of individual pixel values;
convert the pixel data from a RGB format to a YCbCr format; and
form adjusted pixel data by applying a gain to the pixel data, wherein the gain is based on a Y value, a Cb value, and a Cr value of the individual pixel values of the converted pixel data.

### Claim 2 (depends on 1)

The medical system according to claim 1, wherein the controller is further configured to calculate a magnitude for each pixel value, wherein the magnitude for each pixel value is equal to √(Y2+Cb2+Cr2), and wherein the gain is a function of the magnitude.

### Claim 3 (depends on 2)

The medical system according to claim 2, wherein the gain includes a first gain and a second gain, and the first gain is applied to the Y value, and the second gain is applied to both the Cb value and the Cr value of a corresponding pixel value.

### Claim 4 (depends on 1)

The medical system according to claim 1, further comprising a memory, wherein the memory includes a look up table (LUT) for each of a luminance value and a chroma value.

### Claim 5 (depends on 1)

The medical system according to claim 1, wherein the controller is further configured to convert the adjusted pixel data from the YCbCr format to the RGB format.

### Claim 6 (depends on 5)

The medical system according to claim 5, further comprising a display, and wherein the controller is further configured to generate an image based on the adjusted and converted pixel data.

### Claim 7 (depends on 1)

The medical system according to claim 1, further comprising a light emitting device at the distal end of the shaft.

### Claim 8 (depends on 1)

The medical system according to claim 1, further comprising a user input device configured to receive at least one user input for controlling the medical system.

### Claim 9 (depends on 1)

The medical system according to claim 1, wherein the controller includes a field programmable gate array (FPGA).

### Claim 10 (depends on 1)

The medical system according to claim 1, wherein the medical system further includes a handle, wherein the controller is disposed on or in the handle.

### Claim 11

A method of controlling an imaging device for a medical system, the method comprising:
receiving an image comprising pixel data from an imaging device of the medical system, the pixel data including a plurality of individual pixel values;
converting the pixel data from a RGB format to a second multi-channel color format, the second multi-channel color format having a brightness value and a color value; and
calculating a magnitude for each pixel value, wherein the gain magnitude is based on the brightness value and the color value of each respective pixel;
applying the gain magnitude to adjust the corresponding brightness or the corresponding color for each pixel; and
converting each of the plurality of pixels from the second multi-channel color format to the RGB format.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising applying a different gain to the brightness value than the color value of a corresponding pixel value.

### Claim 13 (depends on 11)

The method according to claim 11, further comprising generating an image on a display of the medical system based on the adjusted and converted pixel data.

### Claim 14 (depends on 11)

The method according to claim 11, wherein applying the gain to each pixel value includes matching the magnitude with a corresponding value in a brightness look up table (LUT) for a corresponding brightness value, and matching the gain magnitude with a corresponding value in a color LUT for a corresponding color value.

### Claim 15 (depends on 11)

The method according to claim 11, wherein the gain magnitude is applied to each of the brightness and the color values for the corresponding pixel.

### Claim 16

A non-transitory computer-readable medium storing instructions that, when executed by a computer, cause the computer to perform a method for processing electronic images from a medical system, the method including:
receiving an image comprising pixel data from an imaging device of the medical system, the pixel data including a plurality of individual pixel values;
converting the pixel data from a RGB format to a YCbCr format; and
calculating a magnitude for each pixel value, wherein the gain magnitude for each pixel is equal to √(Y2+Cb2+Cr2), and wherein the gain magnitude is based on the Y value, the Cb value, and the Cr value of each respective pixel;
applying the gain magnitude to adjust the corresponding luminance or the corresponding chroma for each pixel; and
converting each of the plurality of pixels from the YCbCr format to the RGB format.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, the method further comprising applying a different gain to the Y value than the Cb value and the Cr value of a corresponding pixel value.

### Claim 18 (depends on 16)

The non-transitory computer-readable medium of claim 16, the method further comprising generating an image on a display of the medical system based on the adjusted and converted pixel data.

### Claim 19 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein applying the gain to each pixel value includes matching the magnitude with a corresponding value in a luminance look up table (LUT) for a corresponding Y value, and matching the gain magnitude with a corresponding value in a chroma LUT for a corresponding Cb value and a corresponding Cr value.

### Claim 20 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the gain magnitude is applied to each of the luminance and the chroma values for the corresponding pixel.
