User manual

Running the Demonstration
XAPP794 (v1.3) December 20, 2013 www.xilinx.com 27
Configuring the Gamma Correction
The gamma correction IP core is implemented as a look-up table that is applied to all three
color channels. The gamma correction IP core can be adjusted using the GUI controls shown
in Figure 25.
The Gamma Table list box allows the manual gamma correction settings shown in Ta ble 9.
Alternatively, the gamma correction setting can be automatically controlled by one of the
Zynq-7000 SoC processors. Based on the information received from the image statistics IP
core, the processor can calculate a look-up table that makes the most efficient use of the 0–255
values based on the image intensity histogram. The strength slider can be used to adjust the
gamma correction strength applied by the processor.
X-Ref Target - Figure 25
Figure 25: Gamma Correction IP Core Controls
Table 9: Gamma Table Setting
Setting Description
Linear Gamma Correction OFF (linear look-up table)
Compression Table 1/2.2 Gamma Correction ON (gamma = 1/2.2)
Compression Table 1/1.6 Gamma Correction ON (gamma = 1/1.6)
Expansion Table 1.6 Gamma Correction ON (gamma = 1/1.6)
Expansion Table 2.2 Gamma Correction ON (gamma = 1/2.2)
X794_25_110513