# US 2023/0276137 A1 · Converting digital image data

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

- Number: US 2023/0276137 A1
- Document ID: US20230276137A1
- Status: Published application
- Kind: A1
- Application number: 18/011,777
- Filed: 2021-06-20
- Published: 2023-08-31
- Earliest claimed: 2020-06-29
- Assignees: ams Sensors Belgium BVBA
- Applicants: ams Sensors Belgium BVBA
- Inventors: Stefaan Margriet Albert VAN HOOGENBEMT
- Web page: https://patentgrep.com/patent/US20230276137A1

## CPC

- H04N 1/4072: {dependent on the contents of the original}
- H04N 23/80: Camera processing pipelines; Components thereof
- G06T 5/20: using local operators
- G06T 5/92: based on global image properties
- H04N 5/20: Circuitry for controlling amplitude response
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 25/78: Readout circuits for addressed sensors, e.g. output amplifiers or A/D converters
- H04N 25/60: Noise processing, e.g. detecting, correcting, reducing or removing noise
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present disclosure relates to a processing arrangement for converting digital image data. Conventional approaches suffer from speed or non-ideal compressing schemes. These drawbacks are overcome by the processing arrangement for determining a digital output value from a digital input value based on a linear function and a square root function. The processing arrangement includes a first calculation block configured to determine a first output value of the linear function, a second calculation block configured to determine a second output value of the square root function. A selector is configured to select, based on a comparison between the digital input value and a threshold value, whether the digital output value is determined by the first calculation block or by the second calculation block.

## Claims

### Claim 1

A processing arrangement for converting digital image data by determining a digital output value from a digital input value based on a linear function and a square root function, the processing arrangement comprising:
a first calculation block configured to determine a first output value of the linear function,
a second calculation block configured to determine a second output value of the square root function, and
a selector configured to select based on a comparison between the digital input value and a threshold value whether the digital output value is determined by the first calculation block or by the second calculation block wherein
the linear function is defined by y1 = A · IN, A being a first factor, and wherein the square root function is defined by
y
2
=
C
⋅
I
N
−
D
−
B
,
C being a second factor, B being a first subtrahend and D being a second subtrahend.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The processing arrangement according to claim 1, wherein a combined function is formed by applying the linear function for digital input values smaller than the threshold value and by applying the square root function for digital input values larger than the threshold value, the combined function being continuous at the threshold value, so that
the first subtrahend is determined by
B
=
C
2
2
⋅
A
−
A
⋅
X
L
I
N
,
the second subtrahend is determined by
D
=
X
L
I
N
−
C
2
4
⋅
A
2
,
and
the second factor is determined by
C
=
Y
M
A
X
−
A
⋅
X
L
I
N
X
M
A
X
−
Y
M
A
X
A
,
where YMAX is a maximum digital output value and XMAX is a maximum digital input value of the processing arrangement.

### Claim 4 (depends on 1)

The processing arrangement according to claim 1, wherein the second calculation block further comprises
at least one left shift operator configured to shift, based on the size of the digital input value, the digital input value and the second subtrahend two-bit-wise to the side of the Most Significant Bit, MSB, and
at least one right shift operator configured to shift a digital intermediate value bit-wise to the side of the Least Significant Bit, LSB.

### Claim 5 (depends on 1)

The processing arrangement according to claim 1, wherein in the second calculation block the second factor comprises a mantissa term and an exponential term and wherein a multiplication of a digital value with the exponential term corresponds to a shift operation of the digital value.

### Claim 6 (depends on 1)

The processing arrangement according to claim 1, wherein the second calculation block further comprises
a noise injection operator configured to add a random value to the LSB-side of a further digital intermediate value, and/or
a rounding operator configured to round a second further digital intermediate value up to a predetermined accuracy, and/or
a clipping operator configured to clip a third further digital intermediate value in case it exceeds the maximum digital output value.

### Claim 7 (depends on 1)

The processing arrangement according to claim 1, wherein the second calculation block further comprises a cascade of circuits, the cascade being configured to determine a digital output word forming the square root of a digital input word, and wherein each circuit within the cascade comprises
a first input for receiving a portion of the digital input word of maximum two bits,
a logic block configured to determine an output bit of the digital output word and a temporary calculation rest based on the portion of the digital input word, and
a first output for forwarding of at least a portion of the digital output word as a temporary calculation result.

### Claim 8 (depends on 7)

The processing arrangement according to claim 7, wherein each circuit except a first circuit and a last circuit within the cascade further comprises
a second input for receiving the temporary calculation rest of a preceding circuit,
a third input for receiving the temporary calculation result from the first output of the preceding circuit, and
a second output for forwarding the temporary calculation rest of the circuit to the second input of a subsequent circuit .

### Claim 9 (depends on 8)

The processing arrangement according to claim 8, wherein the first circuit within the cascade further comprises
a second input for receiving a logical “0” as the temporary calculation rest and
a second output for forwarding the temporary calculation rest of the first circuit to the second input of the subsequent circuit,
and wherein the last circuit within the cascade further comprises
a second input for receiving the temporary calculation rest from the second output of the preceding circuit,
a third input for receiving the temporary calculation result from the first output of the preceding circuit, and wherein
the first output of the last circuit forwards the output word.

### Claim 10 (depends on 1)

The processing arrangement according to claim 1, which is implemented as an integrated circuit, in particular as an application-specific integrated circuit, ASIC.

### Claim 11 (depends on 1)

An image sensor comprising the processing arrangement according to claim 1, the image sensor providing sensor values from a plurality of image pixels, wherein the processing arrangement converts the sensor values, in particular in a serial fashion.

### Claim 12

A calculation method for converting digital image data by determining a digital output value from a digital input value based on a linear function and a square root function, the calculation method comprising:
selecting based on a comparison between the digital input value and a threshold value whether the digital output value is determined by a first output value or a second output value,
determining the first output value of the linear function, and/or
determining a second output value of the square root function by conducting a square root calculation procedure wherein
the linear function is defined by y1 = A · IN, A being a first factor, and wherein the square root function is defined by
y
2
=
C
⋅
I
N
−
D
−
B
,
C being a second factor, B being a first subtrahend and D being a second subtrahend.

### Claim 13

(canceled)

### Claim 14 (depends on 12)

The calculation method according to claim 12, wherein determining the second output value further comprises
shifting, based on the size of the digital input value the digital input value and the second subtrahend two-bit-wise to the side of the Most Significant Bit, MSB,
determining a digital input word INW = IN′ - D′, where IN′ is the shifted digital input value and D′ is the shifted second subtrahend,
determining a digital output word
O
U
T
W
=
I
N
W
by performing the square root calculation procedure,
providing the second factor as a mantissa term and an exponential term,
determining a digital intermediate value by,
I
M
D
1
=
C
_
V
A
L
⋅
O
U
T
W
shifting, based on the size of the digital input value and the exponential term, the digital intermediate value bit-wise to the side of the Least Significant Bit, LSB, and
determining a further digital intermediate value by,
I
M
D
2
=
I
M
D
1
ʹ
−
B
where IMD1′ is the shifted digital intermediate value.

### Claim 15 (depends on 12)

The calculation method according to claim 12, wherein the square root calculation procedure for determining a digital output word from a digital input word further comprises
splitting the digital input word into portions of maximum two bits,
assigning each portion of the digital input word to subsequent calculation steps, starting with the portion on the MSB-side of the digital input word and proceeding with subsequent portions towards the LSB-side, wherein each calculation step comprises
forming a temporary calculation rest by concatenating the respective portion of the calculation step to the temporary calculation rest of a preceding calculation step, if a preceding calculation step is present,
determining an internal calculation error by Y = 4 · R + 1, where R is a temporary calculation result of the preceding calculation step, if a preceding calculation step is present,
comparing the temporary calculation rest with the internal calculation error,
concatenating a logical “1” bit to the temporary result and adjusting the temporary calculation rest by subtracting the internal calculation error, if the internal calculation error is smaller than or equal as the temporary calculation rest,
concatenating a logical “0” bit to the temporary result, if the internal calculation error is larger than the temporary calculation rest.
