Video and Image Processing Suite User Guide

ID 683416
Date 2/12/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

22.1.2. Grayscale Bars

The grayscale bars test pattern is similar to the color bars test pattern, except that the bars are gray. In this mode, the Test Pattern Generator II IP core produces a test pattern with color bars of all shades of gray, with the brightness decreasing across the screen from left to right.

As with the color bars test pattern, the black border can be optionally enabled around the edge of the bars, and the width of each bar is calculated in the same way.

Table 68.  Color Values for Each Grayscale Bar Pattern in RGB and YCbCr Color SpacesThe table lists the values used for each bar in both RGB and YCbCr color spaces for 8 bits per color sample. If the requested output is not in 8 bits per color sample, the IP core truncates or increases these values accordingly.
Color RGB YCbCr
0 (left) (180, 180, 180) (180, 128, 128)
1 (162, 162, 162) (162, 128, 128)
2 (131, 131, 131) (131, 128, 128)
3 (112, 112, 112) (112, 128, 128)
4 (84, 84, 84) (84, 128, 128)
5 (65, 65, 65) (65, 128, 128)
6 (35, 35, 35) (35, 128, 128)
7 (right) (16, 16, 16) (16, 128, 128)