AE Histogram Statistics with Weights

The AE module provides the 1024-segment histogram statistics. The following table describes the mapping between the addresses and data for reading the histogram statistics of zones 0−1023.

Table 1 AE 1024-segment histogram statistics

Memory Address

Zone

Memory Read Data

[31:29]

[28:0]

0

0

0

Number of pixels whose value is 0

1

1

0

Number of pixels whose value is 1

2

2

0

Number of pixels whose value is 2

3

3

0

Number of pixels whose value is 3

...

1022

1022

0

Number of pixels whose value is 1022

1023

1023

0

Number of pixels whose value is 1023

The AE supports the four-plane mode. In four-plane mode, the AE provides the 4-channel 256-segment histogram statistics (0–255). The following table lists the mapping between the addresses and data for reading the histogram statistics.

Table 2 AE 256-segment histogram statistics

Memory Address

Zone

Memory Read Data

[31:29]

[28:0]

0

0

0

Number of pixels with the value 0 in channel B

1

1

0

Number of pixels with the value 1 in channel B

...

255

255

0

Number of pixels with the value 255 in channel B

256

256

0

Number of pixels with the value 0 in channel Gb

...

511

511

0

Number of pixels with the value 255 in channel Gb

512

512

0

Number of pixels with the value 0 in channel Gr

...

767

767

0

Number of pixels with the value 255 in channel Gr

768

768

0

Number of pixels with the value 0 in channel R

...

1022

1022

0

Number of pixels with the value 254 in channel R

1023

1023

0

Number of pixels with the value 255 in channel R