# US 8,279,308 B1 · Optimized log encoding of image data

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

- Number: US 8,279,308 B1
- Document ID: US8279308B1
- Status: Granted
- Kind: B1
- Application number: 12/512,846
- Filed: 2009-07-30
- Granted: 2012-10-02
- Earliest claimed: 2009-07-30
- Assignees: Adobe Systems Incorporated
- Inventors: Lars U. Borg
- Web page: https://patentgrep.com/patent/US8279308B1

## CPC

- H04N 5/20: Circuitry for controlling amplitude response
- H04N 23/76: by influencing the image signals
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems and methods (“utility”) for encoding digital linear image data into encoded image data. The utility may be included as part of a digital image capture device, such as a digital camera or a film scanner. The utility may include an encoder module that is operative to encode digital linear image data into encoded data according to an enhanced transfer function. The transfer function includes a linear portion and a logarithmic portion separated by a breakpoint. The transfer function may be continuous and continuously differentiable at the breakpoint. Further, the transfer function may operate to reduce the bit depth of the image data (e.g., from 12 bits to 10 bits, or the like) to provide compression for the image data.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving linear image data from an image data source, the linear image data including a plurality of input values each having a value between a minimum input value and a maximum input value;
generating encoded image data by, for each input value, determining a corresponding output value according to a transfer function, each output value having a value between a minimum output value and a maximum output value; and
storing the encoded image data in a data storage device;
wherein the transfer function includes a linear portion and a logarithmic portion and is continuous at a breakpoint separating the linear portion from the logarithmic portion, the breakpoint calculated as an arithmetic combination of the maximum output value and a function of a ratio of the maximum output value to the maximum input value.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the transfer function is continuously differentiable at the breakpoint.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the output values generated when the input values are less than the breakpoint are equal to their corresponding input value.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
operating the transfer function to generate encoded image data that has a lower bit depth than the linear image data.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the encoded data has a bit depth of 10 bits and the linear image data has a bit depth of 12 bits.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
for an input value that is equal to the maximum input value, generating an output value equal to the maximum output value using the transfer function.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the breakpoint satisfies the equation: breakpoint=−(the maximum output value)/ProductLog(−(the maximum output value)/(the maximum input value*e)).

### Claim 8

A system, comprising:
an image capturing module operative to sense a light image of a scene and to generate digital linear image data that includes a plurality of linear pixel data;
an encoder module operative to receive the digital linear image data and to encode the linear pixel data of the digital linear image data into encoded data according to a transfer function, wherein the transfer function includes a linear portion and a logarithmic portion and is continuous at a breakpoint separating the linear portion from the logarithmic portion, and wherein the breakpoint is calculated as an arithmetic combination of the maximum value of the encoded data and a function of a ratio of the maximum value of the encoded data to the maximum value of the linear pixel data; and
a storage module for storing the encoded data.

### Claim 9 (depends on 8)

The system of claim 8, wherein the transfer function utilized by the encoder module is continuously differentiable at the breakpoint.

### Claim 10 (depends on 8)

The system of claim 8, wherein the linear portion of the transfer function utilized by the encoder module has a slope equal to one.

### Claim 11 (depends on 8)

The system of claim 8, wherein the encoder module is operative to reduce the bit depth of the digital linear image data.

### Claim 12 (depends on 11)

The system of claim 11, further comprising:
a processor communicatively coupled to the imaging capturing module and the storage module;
wherein the encoder module includes instructions executable on the processor.

### Claim 13 (depends on 8)

The system of claim 8, wherein the image capturing module and the encoder module are part of a digital camera.

### Claim 14 (depends on 8)

The system of claim 8, wherein the image capturing module and the encoder module are part of a film scanner.

### Claim 15 (depends on 8)

The system of claim 8, wherein the transfer function utilized by the encoding module is operative to map the maximum value of the pixel data to the maximum value of the encoded data.

### Claim 16 (depends on 8)

The system of claim 8, wherein the breakpoint satisfies the equation: breakpoint=−(the maximum value of the encoded data)/ProductLog(−(the maximum value of the encoded data)/(the maximum value of the linear pixel data*e)).

### Claim 17

A non-transitory computer readable medium for encoding digital linear image data into encoded data, the computer readable medium comprising:
computer readable program code devices configured to cause a computer to receive digital linear image data that includes a plurality of linear pixel data, and
computer readable program code devices configured to cause the computer to determine an output value for each of the plurality of linear pixel data to generate encoded image data, wherein the output values are determined according to a transfer function that includes a linear portion and a logarithmic portion and is continuous at a breakpoint separating the linear portion from the logarithmic portion, and wherein the breakpoint is calculated as an arithmetic combination of the maximum output value and a function of a ratio of the maximum output value to the maximum value of the linear pixel data.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the transfer function is continuously differentiable at the breakpoint.

### Claim 19 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the linear portion of the transfer function has a slope equal to one.

### Claim 20 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the breakpoint satisfies the equation: breakpoint=−(the maximum output value)/ProductLog(−(the maximum output value)/(the maximum value of the linear pixel data*e)).
