Realtimestagram
Generics | Libraries | Use Clauses
gamma_tb Entity Reference

Description

gamma_tb Testbench for gamma design

Parameters
[in]input_fileInput file used for test, must be plain text pnm file with pixel per line
[in]output_fileOutput file used for test, will be plain text pnm file with pixel per line
[in]gammaAmount of contrast adjustment, see create_gamma_lut for more details.
[in]c_factorAmount of contrast adjustment, see create_gamma_lut for more details.

Libraries

ieee 
test 
common 
 Use the default constants from the project.

Use Clauses

std_logic_1164 
numeric_std 
config_const_pkg  Package <config_const_pkg>
curves_pkg  Package <curves_pkg>
 Use the create_gamma_lut function to generate the lookup table.

Generics

input_file  string := " tst/input/amersfoort_gray.pgm "
output_file  string := " tst/output/gamma_output.pgm "
gamma  real := 0 . 5
c_factor  real := 1 . 0

Member Data Documentation

§ c_factor

c_factor real := 1 . 0
Generic

§ common

common
Library

Use the default constants from the project.

§ config_const_pkg

§ curves_pkg

curves_pkg
Package

Use the create_gamma_lut function to generate the lookup table.

§ gamma

gamma real := 0 . 5
Generic

§ ieee

ieee
Library

§ input_file

input_file string := " tst/input/amersfoort_gray.pgm "
Generic

§ numeric_std

numeric_std
Package

§ output_file

output_file string := " tst/output/gamma_output.pgm "
Generic

§ std_logic_1164

std_logic_1164
Package

§ test

test
Library

§ test_bench_driver


The documentation for this class was generated from the following file: