# US 2023/0388466 A1 · Raw image processing system and method

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

- Number: US 2023/0388466 A1
- Document ID: US20230388466A1
- Status: Published application
- Kind: A1
- Application number: 18/447,178
- Filed: 2023-08-09
- Published: 2023-11-30
- Earliest claimed: 2017-06-15
- Assignees: Blackmagic Design Pty Ltd
- Applicants: Blackmagic Design Pty Ltd
- Inventors: Carsten Buettner
- Web page: https://patentgrep.com/patent/US20230388466A1

## CPC

- H04N 9/78: for separating the brightness signal or the chrominance signal from the colour television signal, e.g. using comb filter
- G06T 3/4015: Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- H04N 9/646: {for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters}
- H04N 23/10: for generating image signals from different wavelengths
- H04N 23/843: {Demosaicing, e.g. interpolating colour pixel values}
- H04N 23/951: by using two or more images to influence resolution, frame rate or aspect ratio
- H04N 2209/046: Colour interpolation to calculate the missing colour values
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Processing raw image data in a camera includes computing a luminance image from the raw image data, and computing a chrominance image corresponding to at least one of the sensor's image colors from the raw image data. The luminance image and chrominance image(s) can represent the same range of colors able to be represented in the raw image data. The chrominance image can have a lower resolution than that of the luminance image. A camera for performing the method is also disclosed.

## Claims

### Claim 1

A method of processing image data, comprising:
receiving image data, the image data comprising raw image data representing an array of pixel values, each of said pixel values representing an intensity of light captured at a corresponding photosite in an array of photosites of an image sensor of a camera that generated the image data, said image sensor having a color filter array comprising red (R), green (G) and blue (B) color filters, such that each pixel value corresponds to a color of the filter at its respective photosite;
generating a luminance image having a first resolution wherein the values (Y) of pixels in the luminance image are a combination of red (R), green (G) and blue (B) pixel values in the proportion of:
Y=(R+2G+B)/4
generating a blue chrominance image wherein a value (CB) of a pixel in the blue chrominance image is calculated by:
CB=(B−Y)/kB
wherein said pixel values in said blue chrominance image are calculated for pixel locations corresponding to blue pixels of the color filter array;
generating a red chrominance image wherein a value (CR) of a pixel in the red chrominance image is calculated by:
CR=(R−Y)/kR
wherein said pixel values in said red chrominance image are calculated for pixel locations corresponding to red pixels of the color filter array; and
wherein kR and kB are chosen to maximize the precision in the data range for CB and CR such that the luminance image, red chrominance image, and blue chrominance image represent the whole color range of the raw image data generated by the image sensor so that the data range of the raw image data has not been limited or clipped.

### Claim 2 (depends on 1)

The method of processing image data of claim 1 wherein values for pixels in each of the luminance image, blue chrominance image, and red chrominance image are generated by applying a respective filter kernel to the raw image data.

### Claim 3 (depends on 2)

The method of processing image data of claim 2 wherein a pixel value for a pixel in the luminance image is generated using a weighted sum of pixel values from said raw image data, wherein the weightings of said weighted sum are determined by the respective filter kernel centered on a position corresponding to the position of said pixel for which the pixel value is to be generated.

### Claim 4 (depends on 3)

The method of claim 3 wherein a pixel value for a pixel in either of the blue or red chrominance images is generated using a weighted sum of pixel values from said raw image data, wherein the weightings of said weighted sum are determined by the respective filter kernel centered on a position corresponding to the position of said pixel for which the pixel value is to be generated.

### Claim 5 (depends on 1)

The method of processing image data of claim 1 wherein the method further comprises demosaicing raw image data generated by the image sensor to generate a plurality of color images, each color image corresponding to a color of a filter in the color filter array, wherein each pixel value of each color image is calculated using a weighted interpolation method irrespective of whether a pixel value of that color was captured at a corresponding photosite of the color filter array.

### Claim 6 (depends on 5)

The method of processing image data of claim 5 wherein generating a color image of a given color includes:
for each given pixel in the color image, performing at least one of edge and line detection on the basis of a plurality of pixels in the raw image data at locations surrounding the given pixel, and
on the basis of said edge or line detection, determining the pixel value for the given pixel.

### Claim 7 (depends on 5)

The method of processing image data of claim 5 wherein determining the pixel value for a given pixel includes selecting a subset of the pixels in the raw image data at locations surrounding the given pixel from which to determine the pixel value.

### Claim 8 (depends on 7)

The method of processing image data of claim 7 wherein determining a pixel value for a given pixel includes applying a weighting to the pixels in a subset of pixels in the raw image data at locations surrounding the given pixel when determining said pixel value.

### Claim 9 (depends on 8)

The method of processing image data of claim 8 wherein the weighting of the pixels in said subset is determined on the basis of a noise level applicable to either the pixel within the subset being weighted or the subset of pixels.

### Claim 10 (depends on 1)

The method of processing image data of claim 1 which further includes compressing at least one of the luminance image and/or any of the chrominance images.

### Claim 11 (depends on 10)

The method of processing image data of claim 10 wherein the luminance image, red chrominance image, and blue chrominance image are compressed together using a common compression algorithm.

### Claim 12 (depends on 11)

The method of processing image data of claim 11 wherein the relative resolutions and spatial alignment of pixels in the luminance image, red chrominance image, and blue chrominance image enables the luminance image, red chrominance image, and blue chrominance image to be treated as YCbCr420 image data in further processing.

### Claim 13 (depends on 1)

The method of processing image data of claim 1 wherein the red chrominance image and blue chrominance image has a resolution of a quarter of that of the luminance image, and the red chrominance image and blue chrominance image each comprise pixel values only corresponding to pixel locations having red and blue filter elements in the color filter array respectively.

### Claim 14

A camera including an image processing system configured to:
receive image data, the image data comprising raw image data representing an array of pixel values, each of said pixel values representing an intensity of light captured at a corresponding photosite in an array of photosites of an image sensor of a camera that generated the image data, said image sensor having a color filter array comprising red (R), green (G) and blue (B) color filters, such that each pixel value corresponds to a color of the filter at its respective photosite;
generate a luminance image having a first resolution wherein the values (Y) of pixels in the luminance image are a combination of red (R), green (G), and blue (B) values in the proportion of:
Y=(R+2G+B)/4
generate a blue chrominance image wherein a value (CB) of a pixel in the blue chrominance image is calculated by:
CB=(B−Y)/kB
wherein said pixel values in said blue chrominance image are calculated for pixel locations corresponding to blue pixels of the color filter array;
generate a red chrominance image wherein a value (CR) of a pixel in the red chrominance image is calculated by:
CR=(R−Y)/kR
wherein said pixel values in said red chrominance image are calculated for pixel locations corresponding to red pixels of the color filter array; and
wherein kR and kB are chosen to maximize the precision in the data range for CB and CR such that the luminance image, red chrominance image, and blue chrominance image represent the whole color range of the raw image data generated by the image sensor so that the data range of the raw image data has not been limited or clipped.

### Claim 15

A method of processing image data, comprising:
receiving image data, the image data comprising raw image data representing an array of pixel values, each of said pixel values representing an intensity of light captured at a corresponding photosite in an array of photosites of an image sensor of a camera that generated the image data, said image sensor having a color filter array comprising filter elements of X colors, such that each pixel value corresponds to a color of the filter element corresponding to its respective photosite;
generating a luminance image having a first resolution; and
generating a plurality of chrominance images, wherein each chrominance image represents a difference between pixels of a given color and the luminance image, and each chrominance image has a resolution of one quarter of that of the luminance image;
wherein pixel values in said chrominance image are calculated for pixel locations corresponding to filter elements only of the given color of the color filter array; and
wherein the luminance image and plurality of chrominance images together represent a whole color range of the raw image data generated by the image sensor so that the data range of the raw image data is not limited or clipped.

### Claim 16 (depends on 15)

A method as claimed in claim 15 wherein the luminance image is generated from pixels of multiple colors.

### Claim 17 (depends on 16)

A method as claimed in claim 16 wherein the plurality of chrominance images includes X-1 chrominance images.

### Claim 18 (depends on 16)

A method as claimed in claim 16 wherein the plurality of chrominance images includes X-2 chrominance images, and the method further includes generating a second luminance image from pixels of one color that primarily carries the luminance information in the image data.

### Claim 19 (depends on 15)

A camera including an image processing system configured to perform the method of claim 15.
