This section describes how to tune the WriteBack Histogram
feature to dump the histogram data of a DC9400.
Before you begin
Make sure:
- The details view shows the settings of the WriteBack
Histogram feature.
To tune this feature, you need to choose in the Features view. For more
details, see Tuning a DC9400 Feature.
Figure 1. Details View When WriteBack Histogram under WriteBack is
Selected

- A VTunerServer is accessible.
For information about how to set up a connection
to a VTunerServer, see Setting Up a Connection to a VTunerServer.
Procedure
-
Next to Histogram Enable, select
Enable to enable histogram write-back.
-
To the right of Save Path, click
and select the
folder where you want to save the histogram file.
-
From the Histogram Type drop-down list, select the
format of the histogram file.
Currently, only HISTOGRAM(*.hist) is supported.
-
From the Histogram Module drop-down list, select one of
the following options to specify the histogram module to be used:
- Histogram 1, Histogram 2,
or Histogram 3
- RGB Histogram
-
From the Histogram Input Position drop-down list, select
one of the following options to specify the position from which histogram data
is collected:
-
From the Bin Calculated Mode drop-down list, select one
of the following options to specify the bin calculation mode for the
histogram:
- MAX RGB: the histogram calculates the maximum
value among the red, green, and blue components.
- WEIGHT RGB: the histogram calculates a weighted
sum of the red, green, and blue components by using the following formula:
where COEF_R, COEF_G, and COEF_B need to be
specified using the RGB Weight Coef
table.
-
Next to RGB Weight Coef, click View/Edit this
Table and edit the weights COEF_R, COEF_G, and COEF_B in the
prompted dialog.
You can use one of the following methods to update the weights in the
RGB Weight Coef table:
- Double-click and edit a cell in the table to update a single
weight.
- Click Edit and update the weights in the prompted
Edit Table dialog.
The weights must be
specified in the same order as the table columns and separated by a
comma (,).
- Click Export to export the weight data to a
.csv file, edit the file, and then import the
updated weight data from the .csv file.The order of
the weights in the exported .csv file is the same
as that in the table.
-
Next to ROI Rect, click View/Edit this
Table and specify the region of interest (ROI) for the histogram
in the prompted dialog.
The columns in
ROI Rect are described as follows:
- X: the X coordinate of the upper-left corner of
the histogram ROI
- Y: the Y coordinate of the upper-left corner of
the histogram ROI
- Width: the width of the histogram ROI
- Height: the height of the histogram ROI
The methods of updating the histogram ROI are similar to those of updating the
RGB weights described in Step
7.
-
Next to Block Rect, click View/Edit this
Table and specify the blocking region for the histogram in the
prompted dialog.
The columns in the
Block Rect table are described as
follows:
- X: the X coordinate of the upper-left corner of
the blocking region
- Y: the Y coordinate of the upper-left corner of
the blocking region
- Width: the width of the blocking region
- Height: the height of the blocking region
The methods of updating the blocking region are similar to those of updating
the RGB weights described in Step
7.
-
Next to Prot Enable, select
Enable or Disable to control
whether to enable software protection.
-
In the upper-left corner, click the Writeback Histogram
button to dump the histogram to the specified folder.
Results
- The tuning results are printed in the Console view in real
time.
- The DPU result image or histogram is dumped to a file in the folder specified by
Save Path.